How to import or export translations
Last updated
Last updated
To import translations, first make sure that you have your translations in CSV format. Most translation providers offer a way to export your translations as a CSV file.
For Weglot migrations, refer to the following link for instructions on how to export your translations: https://www.weglot.com/academy/import-export-translations
Next, you need to make sure your CSV file is correctly formatted. These are the columns expected by Linguana:
text | ai_translation | manual_translation | text_type | attribute_name | parsed_element_type
All values should be separated by the vertical bar character (|). It is acceptable to leave values blank.
For Weglot migrations, you can use the following Python script to automatically convert your translations into the correct format:
To use the Weglot conversion Python script, simply right-click and save the above file, and run the following command in your terminal in the directory the file was saved.
Make sure to change the input file path to the path of your Weglot translations CSV and the output file path to the path you want to save your Linguana translations CSV.
If you're having trouble using the Python script for Weglot, or you are migrating from a different translation provider, feel free to reach out to support@linguana.io and we'll do it for you!
Once you have a correctly formatted CSV file, go to the Linguana dashboard, navigate to the page or language you'd like to import translations for, click the three vertical dots in the top right, select "Import CSV", and upload your translations file.
To export existing translations, simply navigate to the page or language you'd like to export, click the three vertical dots in the top right, and select "Export CSV". That's it!