Skip to main content

Questions tagged [localisation]

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

Filter by
Sorted by
Tagged with
6 votes
2 answers
757 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 ...
Daniel's user avatar
  • 2,229
1 vote
0 answers
26 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?
evenwerk's user avatar
  • 111
1 vote
2 answers
702 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 ...
fritzmg's user avatar
  • 747
2 votes
2 answers
2k 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:...
MaartenV1's user avatar
1 vote
1 answer
1k 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 ...
user1155594's user avatar
4 votes
1 answer
509 views

Translation not working for captcha module

I have activated magento admin login form captcha. I keep getting the message "Incorrect CAPTCHA" When i enter an incorrect captcha code, I want to show the german language text instead of english, ...
Black's user avatar
  • 3,380
1 vote
1 answer
34 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
Malinga Prabath's user avatar
0 votes
1 answer
1k 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 ...
Kai's user avatar
  • 57
1 vote
2 answers
296 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/...
Ravi Dudhara's user avatar
2 votes
1 answer
6k 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 ...
bofh's user avatar
  • 197
1 vote
1 answer
1k 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 ...
Craig's user avatar
  • 2,650
1 vote
1 answer
279 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/...
Toni Procter's user avatar
1 vote
0 answers
47 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:...
Jeeva Chezhiyan's user avatar
0 votes
0 answers
80 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 - ...
DaniKR's user avatar
  • 115
1 vote
1 answer
167 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 ...
Jeeva Chezhiyan's user avatar
0 votes
2 answers
834 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?
Brek's user avatar
  • 1
0 votes
1 answer
109 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 ...
riksof-zeeshan's user avatar
2 votes
1 answer
2k 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 ...
Lez's user avatar
  • 2,917
0 votes
2 answers
1k 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 ...
Cedric's user avatar
  • 159
1 vote
1 answer
489 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 ...
Metal Mathematician's user avatar
0 votes
2 answers
472 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 ...
Bernhard Prange's user avatar
1 vote
1 answer
121 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 ...
Stepan Furman's user avatar
1 vote
2 answers
3k 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 ...
Bernhard Prange's user avatar
1 vote
0 answers
305 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 ?
Fady Nagy's user avatar
1 vote
2 answers
326 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,...
Pol's user avatar
  • 13
2 votes
3 answers
3k 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 ...
Jeeva Chezhiyan's user avatar
0 votes
1 answer
614 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. ...
Raluca Albu's user avatar
0 votes
1 answer
2k 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. ...
Magento Learner's user avatar
2 votes
1 answer
562 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 ...
alobeejay's user avatar
  • 467
1 vote
1 answer
63 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 ...
Phil Kay's user avatar
1 vote
1 answer
367 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 ...
saravana's user avatar
  • 121
2 votes
1 answer
31 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 ...
Mario M.'s user avatar
  • 133
3 votes
2 answers
2k 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.
Dhaval Vaghela's user avatar
0 votes
1 answer
161 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 ...
andy jones's user avatar
  • 1,383
4 votes
1 answer
762 views

Add and edit words to Magento 2 language dictionary

In Magento2 - I have installed language pack from MagePlaza. 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 ...
hln's user avatar
  • 125
1 vote
0 answers
93 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="...
Th. Schott's user avatar
0 votes
1 answer
64 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 ...
Marek Woźniak's user avatar
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","...
toshinou's user avatar
2 votes
2 answers
3k 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'...
zhartaunik's user avatar
  • 3,846
2 votes
1 answer
542 views

On mobile submenu 'All %categoryname' is not translated - Magento 2

I can't translate the string 'All' from the subcategory on mobile menu. The file where the string appears is menu.js located on public/lib/web/mage/ And it looks like this: .text($.mage.__('All ') + ...
Raluca Albu's user avatar
0 votes
2 answers
44 views

In Magento1, how do you establish where the translations csv file is to be uploaded?

I have my translate.csv file ready to upload into a Magento setup. So we are changing words from Magento default like Tax to be VAT instead. I understand different setups will have this file uploaded ...
MagentoMac's user avatar
  • 1,042
1 vote
1 answer
1k views

Magento 2: Validate error from review form on product page does not translate

The message 'Please select one of each of the ratings above.' is not translating, when you try to add a review without choosing the stars. The form is located in the file form.phtml vendor/magento/...
Raluca Albu's user avatar
1 vote
1 answer
8k views

How to translate PHTML text including html markup

I'm familiar with how to translate strings including variables such as <?php echo sprintf(__('Hello %s'), $yourVariable) ?> So what's the cleanest way to translate this example in a PHTML ...
Ben Crook's user avatar
  • 15.7k
3 votes
1 answer
2k views

Magento2 : Update translation using API response

I want to know how to update some translation through Magento 2.1.9 REST API. For example, when I add a configurable product in the cart thanks to the Magento 2.1.9 REST API, if the user do not ...
Franck Garnier's user avatar
0 votes
1 answer
81 views

Translation of Magento (Frontend) v1.9.2.4 to Serbian

I have to translate Magento frontend to Serbian. How can I do that and where can I find the translation files? I am guessing I have to just put them in locale/sr_SR.csv, but not really sure. Neko zna ...
Vladimir Despotovic's user avatar
0 votes
1 answer
275 views

php date always displayed in Dutch [duplicate]

I currently use the following code to display some date inside my Magento store: setlocale(LC_TIME, 'nl_NL'); $today = new Zend_Date($_product->getData('delivery_eta'), 'MM-dd-yyyy'); $date = ...
JGeer's user avatar
  • 1,420
0 votes
1 answer
108 views

Translating "Please enter your email below and we'll send you confirmation link for it."

I'm trying to translate the string "Please enter your email below and we'll send you confirmation link for it." I've read the article here and adding "\" to confirmation.phtml works indeed. <?php ...
kiltro's user avatar
  • 3
0 votes
1 answer
317 views

Translate Filter button layered nav sidebar Magento 1.9

could anyone tell me how can I translate the value "FILTER" for button price in layered navigation? I have a multilingual site all translated except that label, always appear in English as you can ...
DanMar's user avatar
  • 51
0 votes
2 answers
235 views

String translation missing

I've translated the string "Account confirmation is required. Please, check your email for the confirmation link. To resend the confirmation email please click here." in app/locale/it_IT Mage_Customer....
kiltro's user avatar
  • 3
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 &...
St3phan's user avatar
  • 2,907

1 2
3
4 5
10