summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2019-06-19 06:29:04 +0000
committerAchilleas Pipinellis <axil@gitlab.com>2019-06-19 06:29:04 +0000
commit1af9a690d55351cc62f7f071fb6af84fb6721ab3 (patch)
tree339141f5c05dd4a5ee8c5a2bb194d6e3e50ae21f
parent98a4a005d8d9eb4bf7e4b8fc601164055ced2199 (diff)
parentaddd5a0b078694582a9755c49524b1f8026cb0b3 (diff)
downloadgitlab-ce-1af9a690d55351cc62f7f071fb6af84fb6721ab3.tar.gz
Merge branch 'bvl-dont-translate-api-docs' into 'master'
Add note about not translating API messages. See merge request gitlab-org/gitlab-ce!29748
-rw-r--r--doc/development/i18n/externalization.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/development/i18n/externalization.md b/doc/development/i18n/externalization.md
index 9fb8ea542d9..ce310672dad 100644
--- a/doc/development/i18n/externalization.md
+++ b/doc/development/i18n/externalization.md
@@ -77,6 +77,9 @@ Or:
hello = _("Hello world!")
```
+NOTE: **Note:** Messages in the API (`lib/api/` or `app/graphql`) do
+not need to be externalised.
+
### HAML files
Given the following content in HAML: