Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2018-02-07 18:13:03 +0300
committerSean McGivern <sean@mcgivern.me.uk>2018-02-07 18:13:03 +0300
commit15d766fc9345858db5e3c55da47204fb61a5531f (patch)
tree2c097d8f9767a5f534ac9446643d98c52b040cd2 /doc
parentee77bb5f7fad94568af35a3739ca3565a10f41e8 (diff)
parenta39dc76645132fb848cb474a04178844bd6a70e3 (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.md2
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