How MediaWiki's interface is translated?
Note: When you edit this page, you agree to release your contribution under the CC0. See Public Domain Help Pages for more info. |
This page is currently a draft.
|
Interface translations?
editThis page covers the case of MediaWiki's interface translations. Wikipedia article translations (see Content translation) or Mediawiki's documentation (see Help:Extension:Translate) are not interface translations.
How to add a new language?
editHow to add new translatable elements?
editPlease expand this page. |
How to translate the interface?
editAll Mediawiki interface elements are translated at translatewiki.net.
This website requires a different account than your Wikimedia account.
Deployment process
editThe flow is:
- Translatable interface messages are added to the code by developers through Wikimedia Gerrit
- The new or updated source messages are imported to translatewiki.net three times per day
- caveat: a single volunteer reviews the changes manually, which may add delays. A process to automate it is in progress
- For things outside Wikimedia Gerrit, the process is semi-automated imports every 2 hours, automated exports on Mondays and Thursdays.ref
- Volonteers at Translatewiki translate the existing messages
- Translatewiki bundles up any changes for that extensions messages and puts it into a commit, that’s submitted to the repository
- That commit goes out with the next deployment train
- The train is built on Monday, to be out to wikis by Thursday
- Hence, the deadline to submit an interface translation is on Sunday.
Can't wait for the train?
editInterface administrators can change any MediaWiki message locally. This can be done if a message must be updated before its deployment through the train, but the temporary message has to be deleted when the centralized message is available.
Local edit of MediaWiki messages, done by communities, are frequent. Check on the history page of a message to see why and when this change was made.