Re: Localization questions

Brion Vibber <[email protected]>
Newsgroups gmane.science.linguistics.wikipedia.international
Message-ID <[email protected]>
On Nov 2, 2003, at 00:09, Onur Volkan HATEM wrote:
> Hi,
>
> http://tr.wikipedia.org exist but it is not maintained by
> anybody.
>
> I started to translate the locale (LanguageTr.php)

Cool!

As a reminder, the base Language.php contains a lot of stuff that isn't 
needed in specific language files. Most of the code at the bottom is 
inherited or unused for other languages. The date format option is only 
used for English. The language name list is supposed to contain only 
native names of languages (please help fill in any you know that we 
don't have yet) and should not be translated or included in other 
language files. Take a look at some of the other languages for 
comparison.

And just a technical note: it's very common to have problems with 
missing commas and unbalanced quotation marks: a double-quote character 
(") inside a quoted string needs to have a backslash (\) before it 
(\"). Just keep an eye out for them.

>  however
> I have questions:
>
> -How can I test the new locale?

So far there's not an easy to do this except to run your own local copy 
of the wiki software, sorry.

> -How can I install it?

Generally: post a copy to this list or on meta.wikipedia.org and drop a 
note here. I (or hypothetically another developer) will test it and 
make any necessary code tweaks, then add it to the CVS repository and 
install it on the server.

> -What is the policy to get sys admin privileges for a new
> language?

It's not all that formal; generally just list people in:
http://meta.wikipedia.org/wiki/User:Brion_VIBBER/Todo_list#Sysops

On Nov 2, 2003, at 01:20, Onur Volkan HATEM wrote:
> I saw that in german page "Spezial:..." is used instead of
> "Special:..."
>
> How can I do this?

In the localization files, you'll see at the top an array for 
'namespaces'. Change "Special" to the appropriate word there. Change 
any hardcoded references there may be in the other strings too.

> Can I also override the tags following "Special:" prefix?

So far no, the names are hardcoded to the names of functions.

-- brion vibber (brion @ pobox.com)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.