Locale settings is not applied

,

Hi, I’m trying to export an ARB file with the changed locale per the docs.

I’ve tried setting up the config via the Settings page on the web and also via CLI and the yml config file. The change in the locale is only applied for the file name but it’s not applied inside the exported .arb file:

{
"@@locale": "me",
...
}

And the CLI config has:

"project_id": "."
"api_token": "."
"base_path": "."
"base_url": "https://api.crowdin.com"
"preserve_hierarchy": true

files: [
  {
    "source": "/l10n/app_en.arb",
    "translation": "/l10n/app_%two_letters_code%.arb",
    "language_mapping": {
      "locale": {
        "me": "cnr",
      }
    }
  }
]

Hi Vladimir, that’s expected behavior. To change the locale inside the exported files, you may consider the next export apps:

Hi Natalia! Thank you for the response! :slight_smile:

I do have to admit it’s a bit of a strange decision. You allow me to map the system locale to a value of my choosing on the Settings page, but that applies only for the flags you provide and is not used inside the exported file.

I would assume that if I have a settings option to map a locale, that that setting will be applied all around. At the moment that’s not the case. :man_shrugging:

Thank you for the suggested tools, will give them a try.

Hi Vladimir, thank you for your feedback and, sure, you’re welcome to try the shared apps