TranslatePress FAQs

Here’s a list of your frequently asked questions about TranslatePress and their answers.

If you can’t find what you are looking for in the TranslatePress FAQs, please check out the Troubleshooting page as well.

What happens after my licence expires?

When your licence expires the plugin will still continue to work as configured. However, you will lose access to updates and premium support. This includes new features, bug fixes, and full compatibility with the latest versions of WordPress and WooCommerce.
 

Can I upgrade the License by paying the price difference?

You can upgrade to a superior package by paying the difference directly from your TP Account using the Upgrade Subscription button.

Note: You need to know that ​if you upgrade, the initial expiration date doesn't change.
How do I change the Default Language?

You might want to make the language you translated your website into the first one.

To do this, go to Settings -> TranslatePress  and set the Use subdirectory for default language option to Yes. Then, using drag and drop, drag the language you want to be the default one to the top.

A better way of handling this is to use the Automatic Detection of User Language add-on. This will redirect the user to the correct language based on his IP or browser settings.

Ex.

Change language with drag and drop

How can I dispaly different content for different languages?

Well, we have content restriction integrations with one of the biggest builders on the WP market, as well as our conditional shortcode to display different content for according to the selected language.

Please, have a look at our Restrict by Language documentation.

How can I show different versions of a video based on the current language?

This can be achieved using the Conditional Shortcode Based on Language.

You add both versions of the video to the content and wrap them up with the shortcode using the correct languages.

Ex.

[trp_language language="en_US"]
    https://www.youtube.com/watch?v=dQw4w9WgXcQ
[/trp_language]

[trp_language language="ro_RO"]
    https://www.youtube.com/watch?v=dQw4w9WgXcQ
[/trp_language]

Also, check the content restriction integrations we have with plugins like Elementor, Oxygen Builder, or WPBakery.

How can I translate an email that I customize in my Dashboard?

This can be achieved using the Conditional Shortcode Based on Language.

You wrap the content for every language using the right shortcode and only the correct part will be emailed to the user.

Ex.

[trp_language language="en_US"]
    This content will be sent only to English users.
[/trp_language]

[trp_language language="ro_RO"]
    This content will be sent only to Romanian users.
[/trp_language]
Is the Google Translation API free?

No, the Google Translation API is not free, they charge 20$ per million characters that you translate. You can read more about their basic prices, here.

However, Google is offering a Free Trial option that gives you access to 300$ over 12 months that can be used towards the Google Translation API. This means that you can use it for free, within this limit, because TranslatePress is storing the translations locally. The data is retrieved from Google only once, then it's being served from your own database.

Google will ask you first for your credit card or other payment methods when you sign up for the Free Trial. This payment information is used to verify your identity and to distinguish actual people from robots. The Free Trial ends when you use all of your credit, or after 90 days, whichever happens first.

You can find more about Google Free Trial using the following link: https://console.cloud.google.com/freetrial

Is the DeepL API free?

No, the package that contains API access is listed and can be purchased for 4.99€ + usage fees.

More information about the DeepL API package can be found here: https://www.deepl.com/pro.html#developer.

How do I translate the slugs automatically?

Besides the fact you need to have activated the SEO Pack Addon (available only for the pro users) from TP Settings --> Addons tab, you will need also to enable the Automatically translate slugs option from TP Settings --> Automatic Translation tab.

After everything is set, you/users can browse the pages in additional languages and the translations will be served.

Note: Gettext and slugs load before our own plugin. So the way our plugin is constructed, they get applied at the second page load.

How do I translate the slugs manually?

First, be sure you have activated the SEO Pack Addon (available only for the pro users) from TP Settings --> Addons tab.

After everything is set, you can find the slug of the page that you want to translate in the list of strings or in the String Translation Interface from Translation Editor.

How do I translate WooCommerce emails?
WooCommerce email translation can be done automatically via WooCommerce's language packs and TranslatePress' Automatic Translation feature, and manually from the String Translation interface. Read more about WooCommerce email translation here.
How can I make TranslatePress not process a custom URL?

When the Force Language in Custom Links option is set to Yes, any custom link that you add to your website will get processed by TranslatePress to add the language to it.

If you want TP to ignore an URL, you can append this hash to it: #TRPLINKPROCESSED

Example: Let's say the URL we want to be ignored is this one:

https://mysite.com/ignored-url

To make this work we add the hash from above so the link we will insert is:

https://mysite.com/ignored-url#TRPLINKPROCESSED

Does TranslatePress work on WordPress Multisite?

Yes, TranslatePress works on multisite as well. You can either network activate the plugin, or do it individually for each sub-site.

It works to add languages on individual sub-sites in a network install (and choose the languages in which you translate each sub-site).

It will NOT work to have each sub-site as a secondary language.

Note: The license key of the premium product needs to be added in the Main site -> Settings -> TranslatePress, not in the Network Dashboard.

Does TranslatePress work with subdomains?

It will not work to have mydomain.uk, mydomain.ro, fr.mydomain.com, de.mydomain.com, etc. Those mean directly a multiple domains system and, right now, we don't have support for this. It is a tracked feature, but for the moment, we don't have a timeframe for it or even if will be implemented.

As a solution for , we can recommend using the MultilingualPress plugin, https://multilingualpress.org/.

How do I add a dropdown language selector to my menu?

When you're adding or modifying a menu and TranslatePress is active, you'll find the defined languages under the Language Switcher tab. You can use these elements to create the dropdown menu, exactly as you would create any other dropdown menu on your website.

Ex:

Language switcher menu setup
 

How do I transfer translations from one language to another one?

All translations are saved in _trp_* tables from your database.

Let's say your default language is English (US), the additional one is Chinese (China), and you want to switch to another additional language, Chinese (Taiwan), but keeping the Chinese (China) translations that you already have.

In this case, your Chinese (China) translations are stored in the _trp_dictionary_en_us_zh_cn table. You can make a copy of this table and name it as _trp_dictionary_en_us_zh_tw (you can find the language code of a particular language at TP Settings --> General tab --> All Languages section-->Code column). Then set Chinese (Taiwan) language to your TP Settings and Save changes. These will make our system activate the translations from the _trp_dictionary_en_us_zh_tw table.

Can WPML translations be used if I want to switch on TranslatePress?
The architecture of these plugins is different. TranslatePress saves translations at the string level, while WPML saves at the post level, thus the translations are not compatible. You will have to translate your site from 0 using manual or automatic translation.