Why is the order of keys with translations alphabetized in the downloaded files?

Localazy doesn’t store the order in which your keys are sorted inside the files you upload. Our parsers extract the keys, and the files are reconstructed upon downloading them. This allows you to manage the keys and convert your files to other formats. Ordering keys by alphabet is consistent and shouldn’t break any project.

While we don’t recommend the following approach, you can add a numbered prefix to your key names if you really need to keep the keys in a particular order. E.g., cancel_button ➡️ 001_cancel_buttonand so on. This way, you can be in control of the order in which keys are exported.

Was this article helpful?

Please help us with improving our documentation.
We appreciate all your feedback.