MathJax v2.2 beta is now available.

54 views
Skip to first unread message

Peter Krautzberger

unread,
May 3, 2013, 6:44:36 PM5/3/13
to mathja...@googlegroups.com, mathj...@googlegroups.com
Hi everyone,

We are entering the public beta for MathJax v2.2. 

There's a copy of MathJax available through the CDN at http://cdn.mathjax.org/mathjax/2.2-beta/MathJax.js or as a zip file at https://github.com/mathjax/MathJax/archive/v2.2-beta.zip.

To read the full announcement, please visit http://www.mathjax.org/mathjax-v2-2-beta-now-available/.

The MathJax team.

Peter Krautzberger

unread,
May 6, 2013, 12:34:06 PM5/6/13
to mathja...@googlegroups.com, mathj...@googlegroups.com
We're currently talking to the TranslateWiki folks to get us hosted there. If you can't wait, you could check out our source https://github.com/mathjax/MathJax/tree/v2.2-beta/unpacked/localization/en The EN locale includes explanatory comments but feel free to follow up on this. Once you're done, you could make a pull request on github.

Hope this helps to get you started.
Peter.


On Mon, May 6, 2013 at 9:23 AM, <huudien...@gmail.com> wrote:
Hello, 

First of all many thanks to the MathJax team, you have done a great work!

I would like to translate MathJax 2.2 into Vietnamese. What is the translation process please?

Khue Le.
--
You received this message because you are subscribed to the Google Groups "MathJax Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mathjax-user...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.
 
 

Davide P. Cervone

unread,
May 6, 2013, 1:10:15 PM5/6/13
to mathj...@googlegroups.com
Fantastic! Thanks for the offer. As Peter mentions, we are still easy in the process of localizing MathJax, and not all the tools are in place. In the future, things will be a little easier for translators, but currently it can be done by copying the English files, making a few modifications, and translating the English strings.

Here are the steps needed at the moment:

1. Copy the MathJax/localization/en directory to your new language (MathJax/localization/vi in your case).

2. Rename the en.js file to vi.js

3. Edit all the files to replace "en" by "vi" in
a. the comment at the top of the file,
b. the addTranslation() call at the top of the file,
c. the loadComplete() call at the bottom of the file.

4. In vi.js,
a. Change menuTitle to be the proper name for your language. (Tiếng Việt?)
b. Edit the plural and number functions to return the correct values for Vietnamese. For number(), it should format a decimal number properly for your language (e.g., for European languages, the decimal place is represented by a comma, so the function replaces . by , for those languages. The plural() function is more complicated, but I don't think plural forms are sued in any of the messages at the moment, so you can ignore it for now.

5. Translate the English strings to Vietnamese strings. Save your data using UTF-8 encoding, if possible (we will handle converting that to the unicode character references needed by MathJax for general use, but staying with UTF-8 will help you in your editing).

6. Issue a pull request to get your translation included in MathJax.

I will send you a file that you can use to test your translation data. You ask about the copyright; for now, please leave the statement as is. You can add your own translator comments following that if you wish. We haven't yet formalized what translator data we will be requesting, but a name and a date would be great.

Thanks for your willingness to help out!

Davide

Jak Wings

unread,
Jul 24, 2013, 5:04:56 PM7/24/13
to mathj...@googlegroups.com
Chinese characters can be divided to Simplified Chinese and Traditional Chinese, but there is only one ISO-639-1 code for Chinese, namely "zh". :-( How to deal with it?

Peter Krautzberger

unread,
Jul 24, 2013, 7:03:51 PM7/24/13
to mathj...@googlegroups.com
You can use IETF language tags for now; we'll make this more permanent in the next release. Check out the new mathajx-i18n repository https://github.com/mathjax/MathJax-i18n

Peter.


--
You received this message because you are subscribed to the Google Groups "MathJax Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mathjax-dev...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages