On 12/29/2010 03:11 PM, Mike Połtyn wrote:
I've had an epiphany today about internationalization of the Toolserver tools.
You see, right now we have to create our own ways to provide more languages:
- http://toolserver.org/~holek/cite-gen/index.php?scriptlang=gsw
- http://toolserver.org/~soxred93/pcount/index.php?uselang=ckb
etc. etc.
What I propose is language subdomains, much like Wikimedia projects have. All language subdomains would refer to the same directories, so we could just do Apache's ServerAlias equivalent on ZWS.
This would make possible for developers to read the language user wants directly from the subdomain, instead of relying on seperate tool implementation of translations.
And by that, I mean just using different parameters to describe user's desired language, not how to achieve this. So, for example, above links would look like this:
Hmm, that could indeed work. Of course, 5 minutes after it's enabled, someone will file a bug report saying that it doesn't work, because when they go to gsw.toolserver.org, all (99.9%) of the content is still in English. :) But I guess that's not really a serious obstacle, just a minor but inevitable side effect.