tauri-docs icon indicating copy to clipboard operation
tauri-docs copied to clipboard

[Crowdin] Combination of `%locale%` and `%two_letters_code%`

Open lorenzolewis opened this issue 3 years ago • 0 comments

Right now we can't enable languages that have two letter language code conflicts for translation (i.e. Chinese Traditional and Chinese Simplified, also shows up in Portuguese). This is because the CLI only supports either %locale% OR %two_letters_code% from what I can tell https://developer.crowdin.com/configuration-file/#placeholders. If we switch to %locale% then this would require us custom mapping languages in Crowdin configuration (i.e. "en" to "en-US") for any languages that don't have a clear locale derivative.

Filed issue upstream (https://github.com/crowdin/crowdin-cli/issues/456) to ask for another placeholder that allows us to download whatever code the Crowdin UI is showing (as seen below). I'm not 100% sure that this will resolve the issue, but it will at least enable us to download the translation files via the CLI more easily.

Screenshot 2022-06-17 at 11 14 22

lorenzolewis avatar Jun 17 '22 10:06 lorenzolewis