Onur Volkan HATEM | 2 Nov 09:09 2003
Picon

Creating a new language: Turkish (Türkçe)

Hi,

http://tr.wikipedia.org exist but it is not maintained by
anybody. 

I started to translate the locale (LanguageTr.php) however
I have questions:

-How can I test the new locale?
-How can I install it?
-What is the policy to get sys admin privileges for a new
language?

Thanks in advance

-volkan

__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/
Onur Volkan HATEM | 2 Nov 10:20 2003
Picon

Localization questions

Hi,

I hope this question is not off topic. If so, which forum is
appropriate?

I want to translate special tags like:

Special:Userlogin

I saw that in german page "Spezial:..." is used instead of
"Special:..."

How can I do this? 

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

Thanks

-volkan

__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/
Brion Vibber | 2 Nov 10:45 2003
Picon

Re: Localization questions

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 
(Continue reading)

Onur Volkan HATEM | 2 Nov 11:16 2003
Picon

Re: Localization questions

Brion,

Thanks. Your reply was helpful.

--- Brion Vibber <brion@...> wrote:
> 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. 

Since I can't tell which ones are not needed I'll not remove
anything and translate all strings even if some of them will 
not be used.

> The date format option is only used for English. 

Do you mean it will not even appear in the preferences menu
for the new language or it will appear but will not have
any afect?

> 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.

How about the single quote character? Should it also have a backslash
before it?

> 
(Continue reading)

Brion Vibber | 2 Nov 12:34 2003
Picon

Re: Localization questions

On Nov 2, 2003, at 02:16, Onur Volkan HATEM wrote:
>> The date format option is only used for English.
>
> Do you mean it will not even appear in the preferences menu
> for the new language or it will appear but will not have
> any afect?

It is completely disabled by default, not appearing in the preferences 
and not used. It was explicitly designed to deal with complaints about 
differences in date format between the United States and elsewhere in 
the English-speaking world and is thus enabled and used only on the 
English-language wikipedia for which it was designed.

> How about the single quote character? Should it also have a backslash
> before it?

Just double-quote, single doesn't need it.

Let me know if you have any trouble; also note that it is possible to 
install a partially-completed translation, so if need be it doesn't all 
have to get done at once.

-- brion vibber (brion  <at>  pobox.com)
Tim Starling | 2 Nov 15:52 2003
Picon

Re: Localization questions

Brion Vibber wrote:
> On Nov 2, 2003, at 00:09, Onur Volkan HATEM wrote:
>> -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.

Actually my new script checktrans2.php will work without a proper local 
copy. You just need a MediaWiki snapshot, and PHP itself. Run it like this:

cd maintenance
php checktrans2.php ../languages/LanguageTr.php

If there are syntax errors, it will tell you the line number plus 
approximately 1254. In other words, if you subtract 1254 from the line 
number, that should tell you approximately the line number in your file 
where the error is.

It basically works by chopping off the end of the file starting with the 
class definition, filtering out include lines and "<?" tags, 
concatenating Language.php and the target, then eval()ing the result.

-- Tim Starling.
Onur Volkan HATEM | 2 Nov 22:08 2003
Picon

Re: Re: Localization questions

--- Tim Starling <ts4294967296@...> wrote:
> Actually my new script checktrans2.php will work without a 
> proper local  copy. 

Tim, thank you. I will try it.

I have another question. While translating the LanguageEn.php
I came across:

unsuccessful searches are often caused by searching for 
common words like "have" and "from", which are not indexed, 
or by specifying more than one search term (only pages
containing all of the search terms will appear in the result).

Can we define that kind of words for Turkish? 

I know that right now full text search is disabled for wikipedia
but...

-volkan

__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/
Andre Engels | 3 Nov 13:00 2003
Picon

Re: Re: Localization questions

On Sun, 2 Nov 2003, Onur Volkan HATEM wrote:

> --- Tim Starling <ts4294967296@...> wrote:
> > Actually my new script checktrans2.php will work without a
> > proper local  copy.
>
> Tim, thank you. I will try it.
>
> I have another question. While translating the LanguageEn.php
> I came across:
>
> unsuccessful searches are often caused by searching for
> common words like "have" and "from", which are not indexed,
> or by specifying more than one search term (only pages
> containing all of the search terms will appear in the result).
>
> Can we define that kind of words for Turkish?

There are two categories of such words:
* A list of English words, which can be found at http://en.wikipedia.org/wiki/Wikipedia%3ACommon_words%2C_searching_for_which_is_not_possible
* Any word occurring on more than half of all Turkish Wikipedia pages.

At least that's what I understood...

Andre Engels
Peter Gervai | 4 Nov 00:42 2003
Picon

Re: Localization questions

On Sun, Nov 02, 2003 at 01:45:13AM -0800, Brion Vibber wrote:

> >-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 

I drop a note here, LanguageHU.php was updated.
Jimmy Wales | 4 Nov 18:59 2003

European domains

An anonymous contributor has donated 200 EUR for European domains.

Normally I register via register.com, because I have been happy with
their 'automatic renewal' service, but with this wikipedia.de fiasco,
obviously that isn't a good enough reason.

So, I'm looking for advice on:

1.  Cheap places to register the domains

2.  Which domains we ought to register.  Presumably we should
prioritize in order of popularity somehow?

Possibly some other eager patron would like to subsidize the purchase
of domains for another region of the world?  (Pacific rim?)

--Jimbo

Gmane