|
|
|
While we are working on adding MathJax to TranslateWiki and Transifex, here's a quick guide to help you translate MathJax directly here on github.
|
|
|
|
|
|
|
|
* Figure out the [language code]( https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) -- let's call this `xx`.
|
|
|
|
* Fork [the MathJax repository](https://github.com/mathjax/MathJax)
|
|
|
|
* Copy `/unpacked/localization/en/` to `/unpacked/localization/xx`
|
|
|
|
* Replace all `en`s with `xx`s in all files contained in this folder.
|
|
|
|
* In particular,
|
|
|
|
* 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.
|
|
|
|
* In `xx.js` change the `plural: function` to match the plural rules of the language `xx`.
|
|
|
|
* Translate the strings in all files.
|
|
|
|
* Test the translation.
|
|
|
|
* Create a pull request to our repository so that we can review your code.
|
|
|
|
* Get a big **Thank you! You're awesome** from the MathJax team!
|
|
|
|
|
|
|
|
If you have any questions, contact us on the issue tracker or the [mathjax developer list](https://groups.google.com/forum/#!forum/mathjax-dev). |
|
|
|
\ No newline at end of file |