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.