debian-mirror-gitlab/doc/development/i18n/index.md
2018-12-05 23:21:45 +05:30

2.1 KiB

Translate GitLab to your language

The text in GitLab's user interface is in American English by default. Each string can be translated to other languages. As each string is translated, it is added to the languages translation file, and will be available in future releases of GitLab.

Contributions to translations are always needed. Many strings are not yet available for translation because they have not been externalized. Helping externalize strings benefits all languages. Some translations are incomplete or inconsistent. Translating strings will help complete and improve each language.

How to contribute

There are many ways you can contribute in translating GitLab.

Externalize strings

Before a string can be translated, it must be externalized. This is the process where English strings in the GitLab source code are wrapped in a function that retrieves the translated string for the user's language.

As new features are added and existing features are updated, the surrounding strings are being externalized, however, there are many parts of GitLab that still need more work to externalize all strings.

See Externalization for GitLab.

Translate strings

The translation process is managed at translate.gitlab.com using Crowdin. You will need to create an account before you can submit translations. Once you are signed in, select the language you wish to contribute translations to.

Voting for translations is also valuable, helping to confirm good and flag inaccurate translations.

See Translation guidelines.

Proof reading

Proof reading helps ensure the accuracy and consistency of translations. All translations are proof read before being accepted. If a translations requires changes, you will be notified with a comment explaining why.

See Proofreading Translations for more information on who's able to proofread and instructions on becoming a proofreader yourself.

Release

Translations are typically included in the next major or minor release.

See Merging translations from Crowdin