Skip to content
Snippets Groups Projects
Unverified Commit 014517c6 authored by Seamus Lee's avatar Seamus Lee Committed by GitHub
Browse files

Merge pull request #530 from mlutfy/extension-translation

publish.md: Add a section about extension translation
parents 6ec1031a 42184f6d
No related branches found
No related tags found
No related merge requests found
......@@ -72,3 +72,11 @@ The best way to reap the benefits of publishing your extension is to make it as
It is strongly recommended that you [write unit tests](https://github.com/civicrm/org.civicrm.testapalooza) for the extension and include them in the extension's repository. For an example, see the extension [org.civicrm.exampletests](https://github.com/totten/org.civicrm.exampletests).
Once an extension release meets these criteria, the extension will be approved for automated distribution by a CiviCRM community extension moderator.
## Translation
When an extension is approved for automatic distribution, it will automatically be added to Transifex under the [civicrm_extensions](https://www.transifex.com/civicrm/civicrm_extensions/) project so that any strings in the interface (if there are any) may be translated.
This synchronisation task is run nightly. It also generates the translation files, which may be downloaded with the [l10nupdate](https://github.com/cividesk/com.cividesk.l10n.update) extension or by guessing the URL using the form:
https://download.civicrm.org/civicrm-l10n-extensions/mo/i18nexample/fr_FR/i18nexample.mo
......@@ -8,6 +8,8 @@ There is a separate project on Transifex to translate extensions. Each extension
See: <https://www.transifex.com/projects/p/civicrm_extensions/>
Translation strings are sent to Transifex when the extension is "ready for automatic distribution". See: [Publishing Extensions](/extensions/publish.md).
## For administrators: Download translation files for extensions
The easiest way to download translations for extensions is to use the [l10nupdate](https://github.com/cividesk/com.cividesk.l10n.update/) extension.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment