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

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

0
votes
0answers
16 views

Mageplaza Magento 2 brazil language pack is not working

composer require mageplaza/magento-2-portuguese-brazil-language-pack:dev-master php bin/magento setup:static-content:deploy pt_BR php bin/magento cache:flush I ran those commands language appear in ...
0
votes
0answers
11 views

Translating urls (e.g. wishlist)

I want make urls to be all in polish language (wishlist, checkout etc.). I'v searched forum and I found some solutions: create router that will redirect to orignal controller make redirect url in ...
0
votes
1answer
24 views

Proper path to place template overrides and translations for Mageplaza Blog extension

I recently installed Magento 2 Blog extension FREE and I want to adjust templates to suite my theme and add some translation strings. I know that template overrides should be placed in: app/design/...
0
votes
0answers
20 views

Translate labels of options from attribute

I try to translate my options label for an attribute using installer. I try this code : $attributeId = Mage::getResourceModel('eav/entity_attribute')->getIdByCode('catalog_product', 'my_attribute'...
0
votes
0answers
14 views

Translate javascript validation messages

Got problem with validation, all the strings not javascript ones are easily translated via my .csv file located at app/i18n/vendor/language_language/language_language.csv, putting a string from js to ...
0
votes
0answers
19 views

translate.csv not working

I have added a custom theme. My store is in Norwegian, so I added: /app/design/frontend/MyTheme/default/locale/nb_NO/translate.csv translate.csv: "Featured products","Aktuelle produkter" list-...
2
votes
0answers
22 views

Magento 2. 2 Mail template can not be translated

I am offering English and Japanese in Magento 2 project. We respond to customer's inquiries about products. I want to make the mail template of that module correspond to Japanese, but it is not ...
0
votes
2answers
36 views

Magento Double underscore translate function

How can I check if $this->__("something") returned a translated version or not?
0
votes
2answers
23 views

Where is decided wether frontend or backend locale is used for translation?

For the shipment email, I get the payment info from a third party extension. But the info field names are in English, while the rest of the email is in German. After some bug searching I found that ...
1
vote
0answers
19 views

I want to know how to translate Magento 2 mail templates

I am providing English and Japanese in Magento 2 project. We respond so that customers can inquire about products. I'd like to make the mail template of that module correspond to Japanese, but it ...
2
votes
0answers
47 views

Merge different language csv to determine which phrases missing a translation

Currently we have our shop only in English language and want to add an Italian one. So we have collected all phrases with bin/magento i18n:collect-phrases --magento --output="en_EN.csv". We installed ...
1
vote
0answers
15 views

REST - Localised Response

I am building an app with localisation using the REST API and I want the API to return localised messages (e.g. response messages and shipping methods). How can I achieve this?
0
votes
2answers
41 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
375 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
36 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
25 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
23 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
28 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
156 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
27 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
16 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
10 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 ...
1
vote
1answer
80 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
30 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
21 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
1answer
64 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
31 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
27 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
23 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
36 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
168 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
25 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
289 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
134 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
145 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
57 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
79 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
22 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
140 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
113 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
113 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
59 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,...
2
votes
3answers
625 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
106 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
523 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
60 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
50 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
27 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 ...