diff options
author | Jarka Kadlecová <jarka@gitlab.com> | 2018-01-23 10:03:01 +0300 |
---|---|---|
committer | Jarka Kadlecová <jarka@gitlab.com> | 2018-02-07 16:05:57 +0300 |
commit | a39dc76645132fb848cb474a04178844bd6a70e3 (patch) | |
tree | 1992bbcffa80f44eeca3fa89705350fe7074e4fa /doc/development | |
parent | a55cfc1e6316232e25a46416b0a60be7c1282da7 (diff) |
Translate issuable sidebar
Diffstat (limited to 'doc/development')
-rw-r--r-- | doc/development/i18n/externalization.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/development/i18n/externalization.md b/doc/development/i18n/externalization.md index f493ad4ae66..f4542932295 100644 --- a/doc/development/i18n/externalization.md +++ b/doc/development/i18n/externalization.md @@ -110,6 +110,8 @@ You can mark that content for translation with: In JavaScript we added the `__()` (double underscore parenthesis) function for translations. +In order to test JavaScript translations you have to change the GitLab localization to other language than English and you have to generate JSON files using `bundle exec rake gettext:po_to_json` or `bundle exec rake gettext:compile`. + ## Updating the PO files with the new content Now that the new content is marked for translation, we need to update the PO |