CLI download translations for YML language codes

Running crowdin pull after a crowdin upload sources, is not behaving as expected for my YML files.

I’ve used it for JSON in my frontend with no issue.

But for my backend with YML (running on Rails), I’m receiving the wrong language codes at the top of my file. I have specified in the app and all throughout so far successfully what specific language codes I’m using. I also get them downloaded back into file directories with the correct naming.

For instance, when I pull translations for a pt-br language, it renames the locale at the top of the file pt:. Even though it knows to save it into the locale code named directory of pt-br So my I18n is not able to find the correct translated values automatically. I would like to avoid maintaining a ton of inefficient workarounds just to make it work with the incorrect language-dialect codes.

Is there any fix in the works for this? Thanks!

Screenshot 2024-02-20 at 8.01.03 PM

Hello @rachel.ackeret

Have you tried one of these applications to change the language code inside the file itself?

If neither works for you, please share some source samples with me, so I can run additional tests from my end.