... | @@ -7,7 +7,8 @@ While we are working on adding MathJax to TranslateWiki and Transifex, here's a |
... | @@ -7,7 +7,8 @@ While we are working on adding MathJax to TranslateWiki and Transifex, here's a |
|
* In particular,
|
|
* In particular,
|
|
* rename `en.js` to `xx.js`
|
|
* rename `en.js` to `xx.js`
|
|
* watch out for `en` in the first and last lines of code in each file -- otherwise things won't load properly.
|
|
* watch out for `en` in the first and last lines of code in each file -- otherwise things won't load properly.
|
|
* In `xx.js` change the `plural: function` to match the plural rules of the language `xx`.
|
|
* In `xx.js` change the `plural: function` to match the plural rules of the language `xx`. See the [CLDR Language Plural Rules](http://www.unicode.org/cldr/charts/supplemental/language_plural_rules.html).
|
|
|
|
* If necessary, you may also change the `number: function` to match the writing convention of numbers of the language `xx`. For example German and French use a comma instead of a dot.
|
|
* Translate the strings in all files.
|
|
* Translate the strings in all files.
|
|
* Test the translation.
|
|
* Test the translation.
|
|
* Create a pull request to our repository so that we can review your code.
|
|
* Create a pull request to our repository so that we can review your code.
|
... | | ... | |