Can I translate my URLs?

In this article, you’ll learn how to translate your URLs.




Prerequisites

At the moment, it's only possible to translate your URLs if you meet these two conditions:

  • You're subscribed to a Pro plan or higher (see the pricing documentation)
  • You're using the Weglot server-side integration, such as subdomains, subdirectories (see How do I set up my DNS?), or you have a WordPress website.

If that's the case, you can then translate your URLs by following the steps below.

Translate URL slugs

By default, Weglot will use the original URL slugs in the translated versions of your website. You'll need to either generate the slug translations or add them manually so they can be translated.

To translate the URL slugs, first go into your Weglot Dashboard > Projects > Select a project > URL slugs:

As you can see, the original slugs are in the left column. You can translate them directly in the right column:

You can also generate an automatic translation by clicking on "Auto translate" on the right side of each line:

Bulk actions

You can select several slugs that you want to "Auto translate" or delete by selecting the checkboxes next to their original name on the left and opting for the action at the bottom of the window:

Please note that if you don't want to translate a specific slug, you can leave the field blank. In this case, Weglot will use the original slug.

Troubleshooting

If you add new URLs to your website, they won't be automatically added. You'll have to visit them in your translated language(s) and click on the link that says "Missing a slug? Sync with your known URLs" at the bottom of the page to synchronize your URLs with Weglot:

If it still doesn't work, kindly clear your browser cache and try the steps above again in your browser's incognito mode.

Import/Export URL slugs

To import or export translated slugs, you need to manage at least an Advanced plan (see our pricing page).

Once in your URL Slugs section, you can use the "Actions" button to import/export translations:

Export URL slugs

You can export all URL slugs by clicking Actions > Export; your file will be available for download momentarily.

Import URL slugs

Please note that you can only import CSV files with a maximum of 500 slug translations; the files must adhere to a specific structure. Clicking on "Import", you can download an example file.

It is essential not to modify the headers/the structure of the file, as the import will not function as intended if the headers are altered.

To import a file, click the Actions > Import button. You can then either drag the CSV file or click the "Add" button. Once the file is added, click "Next" to proceed with the import.

You can have more informations about the Import/export feature reading this documentation.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us