Questions tagged [i18n]
Denotes questions regarding i18n directory of a Magento module or theme
5
questions
2
votes
2
answers
3k
views
Translation file magento 2 i18n
I'm trying to change "Excl. Tax:" to "Excl. Vat:" and have created a CSV file called en_GB.csv which contains the line - "Tax:", "Vat:".
I've saved and uploaded this to app/design/frontend/Magento/...
4
votes
1
answer
8k
views
Magento2: List translation strings from a module
In order to build this CSV app/code/Vendor/Module/i18n/en_US.csv, I want to get an array from my module with all the translation-ready strings from all files types (.php, .phtml, .js, .xml).
.php &...
5
votes
5
answers
7k
views
Magento 2.3 translations (translate label) in the admin panel (backend)
In Magento 1 I just added a translate.csv for my admin area.
How can I achieve this in Magento 2?
I just want to change the translations of a few things and add some missing translations. Can't I put ...
2
votes
1
answer
901
views
The "i18n:collect-phrases" command does not collect all translatable strings from JS
During module development I trying to collect all translations to the i18n/en_US.csv file using regular command:
sudo -u www-data php bin/magento i18n:collect-phrases -o /var/www/html/app/code/Vendor/...
0
votes
2
answers
9k
views
How to translate module with i18n
I met a problem that how to translate the module's phrase into other languages(eg. Japanese).
For example, some code may like this:
app/code/My_vendor/My_module/Controller/i18n/jp_JP.csv
"test","...