Yes I know, but editing the language file is an hard job, actually I'm translating Wikipedia's GUI through MediaWiki:Allmessages; there you can't change the namespace, so I wonder if there is a way to change it through the web thanks
For namespace there is only the hard way -> php file, but you can just translate the namespace part and the rest trans. through MediaWiki. And frankly it isn't that hard ;)
On 6/6/05, A. Decorte klenje@adriacom.it wrote:
Yes I know, but editing the language file is an hard job, actually I'm translating Wikipedia's GUI through MediaWiki:Allmessages; there you can't change the namespace, so I wonder if there is a way to change it through the web thanks
Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
Pavol Cupka <pavol.cupka <at> gmail.com> writes:
For namespace there is only the hard way -> php file, but you can just translate the namespace part and the rest trans. through MediaWiki. And frankly it isn't that hard ;)
Ok, so I'll try the 'hard way'. Can I just take an existent language file (for example French, since it uses the same characters of Friulian) and change inside it the lang code? Is this enough? Thanks
On 08/06/05, A. Decorte klenje@adriacom.it wrote:
Ok, so I'll try the 'hard way'. Can I just take an existent language file (for example French, since it uses the same characters of Friulian) and change inside it the lang code? Is this enough? Thanks
Yes. Note that once you've done some translating in the web interface you can click the "PHP" link at the top of Special:Allmessages and copy and paste that into the appropriate bit of your LanguageXx.php file.
Note also that there's a hack in the LanguageFr.php file that you probably don't need - so if you copy that one, search for and delete the following lines: if( 0 == strcasecmp( "Wikipedia", $text ) ) return 4; if( 0 == strcasecmp( "Discussion_Wikipedia", $text ) ) return 5; [Note to anyone with CVS access - these need removing from LanguageOc.php, and probably the CVS copy of LanguageFr.php itself]
The advantage of creating an up-to-date and "clean" php file like this is that you can then put it in CVS and anyone else who happens to want a wiki in Friulian will be able to use it.
wikitech-l@lists.wikimedia.org