Translation needed
Tim Starling <[email protected]>
| Newsgroups | gmane.science.linguistics.wikipedia.international |
|---|---|
| Message-ID | <[email protected]> |
There's a few cool new features in the development branch, but to get
them working everywhere, we're going to need a few text messages
translated.
One new feature is the ability to localise "magic words" such as
"#REDIRECT". Specifically, each language file needs to have a section
like this:
/* private */ $wgMagicWordsEn = array(
# ID CASE SYNONYMS
MAG_REDIRECT => array( 0, "#redirect", "#redirección"),
MAG_NOTOC => array( 0, "__NOTOC__" ),
MAG_NOEDITSECTION => array( 0, "__NOEDITSECTION__" ),
MAG_START => array( 0, "__START__" ),
MAG_CURRENTMONTH => array( 1, "{{CURRENTMONTH}}" ),
MAG_CURRENTMONTHNAME => array( 1, "{{CURRENTMONTHNAME}}" ),
MAG_CURRENTDAY => array( 1, "{{CURRENTDAY}}" ),
MAG_CURRENTDAYNAME => array( 1, "{{CURRENTDAYNAME}}" ),
MAG_CURRENTYEAR => array( 1, "{{CURRENTYEAR}}" ),
MAG_CURRENTTIME => array( 1, "{{CURRENTTIME}}" ),
MAG_NUMBEROFARTICLES => array( 1, "{{NUMBEROFARTICLES}}" ),
MAG_CURRENTMONTHNAMEGEN => array( 1, "{{CURRENTMONTHNAMEGEN}}"),
MAG_MSG => array( 1, "{{MSG:$1}}" ),
MAG_SUBST => array( 1, "{{SUBST:$1}}" ),
MAG_MSGNW => array( 1, "{{MSGNW:$1}}" )
);
NOTOC is short for "no table of contents". MSG is short for "message".
SUBST is short for "substitute" (the verb). MSGNW is short for "message
with <nowiki> tags" (although that's not what it does anymore).
Each language file should keep the English words as synonyms, that way
we don't have to convert existing pages, and editing is easier for
people who are familiar with other language wikis.
The other messages which need translation are listed at:
http://meta.wikipedia.org/wiki/Untranslated_messages
That page contains the output of checktrans2.php, which lists all
untranslated messages for all the languages.
As usual, translation can be perfomed by downloading a language file from:
http://cvs.sourceforge.net/viewcvs.py/wikipedia/phase3/languages/
If you have CVS access, you can commit your changes directly. Otherwise,
post the updated file here, or on meta.
-- Tim Starling.