gitlab/crowdin.yml
Josianne Hyson 7aac93f35f Map the kab_KAB locale to kab for Crowdin sync
Currently Crowdin is syncing the Kabyle language with the language code
kab_KAB. This locale code cannot be detected by gettext, as this tool
detects locale codes that only have 2 characters after the underscore.

This is causing the `gettext:regenerate` command to delete the
`locale/kab_KAB/gitlab.po` file every time it is run.

This change:

1. Update the Crowdin config to map `kab_KAB` to just `kab`
1. Deletes `kab_KAB` locale file (which currently has 0% translation
   anyway).

Issue: https://gitlab.com/gitlab-org/gitlab/-/issues/235511
2020-08-11 19:04:08 +02:00

24 lines
439 B
YAML

project_identifier: 'gitlab-ee'
api_key_env: CROWDIN_API_KEY
preserve_hierarchy: true
commit_message: |
[skip ci]
files:
- source: /locale/gitlab.pot
translation: /locale/%locale_with_underscore%/gitlab.po
languages_mapping:
locale_with_underscore:
bg: bg
de: de
eo: eo
es-ES: es
fr: fr
it: it
ja: ja
kab: kab
ko: ko
ru: ru
uk: uk