About the official site (ahkscript.org)

Discussion about the AutoHotkey Foundation and this website
User avatar
amnesiac
Posts: 186
Joined: 22 Nov 2013, 03:08
Location: Egret Island, China
Contact:

About the official site (ahkscript.org)

23 Jul 2014, 03:55

Excuse me. Can we host it in the github.com?

I think it is convenient to maintain it for the admins. Besides, it's helpful to translate it into other languages for me and lovers from non-English countries. So it would be similar to the ruby's official site (the project is here).
  • At the moment, the ahk help is hosted at github, but it doesn't use it as websever. I can fork it and translate into Chinese but can't push back and see it at the English help's page.
  • The ahkscript.github.io project has been existed but doesn't host the ahkscript.org's contents.
AutoHotkey 学习指南(Beauty of AutoHotkey)
I do not make codes, and only a porter of AutoHotkey: from official to Chinese, from other languages to AutoHotkey, and show AutoHotkey to ordinary users sometimes.
guest3456
Posts: 3463
Joined: 09 Oct 2013, 10:31

Re: About the official site (ahkscript.org)

23 Jul 2014, 09:34

We would still need someplace to host the forums.. how would that work?

User avatar
tank
Posts: 3122
Joined: 28 Sep 2013, 22:15
Location: CarrolltonTX
Contact:

Re: About the official site (ahkscript.org)

23 Jul 2014, 21:27

To be honest I didn't know it was possible. I'm a bit of a github noob maybe I should get into it more
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
Telegram is the best way to reach me
https://t.me/ttnnkkrr
If you have forum suggestions please submit a
Check Out WebWriter
User avatar
amnesiac
Posts: 186
Joined: 22 Nov 2013, 03:08
Location: Egret Island, China
Contact:

Re: About the official site (ahkscript.org)

23 Jul 2014, 22:48

guest3456 wrote:We would still need someplace to host the forums.. how would that work?
Although I saw such website with a separated forum, I don't know how to implement it.
tank wrote:To be honest I didn't know it was possible. I'm a bit of a github noob maybe I should get into it more
I'm pleased that you will think over it. It's easy if you are familiar with GIT.
AutoHotkey 学习指南(Beauty of AutoHotkey)
I do not make codes, and only a porter of AutoHotkey: from official to Chinese, from other languages to AutoHotkey, and show AutoHotkey to ordinary users sometimes.
lexikos
Posts: 9583
Joined: 30 Sep 2013, 04:07
Contact:

Re: About the official site (ahkscript.org)

24 Jul 2014, 01:46

How would the integration of other languages (such as Chinese) work?

FYI,
http://lexikos.github.io/v1/docs/AutoHotkey.htm (not up to date at the moment)
http://lexikos.github.io/v2/docs/AutoHotkey.htm (probably the latest documentation, but incomplete)
User avatar
nnnik
Posts: 4500
Joined: 30 Sep 2013, 01:01
Location: Germany

Re: About the official site (ahkscript.org)

24 Jul 2014, 02:23

At the site we refer to the Docs twice, once at the start page another time at the Commands link.
If clicking these links would detect the browser language and return the link to the helpfile for that language, that'd be great.
The Helpfiles could still be hosted at ahkscript.org.
Recommends AHK Studio
User avatar
amnesiac
Posts: 186
Joined: 22 Nov 2013, 03:08
Location: Egret Island, China
Contact:

Re: About the official site (ahkscript.org)

24 Jul 2014, 06:06

lexikos wrote:How would the integration of other languages (such as Chinese) work?

FYI,
http://lexikos.github.io/v1/docs/AutoHotkey.htm (not up to date at the moment)
http://lexikos.github.io/v2/docs/AutoHotkey.htm (probably the latest documentation, but incomplete)
Adjust the directory structure:
  • Place non-translated files to other dirs, e.g. images.
  • Use one dir hold other files and create other dirs named language code, i.e. en/docs, en/Table of Contents.hhc and so on. So when I have translated them into Chinese, I can push back to zh-cn/.
Maybe I needn't push back to your project and use the method by which v1 and v2 link to other project. What is it?
AutoHotkey 学习指南(Beauty of AutoHotkey)
I do not make codes, and only a porter of AutoHotkey: from official to Chinese, from other languages to AutoHotkey, and show AutoHotkey to ordinary users sometimes.
User avatar
tank
Posts: 3122
Joined: 28 Sep 2013, 22:15
Location: CarrolltonTX
Contact:

Re: About the official site (ahkscript.org)

24 Jul 2014, 17:39

Technically :roll: there is a http item that may most of the time detect the local Accept-Language: en-US,en;q=0.8

I could use this to dynamically point to the proper language link.

thoughts?
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
Telegram is the best way to reach me
https://t.me/ttnnkkrr
If you have forum suggestions please submit a
Check Out WebWriter
User avatar
tank
Posts: 3122
Joined: 28 Sep 2013, 22:15
Location: CarrolltonTX
Contact:

Re: About the official site (ahkscript.org)

24 Jul 2014, 17:59

http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes

Its not terribly difficult to set up the logic and code I would just need the mappings to the correct pages based on the language and default any non matches to english
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
Telegram is the best way to reach me
https://t.me/ttnnkkrr
If you have forum suggestions please submit a
Check Out WebWriter
User avatar
fincs
Posts: 527
Joined: 30 Sep 2013, 14:17
Location: Seville, Spain
Contact:

Re: About the official site (ahkscript.org)

24 Jul 2014, 17:59

Please don't. I extremely hate it when a web page tries to be "smart" and show its content in my native language. I'd rather read it in English, thank you very much. It's even worse if there's no way to change it or if this setting doesn't persist. Even though my browser's default language is set to English (and so my OS/all other software), my v4 IP is still a Spanish IP and many sites love using geolocation. Google, I'm looking at you :roll:

Oh, not to mention that non-English documentation may take a longer time to be updated.
fincs
Windows 11 Pro (Version 22H2) | AMD Ryzen 7 3700X with 32 GB of RAM | AutoHotkey v2.0.0 + v1.1.36.02
Get SciTE4AutoHotkey v3.1.0 - [My project list]
User avatar
tank
Posts: 3122
Joined: 28 Sep 2013, 22:15
Location: CarrolltonTX
Contact:

Re: About the official site (ahkscript.org)

24 Jul 2014, 18:12

not based on IP
its based entirely on your browser settings
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
Telegram is the best way to reach me
https://t.me/ttnnkkrr
If you have forum suggestions please submit a
Check Out WebWriter
User avatar
tank
Posts: 3122
Joined: 28 Sep 2013, 22:15
Location: CarrolltonTX
Contact:

Re: About the official site (ahkscript.org)

24 Jul 2014, 18:17

any way I am just bringing up the information that is available
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
Telegram is the best way to reach me
https://t.me/ttnnkkrr
If you have forum suggestions please submit a
Check Out WebWriter
User avatar
amnesiac
Posts: 186
Joined: 22 Nov 2013, 03:08
Location: Egret Island, China
Contact:

Re: About the official site (ahkscript.org)

24 Jul 2014, 19:19

fincs wrote:Please don't. I extremely hate it when a web page tries to be "smart" and show its content in my native language. I'd rather read it in English, thank you very much. It's even worse if there's no way to change it or if this setting doesn't persist. Even though my browser's default language is set to English (and so my OS/all other software), my v4 IP is still a Spanish IP and many sites love using geolocation. Google, I'm looking at you :roll:
Well, I'm just for promoting the internationalization of the official site. As tank said, you would see the English page if your browser UI is in English. Moreover, you could visit the special language's page with the special link, e.g. https://www.ruby-lang.org/en/ for English. Of cource you could also switch to it in the main page.
fincs wrote:Oh, not to mention that non-English documentation may take a longer time to be updated.
The German help is updated immediately, and the Chinese is also updated quickly (I notice that many Chinese would use old Chinese help instead of the latest help in English). I hope there will be many documentations for more languages.

PS: If there were promotion ambassadors for AutoHotkey, I hope I would be one. haha
User avatar
amnesiac
Posts: 186
Joined: 22 Nov 2013, 03:08
Location: Egret Island, China
Contact:

Re: About the official site (ahkscript.org)

24 Jul 2014, 19:35

tank wrote:http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes

Its not terribly difficult to set up the logic and code I would just need the mappings to the correct pages based on the language and default any non matches to english
I wish I could know the update for the site in time and get it's new contents conveniently, so recommend the github. Besides I also think over the collaboration about translating these. This will be long-term, so it can last as long as someone would be willing to do it.
User avatar
joedf
Posts: 8953
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

Re: About the official site (ahkscript.org)

24 Jul 2014, 20:20

AutoHotkey Ambassadors you say?
Cool! ;)
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
lexikos
Posts: 9583
Joined: 30 Sep 2013, 04:07
Contact:

Re: About the official site (ahkscript.org)

24 Jul 2014, 20:55

amnesiac wrote:I wish I could know the update for the site in time and get it's new contents conveniently, so recommend the github.
If you watch AutoHotkey_L-Docs you will see any updates the moment they are available, possibly even before I upload them to ahkscript.org.

Can ahkscript.org/en/docs/ and ahkscript.org/cn/docs/ (or whatever) simply point to different GitHub hosted pages? If so, our 'ambassadors' can update their documentation directly. (Actually, I'm not opposed to moving the documentation to the ahkscript.org organization on GitHub and allowing others to maintain it.)
User avatar
tank
Posts: 3122
Joined: 28 Sep 2013, 22:15
Location: CarrolltonTX
Contact:

Re: About the official site (ahkscript.org)

24 Jul 2014, 21:05

lexikos wrote:Can ahkscript.org/en/docs/ and ahkscript.org/cn/docs/ (or whatever) simply point to different GitHub hosted pages? If so, our 'ambassadors' can update their documentation directly. (Actually, I'm not opposed to moving the documentation to the ahkscript.org organization on GitHub and allowing others to maintain it.)
I like it
Any other thoughts maybe some mini flags to set lang pref in a cookie and use the header for default in absense of cookie choice?
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
Telegram is the best way to reach me
https://t.me/ttnnkkrr
If you have forum suggestions please submit a
Check Out WebWriter
User avatar
amnesiac
Posts: 186
Joined: 22 Nov 2013, 03:08
Location: Egret Island, China
Contact:

Re: About the official site (ahkscript.org)

24 Jul 2014, 22:04

lexikos wrote:
amnesiac wrote:I wish I could know the update for the site in time and get it's new contents conveniently, so recommend the github.
If you watch AutoHotkey_L-Docs you will see any updates the moment they are available, possibly even before I upload them to ahkscript.org.
I know that and did it. Here what I mean is mainly for the whole site.
lexikos wrote:Can ahkscript.org/en/docs/ and ahkscript.org/cn/docs/ (or whatever) simply point to different GitHub hosted pages? If so, our 'ambassadors' can update their documentation directly. (Actually, I'm not opposed to moving the documentation to the ahkscript.org organization on GitHub and allowing others to maintain it.)
I don't know whether it works if we use the domain name followed some subpaths. Maybe we can use another method with the subdomain name, i.e. en.ahkscript.org, cn.ahkscript.org... So they can point to different projects and works the same as you expected.
User avatar
tank
Posts: 3122
Joined: 28 Sep 2013, 22:15
Location: CarrolltonTX
Contact:

Re: About the official site (ahkscript.org)

25 Jul 2014, 07:25

Yea I understood you meant homepage and download pages etc as well.
Much as lexikos works on ahk functionality that interest him. This topic interests me.

I very much want to find a solution that doesn't offend folks like fincs but offers community input and language support. AND from a code perspective its not difficult. Give me saturday to consider all of this feedback, and work out the detail.

Currently and it may not be known but the forum faq is hosted at github. The forum does a live grab of that content when the page is requested.

Point is we can do this quite seamlesly.
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
Telegram is the best way to reach me
https://t.me/ttnnkkrr
If you have forum suggestions please submit a
Check Out WebWriter
User avatar
amnesiac
Posts: 186
Joined: 22 Nov 2013, 03:08
Location: Egret Island, China
Contact:

Re: About the official site (ahkscript.org)

25 Jul 2014, 19:57

tank, we could use the following method maybe.
  • www.ahkscript.org (ahkscript.org points here), jump to proper language's page based on the brower's language of a visitor automatically.
  • en.ahkscript.org: the English pages, hosted at the github and use own domain name. Other ambassadors can translate from this project. The main page contains all links to all language's main page (including English page's link).
  • cn.ahkscript.org: the translated Chinese pages, point to the github project selected by Chinese translators.
  • ...
  • forum.ahkscript.org: this forum, hosted at current room.
For the documents, let en.ahkscript.org/docs refer to AutoHotkey_L-Docs by git submodule.

Is it seamless?

Return to “About This Community”

Who is online

Users browsing this forum: No registered users and 124 guests