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:
authorBob Van Landuyt <bob@gitlab.com>2019-06-19 09:29:03 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2019-06-19 09:29:03 +0300
commitaddd5a0b078694582a9755c49524b1f8026cb0b3 (patch)
tree339141f5c05dd4a5ee8c5a2bb194d6e3e50ae21f /doc
parent98a4a005d8d9eb4bf7e4b8fc601164055ced2199 (diff)
Add note about not translating API messages.
Diffstat (limited to 'doc')
-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: