Commit 7ee3e537 authored by Nick Gaskill's avatar Nick Gaskill

Merge branch 'translation-namespace-guidance' into 'master'

Simplify namespace guidance for translators

See merge request gitlab-org/gitlab!73497
parents fbbcaddf 7e01836a
...@@ -48,10 +48,10 @@ Be sure to check the following guidelines before you translate any strings. ...@@ -48,10 +48,10 @@ Be sure to check the following guidelines before you translate any strings.
### Namespaced strings ### Namespaced strings
When an externalized string is prepended with a namespace (for example, A namespace precedes the string and is separated from it by a `|` (`namespace|string`). When you see
`s_('OpenedNDaysAgo|Opened')`), the namespace should be removed from the final translation. For a namespace before an externalized string, you should remove the namespace from the final
example, in French, `OpenedNDaysAgo|Opened` is translated to `Ouvert•e`, not translation. For example, in `OpenedNDaysAgo|Opened`, remove `OpenedNDaysAgo|`. If translating to
`OpenedNDaysAgo|Ouvert•e`. French, translate `OpenedNDaysAgo|Opened` to `Ouvert•e`, not `OpenedNDaysAgo|Ouvert•e`.
### Technical terms ### Technical terms
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment