Hove to change exported code and structure

With the download button from UI, I receive a .zip file with folders named like 2 letters of my languages, fr, de, es, and so on. I would like to have folders named differently, and if my files are for example test.json, to be named like es_es_test.json. How to achieve this?

If you work with user interface, then Content - files - 3 dots near file - settings - translation export patter - write the one you need.

If by any automanded tool, the CLI configuration file would work for you fine:

You can go like …/%locale%/%locale_with_underscore%_%original_file_name%

so as result it’ll be something like /de-de/de_de_file1.json

Also bundles may be useful for you