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
8 votes
2 answers
1k views

Translating custom strings into theme knockout templates

I know that this issue has been dealt with several times in this forum Magento2 localisation Javascript Magento 2 - translating problem in JS templates Magento2 translating Javascript (KO) template ...
nuovecode's user avatar
  • 644
0 votes
1 answer
1k views

Magento 2 : Translate string in function in knockout template

In a Magento Knockout template I find a function like so: <element data-bind="something: function() { return 'some string'; }" /> How can I translate this string? I tried following, but it ...
steros's user avatar
  • 1,622
1 vote
0 answers
870 views

Back in stock alert email isn't translated (Magento 2)

In a new Magento 2 setup I'm testing the back in stock alert email, but the text in the email isn't translated. I'm using the dutch translation package of magento2translations, this contains the text ...
mikesteeghs's user avatar
3 votes
1 answer
2k views

Translations not working, Magento_Checkout

I'm facing the problems with Finnish translations (Magento ver. 2.1.7). The main pages are translated but all the Magento_Checkout translations are in English. It seems that this is bug in the ...
user57360's user avatar
2 votes
4 answers
5k views

Converting a locale date to YYYY-MM-DD

I have a datepicker in my site which formats the time in the current locale. So the time gets sent to the server in d/MM/yy-format. The locale on the frontend is determined by Magento\Framework\...
Giel Berkers's user avatar
  • 12.3k
1 vote
1 answer
195 views

Inline translation: slowing magento down and other pros and cons?

I like to do my custom translations using the inline translation tool in M2.1. My questions are: What, in general, are the downsides of this method? Are there any pros (apart from that the method is ...
Els den Iep's user avatar
1 vote
1 answer
485 views

Magento 2 - How to Overwrite Default Translation Core en_US Dictionary Package

I want to change the word "Magento" to "Magento 2 CE" for the Default Translation Core en_US Dictionary Package. How to achieve this without overwrite Magento's core functionality directly at vendor/...
rubenromao's user avatar
0 votes
1 answer
58 views

Identify translation string and disadvantages of inline translation

I have successfully translated Magento 2 by following this video: https://www.youtube.com/watch?v=wtVperaeOac The translation pack that I downloaded was not perfect but a good start and I have added ...
Kaki Sami's user avatar
  • 327
0 votes
1 answer
56 views

checkout page not working on multi-lingual website

I am building on bilingual Magento website Magento version 2.1.7 CE I just realized the checkout page on page on our french website is not working :( https://thailandfightgear.fr/checkout/ on the ...
claude Martinet's user avatar
0 votes
1 answer
868 views

Magento2 - Removing inline translations does not revert to original string

I have a web site that was originally translated using inline translation. I am in the process of moving the translations to a .csv file. However when i remove the translations from the inline ...
c2aFrederick's user avatar
1 vote
2 answers
5k views

How to change default language to French

I am working with Magento 2.1.7 and I want to set up a website that will completely display in French. I did install the community version, 2.1.7 of it and it works well. But I am trying to change ...
Georges Amos's user avatar
0 votes
1 answer
778 views

Magento Translation ver. 1.9.3.4

I am trying to Translate this phrase: Search entire store here... that appears in the default Search Form. So far I have tried adding it here: staging/app/design/frontend/default/mytemplate/locale/...
user2531490's user avatar
0 votes
2 answers
752 views

Switch language on front page not working

I have installed a language pack for my magento 2 site. wget https://github.com/mageplaza/magento-2-swedish-language-pack/raw/master/sv_SE.csv php bin/magento i18n:pack -m replace sv_SE.csv sv_SE php ...
Pacman12's user avatar
0 votes
2 answers
783 views

Where can I find the file for product view translation?

Does anyone know where to find the translation file for this line "Buy 2 for $84.60..." ? I am trying to change the default Chinese text in the 2nd pic. I am using Magento ver. 1.9.2.4
Jovi's user avatar
  • 1
0 votes
2 answers
544 views

Why the translation isn't working from XML file?

I'm using below code in my XML and translate it using translate.csv. But it isn't working can anyone please help me? <checkout_cart_index translate="label"> <reference name="...
MageLerner's user avatar
1 vote
1 answer
3k views

translating a string with html elements in it

I'm having trouble translating this string in M2. It has '' element in it, I have tried all possible string splitting options but none of them seems to work. Is there some kind of a trick that I don't ...
raouaoul's user avatar
  • 307
4 votes
1 answer
6k views

Magento 2: Translate input placeholder attribute string in Knockout html template

I can translate strings in Knockout html templates like this: <!-- ko i18n: 'Email' --><!-- /ko --> <span data-bind="i18n: 'Email'"></span> And the translations come from pub/...
user2759013's user avatar
1 vote
2 answers
2k views

Localized dutch date format

I'm using "AW blog" in Magento 1.9.3.2. On the homepage I've got the recently added blogs with the date, the date is now showing: 29 May 2017. How can I change that into Dutch like; 29 Mei 2017? I've ...
n00bly's user avatar
  • 623
1 vote
1 answer
5k views

In Magento 2, what does `translate="true"` really do in XML?

When I add translate="true" to my XML declarations of my own custom module, will Magento translate them automagically (given that I have the proper i18n CSV files for this)? Or is it only served as a ...
Giel Berkers's user avatar
  • 12.3k
1 vote
1 answer
943 views

Transactional email not translated for programmatically created invoice, shipping

Order emails are correct, but my invoice and shipping emails are not fully translated. Some fields are correct: billing/shipping address titles payment method title But some get not translated: ...
sv3n's user avatar
  • 11.7k
0 votes
1 answer
462 views

How use in Magento2 inline translations with chosen locale in code? How select locale for inline translations in Magento2?

We need to have ability in code use inline translations with translated strings from csv files with selected locale, which is different from store. For example, user select english language in ...
yehor test's user avatar
2 votes
1 answer
2k views

change "We can't find products matching the selection" massage in magento 2.1

I'd like to change this message to 'We can't find products matching the selection' and 'You don't subscribe to our newsletter' default massages. Can anyone suggest how this can be done in Magento 2....
ss222's user avatar
  • 81
5 votes
1 answer
3k views

Magento 2:i18n folder to custom theme

I want to edit .csv file in module-wishlist to my custom theme. I have copied the the file from module-wishlist and copied to app/design/frontend/vendor/theme/Magento_Wishlist/i18n/en_US.csv. ...
Vindhuja's user avatar
  • 1,395
1 vote
1 answer
221 views

Magento 1.9: Missing translation of the minicart "remove item" pop-up buttons?

The pop-up window which is shown when clicking "Remove item" in the mini-cart ("Are you sure you would like to remove this item from the shopping cart?") shows two buttons "OK" and "Cancel". In my ...
Aron's user avatar
  • 73
0 votes
0 answers
135 views

Magento 2 locale issue

I have install en_GB locale and deployed content with both: php bin/magento setup:static-content:deploy and php bin/magento setup:static-content:deploy en_GB I've also cleared cache and did: ...
Rajbir Singh's user avatar
0 votes
2 answers
3k views

How to translate string from extension controller to AJAX call?

I want to use my local theme's locale csv file to translate a status message that comes from a plugin and is called in the theme via AJAX. I'm not sure how or where though. My plugin creates '...
Asitis's user avatar
  • 1,247
2 votes
2 answers
3k views

Magento2 override core module translation file not working

Want to update some labels from vendor\magento\module-fedex\i18n\en_US.csv file. Like from Standard Overnight, Standard Overnight to Standard Overnight,FedEx Overnight (1-2 business days). How can ...
Preetesh's user avatar
0 votes
2 answers
2k views

magento 2 translate shipping method title

I am trying to convertshipping method title but it's not working. I am using porto theme for magento 2. In theme there is Folder i18n. for free shipping method i have placed title FRee Shippings now ...
jack's user avatar
  • 920
0 votes
1 answer
1k views

How to change the title from Payment Information to Payment Method in onepage checkout?

How to change the title PAYMENT INFORMATION to PAYMENT METHOD? I have changed "Payment Information","Payment Method" in /app/locale/en_US/Mage_Checkout.csv but didn't work.
Doodu's user avatar
  • 328
1 vote
1 answer
292 views

How to change text of coupon code the correct way (not editing core file)

I am a front end developer trying to figure out how to override app/code/core/Mage/XmlConnect/controllers/CartController.php So I can change the coupon code error text, can anyone please guide me on ...
Kara's user avatar
  • 179
0 votes
2 answers
49 views

Translation of "Back" text in the iphone template

I am not able to find the place to translate "Back" Button text in the Iphone template. I tried translation in few .csv files but it didn't work. Looking for help to find it.
Marcel's user avatar
  • 165
7 votes
2 answers
703 views

Magento 2 Translate modules separately?

Is it possible to keep different translate files for different modules? I have a large file with all translation in: app/i18n/magento/sv_se/sv_SE.csv This doesn't work: app/i18n/"vendor_module"/...
ineluki's user avatar
  • 189
3 votes
4 answers
239 views

If statement for translatable product attribute values

I'm using this kind of statements on other places in the webshop (product detail page) but I want to use this one is on the category page: <?php if ($_product->getAttributeText('...
n00bly's user avatar
  • 623
0 votes
2 answers
351 views

How to modify text string from this JavaScript file

I would like to change a text string in this file, to be Add or Added to Basket depending on which page the user is on: app/code/Magento/Catalog/view/frontend/web/js/catalog-add-to-cart.js To ...
Holly's user avatar
  • 4,873
1 vote
0 answers
73 views

Creating new theme translate.csv files but with a different naming convention

I am on magento 1.9. So if I understand magento, you add theme translations to app/design/frontend/{site}/{theme}/locale/{locale}/translate.csv. My translate CSV has over several thousand lines which ...
user3685048's user avatar
3 votes
1 answer
2k views

Magento 2 : Priority of translation, proper way

I'm trying to set up a spanish-english store. I have my dictionary that I want to reutilize for other stores. It has all translations in spanish. I install this dictionary on app/i18n/vendor/es_es/ ...
Marc Pont's user avatar
  • 1,453
1 vote
1 answer
1k views

How to change the text of the sign in button on the top header of a magento store

I am currently developing my first Magento website and the whole functionality behind is overwhelming so I might have overseen the possibility to fulfill the task. I am looking for a way to change ...
noa-dev's user avatar
  • 113
2 votes
2 answers
3k views

Magento 1.9 - Translate text in php file

How I can translate this text in a php file, I want to translate $message if (!$this->_getSession()->getNoCartRedirect(true)) { if (!$cart->getQuote()->getHasError()) { ...
Robert's user avatar
  • 2,176
0 votes
1 answer
599 views

Magento 2 - Create a translatable custom model

I've created a custom model named "Post". It has some fields: a title and a content. How to make these fields translatable? More detailed question: The Magento 2 way to translate ? products / ...
Thomas Domingues's user avatar
0 votes
1 answer
70 views

Simple text translation depending on store view

I am creating a simple module that displays a date. I need the days (Monday, Tuesday, etc.) to be translated in the store view language. I've gotten lost in all the different ways that this could be ...
Metal Mathematician's user avatar
0 votes
1 answer
696 views

Javascript translation not working

I have override the register template in my custom theme. In this form use the validation to validate my fields but the translation of the error messages aren't showed. I declare the function where I ...
Kpone's user avatar
  • 371
1 vote
0 answers
39 views

Apostrophe inside magepage.csv makes SyntaxError

I'm confronting 2 Magento eCommerce, one is 1.9.2.1 and the other 1.9.3.2, they both have this translation inside Mage_Page.csv "- Use the %s, %s buttons to select year","- Usa i bottoni %s, %s per ...
LaurenFrida's user avatar
3 votes
1 answer
1k views

How to add custom translations

Can any one help me to, Where i have to include translated text for German in which csv file have to include ? Find the below screenshot:
shivashankar m's user avatar
1 vote
1 answer
72 views

Make Magento aware of new translations csv files [duplicate]

My translations work as long as I copy/paste an existing Mage_*.csv file into my locale/{lang}/ folder. From there, I can delete what I don't want to override, add new text to work with my modules, ...
Brent's user avatar
  • 111
0 votes
1 answer
132 views

Wrong words translation - Magento 1.8

I am facing problem while translating text, I have two stores views, English and French. On French store view the text is translated with special characters. ex: Qty = Qté Recently added item(s) = ...
Charlie's user avatar
  • 3,136
0 votes
1 answer
255 views

Magento2 can't translate this sentence with "+"

In the "file vendor/magento/module-ui/view/base/web/js/lib/validation/rules.js" in line 433 Magento2 can't translate this sentence. But after remove "+" the translation is perfect. How I can ...
Sergiy Nenko's user avatar
1 vote
3 answers
3k views

How to translate products for multiple stores in Magento 2

I'm trying to set up Magento 2 to handle several stores, and each store in two languages. Structure is something like this: Website1 Store1 Danish English Store2 Danish English ...
Casper Skovgaard's user avatar
1 vote
1 answer
453 views

Can I make a root language folder in app/locale like in zend?

I'm a newbie to magento and even zend. I've noticed that in zend lib/Zend/locale/data locales are defined as a base file like en.xml and more locale files like en_uk,en_us. can I do that in app/...
M.Elwan's user avatar
  • 220
0 votes
1 answer
495 views

Running magento admin code in external script for import

I'm trying to import products from csv by calling an external script. I've done the same for export and this has been smooth. However, import is failing, as it doesn't seem to properly translate the ...
Alexander Gran's user avatar
0 votes
2 answers
2k views

Translate checkout strings

I want to transalte several strings in the checkout, however, putting them in a CSV or turining on inline translation doesn't seem to rename them. How can I rename Shipping, Review & Payments and ...
Max's user avatar
  • 1,844

1 2 3
4
5
10