front-end translations

Magento frontend translations are managed via the translate.csv file in the FTP directory, edited with a text editor, and applied after updating the translation cache.

Translations

If you want to perform translations in the frontend, you must first log in to your installation using an FTP client, such as WinSCP. After successful login the following window appears:

ef7ce349-ab49-4f2d-b343-1a999f01f577

The translation file translate.csv can be found in the path /html/app/design/frontend/Smartwave/porto/i18n/TRANSLATEFILE.

97580ae0-300e-48f5-9775-6a3d1b85591a

To open the file, you need a simple text editor such as Notepad++.

The file may already contain a few lines, all of which follow the same principle: Each of these lines consists of two strings enclosed in quotation marks and separated by a comma. Each of them is the original text from the webshop (left) and its translation (right). You can easily add other desired translations according to this pattern, for example:

"less...", "weniger...".
5264d48f-392d-4203-a485-3f262b01bb6c

View original designation

Occasionally, the visible designation in the web store differs from the actual one because it has already been translated elsewhere. To see the original description, you can display the inline translation in the backend. To do this, select Stores Settings Configuration Advanced Developer Options Translate Inline.

2022-07-18 16_20_15-Configuration _ Settings _ Stores _ Magento Admin

Please note that this option is only available while the system is not yet in production mode.

2022-07-18 16_21_47-Configuration _ Settings _ Stores _ Magento Admin-1

Under "Translate from Inline", select "Yes" for "Enabled for Frontend" and then click "Save Configuration".

Attention: We generally advise you to use the inline translations exclusively for tracking down the original texts - not for translating them!

Now open your store preferably with Mozilla Firefox, because other browsers have problems with this function. In the webshop, the texts will now appear with a red border. (You may have to reload the page first by pressing the F5 key). Clicking on the small book in the upper left corner of the red rectangle will take you to the translation window.

Here you can copy the original text and paste it into the translation file. Now proceed as described above. Then save the file. Finally, in the backend, under System Cache Management, you need to update the Translations cache.

46252b94-c6d0-4e1b-b292-3957bbe79c74

After reloading the page, the translated text will be displayed. Please remember to deactivate the inline translation for the webshop again afterward.