M
M
Manager12018-04-27 14:09:26
Magento
Manager1, 2018-04-27 14:09:26

How to translate labels in magento?

Good afternoon. Magento version 2.1.3
1. How to translate the inscription "Search for product". I searched for a file with translations - no
2. Maybe someone knows, next to the search for phone numbers, but there seems to be no such block. Where else could these numbers be entered?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
CodeKeeper, 2018-04-30
@CodeKeeper

Translations are in the i18n folders (theme, module, translation), do a search for the project using the phrase Search for product. Translations can be both in the csv file and in the js file, since from the old version there are separate translations for js components. Also, the phrase may not be translated if it is not wrapped in the global translation function __()
devdocs.magento.com/guides/v2.0/frontend-dev-guide...
devdocs.magento.com/guides/v2.0/frontend -dev guide...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question