Linguana
  • 🐣Getting started
    • What is Linguana
    • Quick start
    • How to translate content
    • FAQs
  • ✍️Translating your website
    • Create a new project
    • Adding new languages
    • Remove language
    • Translate manually
    • Translate using AI
    • Translate instances of identical elements
    • Redirections
    • Language switchers
    • Custom domains
    • Automations
    • Fix outdated live website
    • Fix untranslated text
    • Fix missing whitespace between text
    • Add translated links
    • Block indexing for Linguana subdomain
    • Hide content
    • Skip translation for content
    • Import or export translations
  • 🤖AI translations
    • AI credits
    • Purchasing AI credits
  • ⚙️Settings
    • Account settings
    • Change password
    • Notification settings
    • Billing settings
    • Delete your account
Powered by GitBook
On this page
  • Import translations
  • Export translations
  1. Translating your website

Import or export translations

PreviousSkip translation for contentNextAI credits

Last updated 2 months ago

Import translations

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:

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.

python convert_from_weglot_to_linguana.py /path/to/input/folder/en_es.csv /path/to/output/folder/en_es_linguana.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 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.

Export translations

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!

✍️
https://www.weglot.com/academy/import-export-translations
support@linguana.io
2KB
convert_from_weglot_to_linguana.py
Automatically convert exported Weglot translation to Linguana formatting