Cloud Translation by Google¶
Take your website global with our Cloud Translation by Google add-on. It integrates the Google Translate service with your CS-Cart store, enabling you to translate the entire site or individual entities.
Google Cloud Translation API is only available as a paid service. Please see Pricing for more details.
- Translation of products, categories, blog, pages, newsletters, order statuses, payment methods, shipping methods, user groups, currencies, features, options, blocks.
- Unlimited number of targeted languages.
- Ability to select events that activate Google translation (such as the creation or update of a product via website).
- Ability to select fields to translate.
- Ability to specify the source language and the target language(s).
- Ability to translate the already translated entities.
- The entire site translation in one click.
The add-on is compatible with CS-Cart and Multi-Vendor 4.9.2 and above. HTTP2 is required. Minimum PHP version is 7.1.
Don’t know what archive to download to install the add-on? Read here.
Install the Cloud Translation by Google add-on on the add-ons list page (Add-ons → Manage add-ons). Click the + button in the top right corner, select an archive and click Upload & install. You can now find the installed add-on in the list of installed add-ons, just make sure it is set to Active.
The settings of the Cloud Translation by Google add-on are divided into the following sections:
Google Translate API settings
In the API field, enter the API key from your Google Cloud Translation account. To do so, you’ll need to create an account in the Google Cloud Platform and get the API key in the Credentials section.
Google Translate languages
This section contains a list of Languages (target languages), which are languages being translated to, and Base language (source language), which is a language being translated from.
Google Translate API events
This section contains a list of events that trigger translation on the website. Here are available options:
- Update entity via website
If enabled, the text in the target language will be automatically updated when you are changing something in the text in the source language.
Say you have created a text in Japanese (source language) and translated it into English (target language) with the Cloud Translate service. You have also made some stylistic changes in the English language text. Later, you would like to make some changes in the Japanese text. If the setting is enabled, the English text will be translated again when you change the one in Japanese. It is not recommended to set the setting to active.
- Create entity via website
If enabled, the new fields filled in the source language will be automatically translated into the target language.
For example, there is no short description in a product. You are creating one in English and it is automatically created in the Japanese version of the product.
- Create products via import
CS-Cart supports CSV import of products. You can also use the XML import add-on to create new products.
If the setting is enabled, the description in the second language will be automatically created when you are making an import.
- Update products via import
It means that if you are updating a product automatically the translation can be changed as well.
Fields to translate
Select fields of the entities that you want to translate on your site:
If you want to translate the entire site, you can do so by following the link right after the add-on settings.
The Translate what is already translated setting allows to translate entities regardless of earlier translations.
The product was not translated because of the following messages from Google:
- Daily Limit Exceeded
Google Cloud translation is a paid service.
You may be exceeding your quota: either the daily billable total, or the limit on request characters per second. Please check it in your billing account.
- Bad Language pair: EN:TW
It means that the target language (TW) is not supported by Google.
The full list of supported languages is available on this page.