Import options and translations

Export options

Press Export button to get a JSON file and review its content. Below is an example of options with French translations:

[
{"id":"100","value":"Code Review","fr_FR":"Revue de Code"},{"id":"101","value":"Testing","fr_FR":"Tests"},{"id":"102","value":"Documentation","fr_FR":"Documentation"},{"id":"103","value":"Security Checks","fr_FR":"Vérifications de Sécurité"},{"id":"104","value":"Deployment","fr_FR":"Déploiement"}
]

Each option has an "id" and "value" and contains optional translations declared with locale code.

Modify options

An option is matched by "id" property. You can modify the "value" or add a locale property with a translation, then import the file back to update the options in bulk.

Create options

If you omit "id" property, then it is treated as new a new option and will be added to the configuration.

Import options

Only translations for languages selected in the configuration will be imported. Make sure that all languages you are importing are selected before the import.

Options from the file are merged to current configuration, not replaced. It means that you can import small portion of options without affecting the others. However, it is not possible to remove options or clear a value in this way.

When an option is imported with an additional locale property, the translation is added to the option. As a result, it is possible to work with separate files for different languages and import them one by one. Of course, you can also have all translations in one file.

How to replace whole configuration?

If you want to replace all the options, clear the configuration first. Use the Bulk edit -> Remove all action, then import a file.

Translate automatically

Automatic translation is not yet included, but if you have access to ChatGPT, you can easily generate translations yourself.

Use the following ChatGPT prompt to translate options automatically

Given json translate to French:

paste exported json

Last updated