We have a Ruby-on-Rails project that has an en.yml
file with our source strings in English. It looks like this:
en:
foo: "bar"
Our crowdin.yml
uses %two_letters_code%.yml
to remap the translation filename. We translate to Spanish for Latin America, which is es-419
as a locale. When we export the translations using the CLI tool we get the es.yml
file we expect, but the root key in the YAML is es-419
.
Our es.yaml
file looks like this:
es-419:
foo: "bar"
Does any know how to get that es-419
to be es
?