2017-09-26 17:15:19 -04:00
|
|
|
# Translating GitLab
|
|
|
|
|
|
|
|
For managing the translation process we use [Crowdin](https://crowdin.com).
|
|
|
|
|
|
|
|
## Using Crowdin
|
|
|
|
|
2017-10-09 05:36:07 -04:00
|
|
|
The first step is to get familiar with Crowdin.
|
|
|
|
|
2017-09-26 17:15:19 -04:00
|
|
|
### Sign In
|
|
|
|
|
|
|
|
To contribute translations at [translate.gitlab.com](https://translate.gitlab.com)
|
|
|
|
you must create a Crowdin account.
|
|
|
|
You may create a new account or use any of their supported sign in services.
|
|
|
|
|
|
|
|
### Language Selections
|
|
|
|
|
|
|
|
GitLab is being translated into many languages.
|
|
|
|
|
|
|
|
1. Select the language you would like to contribute translations to by clicking the flag
|
|
|
|
1. You will see a list of files and folders.
|
2017-10-06 12:16:42 -04:00
|
|
|
Click `gitlab.pot` to open the translation editor.
|
2017-09-26 17:15:19 -04:00
|
|
|
|
|
|
|
### Translation Editor
|
|
|
|
|
|
|
|
The online translation editor is the easiest way to contribute translations.
|
|
|
|
|
|
|
|
![Crowdin Editor](img/crowdin-editor.png)
|
|
|
|
|
|
|
|
1. Strings for translation are listed in the left panel
|
|
|
|
1. Translations are entered into the central panel.
|
|
|
|
Multiple translations will be required for strings that contains plurals.
|
|
|
|
The string to be translated is shown above with glossary terms highlighted.
|
|
|
|
If the string to be translated is not clear, you can 'Request Context'
|
|
|
|
|
|
|
|
A glossary of common terms is available in the right panel by clicking Terms.
|
2017-10-06 12:16:42 -04:00
|
|
|
Comments can be added to discuss a translation with the community.
|
2017-09-26 17:15:19 -04:00
|
|
|
|
|
|
|
Remember to **Save** each translation.
|
|
|
|
|
2018-02-15 12:17:13 -05:00
|
|
|
## General Translation Guidelines
|
2017-09-26 17:15:19 -04:00
|
|
|
|
2017-10-09 05:36:07 -04:00
|
|
|
Be sure to check the following guidelines before you translate any strings.
|
|
|
|
|
2018-02-15 12:17:13 -05:00
|
|
|
### Namespaced strings
|
|
|
|
|
|
|
|
When an externalized string is prepended with a namespace, e.g.
|
|
|
|
`s_('OpenedNDaysAgo|Opened')`, the namespace should be removed from the final
|
|
|
|
translation.
|
|
|
|
For example in French `OpenedNDaysAgo|Opened` would be translated to
|
|
|
|
`Ouvert•e`, not `OpenedNDaysAgo|Ouvert•e`.
|
|
|
|
|
2017-09-26 17:15:19 -04:00
|
|
|
### Technical terms
|
|
|
|
|
2018-02-15 12:17:13 -05:00
|
|
|
Some technical terms should be treated like proper nouns and not be translated.
|
2017-09-26 17:15:19 -04:00
|
|
|
|
2018-02-15 12:17:13 -05:00
|
|
|
Technical terms that should always be in English are noted in the glossary when
|
|
|
|
using [translate.gitlab.com](https://translate.gitlab.com).
|
|
|
|
|
|
|
|
This helps maintain a logical connection and consistency between tools (e.g.
|
|
|
|
`git` client) and GitLab.
|
2017-09-26 17:15:19 -04:00
|
|
|
|
|
|
|
### Formality
|
|
|
|
|
|
|
|
The level of formality used in software varies by language.
|
2018-02-15 12:17:13 -05:00
|
|
|
For example, in French we translate `you` as the formal `vous`.
|
2017-09-26 17:15:19 -04:00
|
|
|
|
2018-02-15 12:17:13 -05:00
|
|
|
You can refer to other translated strings and notes in the glossary to assist
|
|
|
|
determining a suitable level of formality.
|
2017-09-26 17:15:19 -04:00
|
|
|
|
2017-10-11 09:52:26 -04:00
|
|
|
### Inclusive language
|
|
|
|
|
|
|
|
[Diversity] is one of GitLab's values.
|
2018-02-15 12:17:13 -05:00
|
|
|
We ask you to avoid translations which exclude people based on their gender or
|
|
|
|
ethnicity.
|
|
|
|
In languages which distinguish between a male and female form, use both or
|
|
|
|
choose a neutral formulation.
|
2017-10-11 09:52:26 -04:00
|
|
|
|
|
|
|
For example in German, the word "user" can be translated into "Benutzer" (male) or "Benutzerin" (female).
|
2017-10-11 17:31:03 -04:00
|
|
|
Therefore "create a new user" would translate into "Benutzer(in) anlegen".
|
2017-10-11 09:52:26 -04:00
|
|
|
|
|
|
|
[Diversity]: https://about.gitlab.com/handbook/values/#diversity
|
|
|
|
|
2017-09-26 17:15:19 -04:00
|
|
|
### Updating the glossary
|
|
|
|
|
|
|
|
To propose additions to the glossary please
|
|
|
|
[open an issue](https://gitlab.com/gitlab-org/gitlab-ce/issues).
|
2018-02-15 12:17:13 -05:00
|
|
|
|
|
|
|
## French Translation Guidelines
|
|
|
|
|
|
|
|
### Inclusive language in French
|
|
|
|
|
|
|
|
In French, we should follow the guidelines from [ecriture-inclusive.fr]. For
|
|
|
|
instance:
|
|
|
|
|
|
|
|
- Utilisateur•rice•s
|
|
|
|
|
|
|
|
[ecriture-inclusive.fr]: http://www.ecriture-inclusive.fr/
|