Adding translations using CSV files

You can export your store's content to a CSV file, add your translations, and then import the file to update the translated content in your online store. With CSV files, you can manage your translations without a translation app.

Considerations for using CSV files

Review the following considerations before you use a CSV file to add a language translation:

  • Tags can't be translated.
  • If you change a product's handle, then the URL redirects for that product aren't supported for language-specific URLs.

Step 1: Export your CSV file

You can export a CSV file from your Shopify admin that contains the current list of translations for the languages that you select. The CSV file is emailed to you.

The CSV file contains the following columns:

  • Type: The resource type, such as Products, Articles, Collections, Pages, or Blogs.
  • Identification: The resource ID.
  • Field: The field, such as title, body_html, or meta_title.
  • Locale: The language that the content is being translated to.
  • Market: The market the content was created for.
  • Status: Identifies whether the translation is outdated.
  • Default content: The original content to be translated.
  • Translated content: The translated content. You can add your translated content to this row.

Steps:

  1. From your Shopify admin, go to Settings > Languages.

  2. Click Export.

  3. Select the language that you want to export. You can select All languages to export the translations for all languages that you support.

  4. Select one of the following options:

    • Select All content to export all translations.
    • Select Metafields if you're using metafields to add content to your store.
    • Select Outdated if you've already added translations to your store and want to export translations that are out of date with your default language.
    • Select Untranslated content to export only the content that isn't currently translated.
  5. Click Export. The exported CSV file is emailed to you.

Step 2: Add your translations

Add your language translations directly to the Translated content column of the exported CSV file, and then save your changes. You don't need to modify the values in any of the other columns in the CSV file.

If you use a spreadsheet program to edit your CSV file, then make sure that your default delimiter is set to commas instead of semicolons. In some cases, HTML codes with semicolons are included in your CSV export file, which might cause the columns to render incorrectly in your spreadsheet program.

Step 3: Import your CSV file

After you export and edit your language translations CSV file, you can import it to your Shopify admin to update the translated content in your online store.

Steps:

  1. From your Shopify admin, go to Settings > Languages.

  2. Click Import.

  3. Click Add file, and then select your translations CSV file.

  4. Confirm whether you want to overwrite existing translations:

    • If you want the translated language content in your CSV file to replace any existing translations, then select Overwrite any existing translations.
    • If you want to import only the new translated content and not replace any existing translations, then deselect Overwrite any existing translations.

    To learn how this choice affects your existing translations, refer to How importing affects your existing translations.

  5. Click Upload and continue.

  6. Review the Import language with a CSV information, and then click Import. If your CSV file contains errors, then the import is stopped, and the errors are listed on the Import language with a CSV page.

  7. A confirmation is emailed to you, which includes a list of any translated content that failed or was skipped. Rows that already match the translation in your store are counted as skipped, but aren't listed.

How importing affects your existing translations

When you import a CSV file, each row is compared with the translation that's already in your store:

  • If the translated content in a row matches the existing translation, then the row is skipped and the translation doesn't change. Its status doesn't change either, so importing the same translated content again doesn't mark an outdated translation as up to date. If the existing translation was added by automatic translation in the Translate & Adapt app, then automatic translation can still update it when it's outdated.
  • If the row adds a new translation, or replaces an existing translation because you selected Overwrite any existing translations, then the imported translation counts as a translation that you added manually. Automatic translation in the Translate & Adapt app doesn't change translations that you added manually, even when they're outdated.

Troubleshooting CSV translation imports

Troubleshoot "Your Shop Does Not Support this Language" error when importing a CSV

If you receive this error when trying to import a language CSV file, then the language in your CSV might match your store's current default language.

The CSV import feature only applies translations to secondary languages, not your default language, which is located in Settings > Languages.

Example scenario

  1. Your store had Turkish as the default language with all in-admin content in Turkish.
  2. You exported your English translations to a CSV file.
  3. You changed your default language from Turkish to English in Settings > Languages.
  4. You tried to import the English CSV to update your store content, but received the error.

The import fails because the CSV is trying to import English content as a translation, but English is now your default language, not a secondary language.

To resolve this, you can manually update the content in your Shopify admin by copying content from your CSV, and then pasting it into the appropriate pages. You can also use a bulk editing app.

Alternatively, you can use Markets to change the default language.

Use Markets to change the default language that displays to customers

To use Markets to change the default language, review the following steps:

  1. Revert your default language change.
  2. Add the secondary language back.
  3. Re-import the CSV.
  4. Switch the default language for customers using Markets. Changing the default language through Markets doesn't require you to adjust your store content.