diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2018-02-07 18:13:03 +0300 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2018-02-07 18:13:03 +0300 |
commit | 15d766fc9345858db5e3c55da47204fb61a5531f (patch) | |
tree | 2c097d8f9767a5f534ac9446643d98c52b040cd2 /doc | |
parent | ee77bb5f7fad94568af35a3739ca3565a10f41e8 (diff) | |
parent | a39dc76645132fb848cb474a04178844bd6a70e3 (diff) |
Merge branch '34416-issue-i18n' into 'master'
Translate issuable sidebar
Closes #34416
See merge request gitlab-org/gitlab-ce!16663
Diffstat (limited to 'doc')
-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 |