Important
Before you add a new language, check if it already exists at translate.cs-cart.com.
To add a new language from translate.cs-cart.com to your installation, follow these steps:
Note
Before you create a new translation, make sure that the desired language is not on the list of available languages—check the Available tab under Administration → Languages → Manage languages. Also, make sure there is no such language at translate.cs-cart.com.
Most of CS-Cart texts are stored in the so-called language variables. Although you can view and edit all those variables under Administration → Languages → Translations tab of the Languages page , we recommend a different way:
- Choose the newly created language from the drop-down menu in the left upper corner of the page.
- Hover the mouse pointer over text marked with a dash line. The edit icon will appear—click it.
- Enter the desired translation in the input field.
- Click the green tick button to save your changes.
- Go to Administration → Languages → Translations
- Select the newly created language in the select box in the top left corner.
- Now you can edit the text variables for this language.
- Translate the texts in the Value input fields of the language variables.
Important
Be careful—if English is selected in the language select box, you will be editing the English texts.
Important
Do not translate or remove the words in square brackets written in lowercase, e.g. [link]
, [product]
, etc. These are variables that will be replaced with an appropriate value automatically when they appear on the storefront. For example, [product]
will be replaced with the corresponding product name.
Important
Translate the words written in square brackets in uppercase, e.g. [ALREADY PATCHED]
, [DELETED]
, [FAILED]
, [NON WRITABLE]
, etc. These are the notifications generated by the Upgrade Center and should be translated.
Important
Save your changes on every page where you translate language variables. If you open the next page with language variables without clicking the Save button on your current page, the translations you made on the page will be lost.
To translate the entries on the pages listed above, follow the steps below:
Important
We recommend closing the store when the On-site text editing is enabled: it displays debugging information on the storefront, and that may confuse your customers.
You can also contribute to CS-Cart localization via Crowdin.