Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions related to localisation in Magento. This covers translations, currency and number formatting and in parts implementing local laws and standards.

0
votes
2answers
19 views

custom language package not working

Since the German translation of "Grid" within the german language pack is currently wrong (see here), I wanted to override it using a custom language pack (since you cannot override translations of ...
2
votes
1answer
256 views

How to put the text “Incl VAT” before incl price?

Where do I put the text "Incl VAT" before price? I found 'Excl VAT' but I can't find 'Incl VAT'. I know how to display both in and excl but not how I put the text "incl vat" before the price. https:...
1
vote
1answer
25 views

js-translation.json fails to generated

Magento 2.1 We have a site setup with both English and French languages. We were noticing some french translations weren't showing on checkout page. Upon further inspection js-translation.json was ...
1
vote
0answers
24 views

Magento - translation not working

I have activated magento admin login form captcha. I keep getting the message "Incorrect CAPTCHA" When i enter an incorrect captcha code, Actually I want to show german language text instant of ...
0
votes
0answers
17 views

How to translate text from advanced pricing?

Advanced pricing on a configurable product outputs text such as: "Buy %1 for %2 each and <strong class=""benefit"">save<span class=""percent tier-%3"">&nbsp;%4</span>%</...
1
vote
1answer
27 views

I need to design multiple stores in same domain [closed]

I am selling my products in three different countries so I need three different stores with different languages
0
votes
1answer
66 views

Magento 2.2.4 Change Country Names

I am wanting to change the names in English for countries in Magento 2.2.4. I tried looking through the database but it appears their full name is not listed there, just country codes. For my use of ...
0
votes
0answers
14 views

Validate form errors with custom locale messages

I found an extension to jQuery api which had locale phrases to translate error messages. I'm tryuing to translate that phrases to pt_PT. But I simply can't add code to my phtml such as: <script ...
0
votes
0answers
13 views

Export untranslated languages in csv Magento 1.9.2.3

I wanted to have an export of all untranslated languages in csv or excel. For categories, blocks, pages, product attributes etc etc.. except products. What i try to achieve is for example: if German ...
0
votes
0answers
9 views

How to change “excl. 0% tax” in category/catalog

Currently when I browse through categories on the Store frontend the products are shown like this: <name> <price> Excl. 0% Tax Delivery Time: 3-7 days How can I remove the 0% to only ...
4
votes
1answer
64 views

Magento 2.2.4 - Unable to overwrite Core Module Translations files

Here, I want to overwrite below csv file using the custom theme (without creating separate modules) It's should not take data from core CSV file. vendor/amzn/amazon-pay-and-login-magento-2-module/...
0
votes
0answers
34 views

Magento 2 - Different .phtml per locale

I need to have different .phtml files(or parts of one) per locale. my filepath is: design/frontend/<vendor>/<theme>/<module>/template/<path>/page.phtml Where I have to make ...
0
votes
0answers
28 views

Translation files for different stores of the same language

Different translation files that depend on the parent translation for different stores of the same language. I have 2 stores and one theme. It is necessary that some phrases differ on the pages.
0
votes
1answer
14 views

translation in html file

i have one legacy module with .html file, which contains label which i'd like to translate. Originally it looks like this: <label class="label" for="carrier_department"><span>text to be ...
0
votes
0answers
18 views

How to relabel/translate a Payment Method on Sales Order page

Task I'm trying to translate "Check / Money order" to "Quote" in the Backend of Magento 2. This label is displayed on the Sales > Order screen after taking a payment with this method. Tried ...
1
vote
0answers
28 views

Inconsistent translations populated in the js-translation.json

Can anyone please shed some light on the js-translation.json and where it pulls the phrases in from? We have a Spanish store view and we have 934 phrases translated in our app/i18n/vendor/es_es/...
1
vote
0answers
23 views

Product weight is not allowed in my custom shipping method in French language in magento 2

I have two stores one is en_US and fr_FR. In en_US store my shipping is fetching data with out any issues. But in fr_FR store my shipping is not working. It shows error like below, [2018-04-10 05:32:...
0
votes
0answers
21 views

Convert latin to cyrillic in Magento

Is there any plugin (free or commercial) which can translate latin into cyrillic? So plugin would work like this I would uplod data for news, products etc. in Magento Admin panel in Latin letters - ...
1
vote
1answer
35 views

Exception in magento2 in fr_FR language

I have installed fr_FR package in magento2 site. But in detail page and checkout page I am getting error like below, [2018-03-24 13:10:46] main.CRITICAL: exception 'Zend_Locale_Exception' with ...
0
votes
2answers
92 views

“Success page” text translation on success page

I can't find anywhere, where I can translate "Success Page" text - https://www.dropbox.com/s/vsfwyysmts4h4by/Screenshot%202018-03-13%2007.25.45.png?dl=0 Can anyone help me?
0
votes
1answer
24 views

Magento 2 Registration form in parallel language

I have a requirement to show Registration form in two languages parallel, English in the left and Arabic in the right and User can add information in either or both fields and the information is saved ...
0
votes
0answers
232 views

Category name (title) translation issue in Magento 2

I have 2 store views (english and another language) in one of my Magento 2 projects. The problem I'm facing is that one of the categories has the name "Role", which is also an English word. So when ...
0
votes
2answers
98 views

How to get the language code of an order?

With the order id, how to retrieve the language code from the order or from the user ? (anything that looks remotely like EN, ES, FR, or en_UK, fr_FR). For example : if the user has been on a website ...
1
vote
1answer
94 views

How to add translations to my custom validation

I have added my own custom validations, with a JS mixin, like: validator.addRule( 'validate-jurgis', function (value) { if (value.match(/\d/)) {return false;} else {return ...
0
votes
2answers
49 views

Magento 2 Translate Modules for a theme

I want to translate terms from various magento modules for a custom-theme (based un Luma). What I've been doing: Created a list of translation terms app/design/frontend/vendor/theme/i18n/de_DE.csv ...
0
votes
0answers
64 views

Magento2: re-send email order confirmation with translation outside Magento 2.1.4

I'm trying to send the confirmation email outside Magento CE 2.1.4 through the code below, the confirmation email from outside is sent but only in english and it's not translated if the order is being ...
1
vote
1answer
23 views

Static-content deploy runs only for en_US by default

Is it possible to set other local as default for static-content deploy command somehow? I have "he_IL" store (This is single lang store and I set this lang at the installation, nothing was added ...
0
votes
0answers
20 views

Text changes in original theme files - overriding __() translation method

Long story short: How can I change a translatable string (NOT the translated string) without touching a template file? I.e. $this->__('Print this') needs to become $x = Mage::getSingleton('core/...
0
votes
0answers
73 views

Issue in language translating

I am trying to translate one language to other language in Magento 2.2, all the steps are working fine and translate correctly but few things are did not changed, I need your help friends. When I try ...
1
vote
1answer
48 views

Custom Translation in Magento 2

I cannot make translation for Magento 2. What I've been doing is: Created a custom theme Now I want to apply some german translations Made a csv in vendor/theme/i18n/de_DE.csv Tried to bin/magento ...
1
vote
0answers
101 views

Remove additional comma in Magento-2 price

There is an additional comma in the product price .. you can see live : https://clothat.com/elnaksha-1.html I want to remove it .. and is this problem related with the Arabic Language ?
1
vote
1answer
55 views

Can't send sitemap for my Multistore to Google

I have a rare error. I have translated my website in to multiple languages, using Magento, like www.example.com/de Now, I have added www.example.com/de in Search console and I want to send the sitemap,...
1
vote
3answers
347 views

Add Language translation text in magento2

I have added the new field in Customer navigation section near the Sign In, For that new field I need to fr_FR translation where I need to add the translation text? Those translation files are working ...
0
votes
0answers
94 views

Translate Shipping and handling, grandtotal, subtotal for PDF invoice, from backend in Magento 2

How can I translate the "Shipping & Handling", "Subtotal", "Grand Total" from the PDF invoice that is generated after you press the button PRINT in the backend. The invoice needs to be translated. ...
0
votes
1answer
337 views

Magento 1.9 Where is the translation file defined?

In my Magento folder, under locale/ I have a list of folders with translation files, and I have configured different Magento stores in Admin. But some stores don't use the correct translation file. ...
1
vote
0answers
46 views

Magento 2 - Translate Cancel Button

The Javascript translation in Magento 2 is buggy as hell. And I just can't get the cancel button for the minicart dialogue translated. The one when you try to delete a product from the cart. I even ...
0
votes
0answers
43 views

Magento 2 Cyrillic to Latin

How to replace Serbian Cyrillic in Serbian Latin? The Serbian language has two letters Cyrillic and Latin. All versions of Magento (so far) have taken Cyrillic as default (when selecting ...
0
votes
0answers
25 views

translation of customized pdfs doesn't work

I created a module called phil/pdfs to customize the pdf of magento_sales module. Everything works fine but the translation. Collecting the phrases with i18n tool returns all phrases I want to ...
1
vote
1answer
38 views

How to install a language pack for 3 or more languages in Magento 2?

I have 3 languages in my site English, Danish and Swedish.I have created i18n folder in Magento_root/app path and I have language.xml, composer.json, da_DK.csv and registration.php files inside da_DK ...
2
votes
1answer
21 views

How to define default language behind selected one for backend

I've selected Spanish language for the back end and the translation is not completed. I understand that, but there is a problem: if translation is not available, the text is shown in German. I can't ...
0
votes
2answers
272 views

Magento 2 : How to override translation file module wise?

I need to update translation file only for checkout page , so how can I do that . I don't want to use translation file which is use in theme folder.
0
votes
1answer
45 views

Translate for specific customer group - Magento 1.9

Pretty straight forward really, obviously I can do translations via the following file: app/design/frontend/theme/default/locale/en_GB/translate.csv But this will do it across the whole site, for ...
2
votes
0answers
44 views

Add and edit words to Magento 2 language dictionary

I have installed language pack from MagePlaza on Magento 2 . Most of the words got translated, I need to edit the untranslated words. I edit in this file app/i18n/mageplaza/da_DK.csv and deployed ...
1
vote
0answers
56 views

M1.9 Translation string with link in csv

In my login.phtml I have a custom string containing a link and I do not succeed to translate it with the translate.csv of my custom theme. 'If you are private customer please visit our <a href="...
0
votes
0answers
124 views

Magento2: Translating %1 in db

I want to translate this string: Minimum of different classes of characters in password is %1. Classes of characters: Lower Case, Upper Case, Digits, Special Characters. I'm trying to do it with ...
0
votes
0answers
47 views

Magento 2 :Price decimal mark replaced to [object Object] (Locale problem)

I got price format problem at product detail page after I change my store locale to Chinese (Hong Kong SAR China) (zh_Hant_HK"). There are no problems if I use English(US). And I have tried different ...
0
votes
1answer
17 views

Javascript translation doesn't work

I've got problem with default translation built in magento 2. A made static content deploy, file js-transation.json generated properly but strings didn't translated. Site: test-php.pl Version magento ...
0
votes
2answers
201 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","...
0
votes
0answers
40 views

How to translate widgets within Magento 2

How are widgets translated in Magento 2? I notice you can select which store view the widget displays in, but widgets don't have unique identifiers (i. e. "no-route") like pages and blocks do. Without ...
0
votes
1answer
219 views

Magento2. Knockout. Translation doesn't work

Please advice is there any pre-requirements to translate in *.html files Works: <button type="submit" class="action primary"><span>Send link to a Friend</span></button> Don'...