Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • M MathJax
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 304
    • Issues 304
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • MathJax
  • MathJax
  • Wiki
  • Quick guide to translating MathJax

Quick guide to translating MathJax · Changes

Page history
Updated Quick guide to translating (markdown) authored May 16, 2013 by Davide P. Cervone's avatar Davide P. Cervone
Show whitespace changes
Inline Side-by-side
Quick-guide-to-translating-MathJax.md 0 → 100644
View page @ 38a3691d
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
Clone repository

MathJax Wiki

  • Contributing
    • Quick guide to translating mathjax
  • Development
    • Development Process
      • Release Process Checklist
      • Hotfix Release Process
      • Documentation Update Process
      • Source Control Policies
    • Design Documents
      • MathJax Roadmap
      • CDN Hosting
        • Managing Rackspace Cloud Files & CDN
        • Directory Structure
        • .htaccess settings
        • Managing Amazon Cloudfront
      • Performance Discussion
      • Profiling and Diagnostics Tools
      • Configuration Options
      • Documentation generation guide
      • Testing
        • Platforms supported
        • Test Machines
  • MathJax web presence
  • Drafts