New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Brazilian Portuguese translations to MathJax #491
Comments
Yeah, I'll do it. For future reference, you should start from the version in side the 'unpacked' directory. MathJax has both compiled files and source code in their git repo. The source code is in 'unpacked'. I think the best approach is to submit it for both pt and pt-br, since they don't have language fallback yet (issue #492). |
Thank you! |
@mattflaschen @helder-git Thank you very much for your contribution! And apologies that's the interface for contributing new languages is still not completely ready yet... I've created a new branch issue491 that essentially includes your changes with the following modifications:
Please confirm if everything is still fine. @dpvc Can you please have a look at the changes to MathJax.Localization, especially to the remap / getLocale code? => Ready For review |
I tested pt, pt-br, and a couple others, and it seems fine. The \u escapes do make the source less readable, but I assume you're doing this for compatibility with mis-configured servers or something. It shouldn't be a big deal once TranslateWiki (issue #493) is up and running. |
@helder-git @mattflaschen As I said on issue 493, I've merged all the i18n changes to https://github.com/fred-wang/MathJax/tree/i18n. You might want to try the test/localization.html to test the localization in context. |
@fred-wang , that branch (https://github.com/fred-wang/MathJax/tree/i18n/localization) does not seem to have pt or pt-br yet. |
@mattflaschen Sorry, I should have say that the data are only in the unpacked directory for the moment: https://github.com/fred-wang/MathJax/tree/i18n/unpacked/localization |
To avoid confusion, I'm closing this issue. The changes have been reviewed by @mattflaschen and are committed here: https://github.com/mathjax/MathJax-i18n/tree/master/JSON/pt-br We'll use this MathJax-i18n repository as a reference point for future translations imported from TranslateWiki. The translation will be integrated to MathJax core when we regenerate the localization data. I'll handle #492 separately. Thanks again for the translation! |
I've added the pt-br translations of MathJax as attachments on
https://bugzilla.wikimedia.org/show_bug.cgi?id=49267
Could someone (double-check and) submit them on github?
The text was updated successfully, but these errors were encountered: