Adding MathJax

Adding MathJax

Edited by another user.
Last edit: 18:53, 21 July 2013

As mentioned at https://bugzilla.wikimedia.org/show_bug.cgi?id=35038 and https://github.com/mathjax/MathJax/issues/493, Wikipedia and MathJax developers would like to ask for the support from the translatewiki.net community.

Pkra (talk)17:11, 10 June 2013

As far as I can tell, the localisation format of MathJax is not supported by the Translate extension. An FFS should be created to make it possible, or the a supported localisation format should be adopted.

Siebrand13:38, 2 July 2013

Sorry, I was not following this thread and I thought you'd comment on the MathJax issue tracker. As indicated there, Peter gave you commit access to the following repository:

https://github.com/mathjax/MathJax-i18n

which contains localization data that should be supported by TranslateWiki:

https://github.com/mathjax/MathJax-i18n/tree/master/JSON

(the only thing I was not sure is about the new lines "\n", but I was told it is not a problem)

The repository contains Python scripts to convert to/from the MathJax format.

Fred (talk)05:37, 18 July 2013
 

@Siebrand, have you had a chance to look at the json format yet?

Pkra (talk)15:03, 30 July 2013

I've just taken a look at https://github.com/mathjax/MathJax-i18n/tree/master/JSON. It looks like this file format it supported. You'll be getting an additional entry with author information, like this: https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FUniversalLanguageSelector.git/HEAD/i18n%2Fde.json

Siebrand17:41, 1 August 2013

OK, I've updated the JSON file last week to add this @metadata field. Please let us know what the next step is.

Fred (talk)16:42, 5 August 2013

I've asked Nikerabbit and from his answer it seems that, based on Siebrand's comment above, you don't need to do anything more about the format, but he was not able to tell me what the next step is.

Nemo (talk)09:22, 1 September 2013

Any news on this? It's a bit strange to hear that everything is ok on our end yet nothing moves forward. If it's not possible (in general or in the next few weeks/months) that's unfortunate but ok -- we can look into alternatives. Just tell us something reliable. Thanks.

Pkra (talk)02:29, 18 September 2013

Commit that implements this: https://gerrit.wikimedia.org/r/85258

Example stats on testing site: [1]

First commit will be big as it changes the formatting slightly

Next steps:

  • Siebrand should review and apply the commit
  • Logo uploaded to Wikimedia Commons or here
  • few sentence description for translators
  • project page
  • announce
Nike (talk)18:58, 20 September 2013

I have imported the new JSON data to MathJax-i18n. MathJax requires additional data that are currently specified in a separate config file:

https://github.com/mathjax/MathJax-i18n/blob/master/config.js#L22

Especially, menuTitle is the name of the language written in that language (e.g. Deutsch). I'm assuming it would make sense to add this as a new string in the main file (e.g. de.js) so that localizers can translate it directly.

Or perhaps for this and the other config (plural, direction etc), we can use the @metadata field to share the info?

At the moment, that requires a bit of manual work each time we add a new language. Of course, this could also just be done directly on MathJax-i18n, by the MediaWiki folks.

Fred (talk)07:09, 26 September 2013

The list of autonyms is available from many sources like CLDR, or ULS [1] [2]

Nike (talk)07:22, 26 September 2013

Thanks, we should be able to use that.

Fred (talk)07:50, 26 September 2013
 
Edited by another user.
Last edit: 11:42, 26 September 2013
Fred (talk)07:50, 26 September 2013
 

Fred, I've added you as point of contact on Translating:MathJax. This means you're considered responsible of addressing translators' support requests on the talk page (which are also tracked via {{support}} on several venues including your user page, with a feed for it). If you can't do this, just replace your name with the name of someone who agreed to do it. Thanks.

Nemo (talk)21:29, 3 October 2013
 
Edited by author.
Last edit: 12:10, 26 September 2013

Something is not quite right: bugzilla:5038#c55bugzilla:35038#c55.

Helder11:44, 26 September 2013

I'm guessing you meant https://bugzilla.wikimedia.org/show_bug.cgi?id=35038#c55. But this is now fixed.

Fred (talk)12:04, 26 September 2013

Indeed. Thanks!

Helder12:10, 26 September 2013