How to find translation in prestashop 1.7.x?

How to find translation in prestashop 1.7.x?
In prestashop since version 1.7.x the translation system has been redesigned. And if you have a multilingual site, and with a purchased template, then most likely you will face the problem of finding the translation of the desired phrase in the back office.

The article will discuss the solution path for prestashop starting from version 1.7.6.x. Solution also concerns the new translation system with which you make translations. New system stores the translations that you make through the back office in the database, and not in translation files as before. More precisely, the table is called ps_translation. You can select translation phrases using this SQL script:

So, let’s look at the solution if you can’t find the translation you want.

First of all, let’s clean the cache – this is done in the back office: Advanced Parameters->Performance->Clear cache.

You can also clean the cache manually by deleting the contents of the …/var/cache/ folder.

For example, let’s find the word Код (Reference) of the front office theme for a product card:

find the word Код (Reference) of the front office theme for a product card find the word Код (Reference) of the front office theme for a product card

To search for a translation go to International -> Translations:

prestashop International -> Translations”>

<p>Choose <strong>Type of translation -> Themes translations</strong></p>
<p>Choose <strong>Select your theme -> classic</strong></p>
<p>Choose <strong>Select your language -> Требуемый язык</strong></p>

<img decoding=

In the Search translations field, enter the word Код. As a result, all matches appear that found the script:

prestashop search translations form

Note that the search script is case sensitive in the search word. In this way the words Код and код for it will be different. Whitespace can also affect the search engine.

So, after all matches have been shown. We go through the domains, expanding them arrows. And find the right word:

prestashop go through the domains, expanding them arrows

If after that you cannot find the word, then you can find the path in the back office to the word through the theme files. But for this you need to know the word itself for translation and where it can be located. Let’s find where the word for translation is located. For example, the word Reference, that needs to be translated is located in the theme file …/themes/classic/templates/catalog/_partials/product-details.tpl

It is defined by domains: Shop.Theme.Catalog prestashop for Reference - domains: Shop.Theme.Catalog

Go to the Search translations field and enter the word Reference. And we go to the ones we need domains:Shop->Theme->Catalog:

prestashop for Reference - domains: Shop.Theme.Catalog

If the word turned out to be empty, then fill it with the desired translation.

As for translations for modules that support the old translation system, for their system of transfers has not changed.

How useful was this post?

Click on a star to rate it!

Average rating 3 / 5. Vote count: 2

No votes so far! Be the first to rate this post.

Leave a comment

Your email address will not be published. Required fields are marked *