Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
27 views

Translation not working for StripeIntegration_Payments

I tried to translate Card •••• %1 has been deleted. from StripeIntegration_Payments, but it's not working. I assume it's because of those bullets that should be escaped maybe, but I'm not sure. My ...
user avatar
0 votes
0 answers
25 views

Magento 2 Multiple translations

Is it possible to implement multiple translations in a "Magento 2" way? I have a form on my website where I should have the same language text as a user browser language. How to achieve it? ...
Duddy Woody's user avatar
0 votes
3 answers
97 views

Magento 2 + default url needs to traslate

Need to translate some default URLs like customer/account/login/ & customer/account/create/ is there any way to translate these URLs with/without using URL rewrite?
Mage2 Developer's user avatar
0 votes
1 answer
50 views

Translating Child Product Names in Magento

I would like to discuss a scenario regarding the translation of child product names in Magento according to their respective store languages. Currently, we have a Configurable Product with the name &...
Sheri's user avatar
  • 150
0 votes
1 answer
381 views

How to get the locale of the order's store?

I have an order model. How can I get the locale from the store view where the order was created in? Edit On some tutorials I found something like /** @var \Magento\Sales\Model\Order $order */ $order-&...
stollr's user avatar
  • 127
0 votes
2 answers
490 views

What is the purpose of the i18n/en_US.csv?

What is the purpose of the i18n/en_US.csv files within modules? As in... how are they specifically used? I realize it's for the purposes of translations, but I have tested adding translations for ...
Scruffy Paws's user avatar
0 votes
1 answer
183 views

Overriding a .phtml file in custom theme doesn't work

I've been trying to override D:\Projects\PMM-M2\public_html\vendor\magento\module-checkout\view\frontend\templates\success.phtml by placing the file in my custom theme at location D:\Projects\PMM-M2\...
CodeForGood's user avatar
1 vote
2 answers
1k views

Magento 2: How can we prevent HTML from being shown in the text that comes from en_US.csv file?

In en-US.csv file in our custom theme, I got a translation as below. "We'll email you an order confirmation with details and tracking info.","Within 10 minutes we'll send an email to ...
CodeForGood's user avatar
1 vote
0 answers
28 views

How to create non-modularized language packs

What are the structural differences and how do you create the non-modularized language pack? Per https://devdocs.magento.com/guides/v2.4/frontend-dev-guide/translations/xlate.html#m2devgde-xlate-...
Scruffy Paws's user avatar
0 votes
1 answer
235 views

Magento 2: Translation doesn't works in JS files. Can anyone help on this please?

define( [ "jquery", "Magento_Ui/js/modal/modal", "mage/calendar", "mage/translate", ], function($, modal){ // also ...
Shiv Om Mishra's user avatar
1 vote
0 answers
157 views

French translations are not working in email templates in Magento2

My email content is not translating to french, when admin user perform an action. We have admin form when user saved data we are triggering an email to the user. That respected email should be ...
Nagaraju Kasa's user avatar
1 vote
1 answer
265 views

How to translate Maintenance mode page for multiwebsites

I want to translate Magento 2 maintenance page as per country code Like :- magento2/it (In the Italian language) magento2/de (In German) I tried using csv but it doesn't work even using __('echo the ...
Arun Sharma's user avatar
  • 1,347
0 votes
1 answer
334 views

Module translation made update safe

What is the correct way to add frontend translation for modules that are installed with composer? The solution should be updated safely. Some extension providers instruct to save the translation file ...
Webninja's user avatar
  • 1,613
0 votes
2 answers
119 views

couldn't start dockergento and pull images

I am trying to setup new project locally but can't pull any docker images, tried on old project and still same issue. tried restarting everything, re logging in docker etc. pulled docker-hello ...
Giga Todadze's user avatar
0 votes
1 answer
908 views

Magento2 language/locale not working

So I installed Magento 2.4 via docker/composer on my development machine. I am trying to use the German (Germany) language for my store front view. I tried with just the default setup, I also tried ...
mrbrdo's user avatar
  • 101
2 votes
1 answer
493 views

crc_string field in the translation table

What is the role of the field crc_string in the translation table? I know what crc is in general, but how is this field used to detect (and maybe correct) errors in the strings, if this is its real ...
Marius's user avatar
  • 199k
0 votes
1 answer
212 views

Bug in translation add to cart: translation resets to default value after adding product to cart (only in production mode)

I experience a problem on a Magento 2.4.1 store. The problem: the Add to cart button on the product page is translated correctly on initial load. This is in Dutch in my case: "In Winkelwagen"...
Akif's user avatar
  • 1,551
0 votes
1 answer
513 views

Is it safe o update row from translation table in magento 2

To update inline translation value without enabling inline translation because its prod environment so Is it safe to update row from "translation" table using update query |key_id | string ...
user95504's user avatar
0 votes
1 answer
1k views

How to translate validation error message in checkout page Magento 2.3

Please any Ideas on how to translate the validation message on phone field on view/frontend/layout/checkout_index_index.xml: <item name="telephone" xsi:type="array"> <...
Alain Landry Noutchomwo's user avatar
0 votes
0 answers
117 views

How can I configure a multi lingual (language) website?

I have created following store structure; Website: xxx.de Store: Germany Store View: German Website: xxx.nl Store: Netherlands Store View: Dutch Website: xxx.fr Store: France Store View: French I want ...
Efex's user avatar
  • 73
0 votes
0 answers
348 views

Magento 2 modify CSV file translation not taking place

I added my translation text into the csv /app/i18n/vendor/fr_ca/fr_CA.csv for the Magento Review Module "Write a review","Écrire une critique",module,Magento_Review However, I ...
Paul Fan's user avatar
  • 658
1 vote
1 answer
509 views

Translation doesn't work on breadcrumbs added by xml in Magento 2

I am trying like below to put Breadcrumb and translation in Contact page of Magento 2. But can't translate. I put translation file under /vendor/magento/module-contact/i18n/zh_Hant_TW.csv Is it not ...
Nang's user avatar
  • 33
0 votes
2 answers
287 views

Change some words translation in vendor

I've installed spanish translation from composer package (mageplaza). this package, create a file "es_ES.csv" in vendor/mageplaza/mage...spanis/es_ES.csv I would like to change some words... ...
aib.ts's user avatar
  • 11
0 votes
1 answer
673 views

Translate html tag in magento 2

I have a html template with a string that's translated. The translation contains a html a tag. but the tag is printed as text when rendered. .html file content: <p>{{trans "...
Jonas de Herdt's user avatar
1 vote
2 answers
604 views

How to translate "Filter by" in magento 2

I want to translate Filter by text: I have translated it in app/i18n/es_ES.csv and in app/design/frontend/.../Theme/i18n/es_ES.csv but this doesn´t work. I have tried all the possibilities: What can ...
IvannVerano's user avatar
0 votes
1 answer
94 views

How to Translate api error

I want to translate api error messages in arabic. please let me know how I can do it. I have tried using csv but not working.
Hitesh Agrawal's user avatar
2 votes
1 answer
726 views

How to translate text in shipping-estimation.html

I need to translate the text Enter your billing address to get a tax estimate. in vendor\magento\module-checkout\view\frontend\web\template\cart\shipping-estimation.html It is a text showing in the ...
Black's user avatar
  • 3,431
0 votes
2 answers
628 views

How to translate b2b roles and permissions?

I have a what should be a simple task of translating the roles and permissions control page in b2b but I just cant make it work I know that the texts are from this file vendor/magento/module-company/...
Omar Tuffaha's user avatar
0 votes
1 answer
2k views

Magento 2: How to use translation to change the adminhtml button text?

I want to change the invoice button name on the sales order, how to do that using translation (i18n) For testing I tried to change the translation in this path /vendor/magento/module-sales/i18n/...
Rahul Singh's user avatar
  • 1,650
0 votes
2 answers
77 views

Translation problems for some elements

I use an MG 2.3.4 installation and add the splendidinternet/mage2-locale-de-de component to apply German as used language for the frontend. It works. I also use a simple custom skin, based on Luna. ...
Mario's user avatar
  • 405
0 votes
0 answers
196 views

Issue with Inline Translation

Can anyone help me with translation I have translated few words inline for example below is entry in database +--------+--------------------------------------+----------+------------------------------...
Hitesh Agrawal's user avatar
2 votes
1 answer
10k views

Magento2 Knockout js - translate variable text

I'm trying to translate text that comes from a variable in Knockout html file, but I can;t find the right way. Here's some things I tried: <dt class="label" data-bind="html: i18n(option.label)">...
zekia's user avatar
  • 660
2 votes
3 answers
2k views

Magento2- Email template not being translated

I have created a custom email template, all works well everything is shown, except when I use the trans dictionary to translate a string from English to German, the translation does not seem to work. ...
Petar Borisovski's user avatar
0 votes
1 answer
151 views

M2: no_NO not recognised despite installed via community engineering lang pack

bin/magento info:language:list This return nb_NO and nn_NO for Norwegian, however no_NO does not exist. I can see some packages having the no_NO language file though (Stripe, Mageplaza). I tried to ...
Vincent Teyssier's user avatar
0 votes
1 answer
123 views

How can I know which country code should be used for translation file?

I want to translate store to Serbian language and in official Serbian translation there are 2 types Alphabet and Cirilic letters: sr_SP.csv sr_CS.csv But there is only one Serbian in localisation ...
Mr. Kovalski's user avatar
2 votes
0 answers
605 views

Magento 2 - translations on checkout

I've got a big issue with Magento 2.3.1, and translations on checkout, for store made in two langs - EN and PL. (PL set as default store) I've got a custom template, with elements that override Luma, ...
gachowy's user avatar
  • 21
2 votes
0 answers
70 views

How add declension of nouns based on numeral argument value

I know that in Magenta version 2 and above, the option for declension of nouns based on the numerical value of the argument is added: %1 [%1|cat|cats] -> 1 cat / 2 cats But I don’t understand how ...
Никита Якушев's user avatar
1 vote
2 answers
609 views

Magento 2 translation package not making a change on website?

What i want? I want to translate Magento 2 to Serbian language. What i did? I followed instructions on magento official guide for making a language package. I followed the "create a language ...
Mr. Kovalski's user avatar
1 vote
0 answers
18 views

Magento 2 Complete extension translation

I have created a dictionary with this command: php bin/magento --output="lang.csv" i18n:collect-phrases app/code/NewModule This extension has files also into the app/design directory, does I need to ...
blob's user avatar
  • 455
0 votes
1 answer
426 views

Magento 2.3 - Can't translate product name

After I upgrade my store to latest Magento 2.3.3 version, I can't translate Product Name in the Backend there is not any checkbox or something. Like this is now: So there is not anyway to translate ...
Robert's user avatar
  • 2,186
0 votes
1 answer
326 views

Magento 2: Cannot override translation csv

I need to change the default text of the review submitted into another one. Right now, I have the default text which is "You submitted your review for moderdation" and I want it to change it in "...
Gerardo Siano's user avatar
2 votes
1 answer
1k views

How can I automatically collect new translations without overriding already translated strings?

As far as I understand, there are three steps to adding translations: collect phrases (bin/magento i18n:collect-phrases ...) to a CSV file that has two columns, e.g., "order","order" replace the ...
Daniel's user avatar
  • 123
2 votes
1 answer
338 views

How to properly transalte All Categories to another language?

I have multi language store, what I want to accomplish is to have my search bar categories field translated into two languages. I cannot seem to find how to translate "All Categories" to another ...
h3k's user avatar
  • 171
2 votes
2 answers
2k views

Magento 2: How to translate %changes in email templates

There are some email templates that use variable %changes and I'm not able to translate the text (password) it outputs. How do I translate it? I have tried CSV file with no luck. Here is an example ...
Webninja's user avatar
  • 1,613
1 vote
2 answers
2k views

Display date in different languages

On our store we have a blog where we show the "created_at" date of the entity. But we show the same post to 5 different languages. Of course the content is translated but we don't know how we should ...
jonasG's user avatar
  • 144
1 vote
1 answer
263 views

Get frontend translation phrases

I'm trying to collect all phrases for a customer. When I ran bin/magento i18:collect-phrases I get all the phrases in the admin section and I don't want that because it is way to much. I thought of ...
Arno Vande Cappelle's user avatar
0 votes
1 answer
193 views

Is it possible to include a link in a translation?

We disabled the guest checkout. To try to make the response a bit more user friendly, I tried to do this in our translation file in our theme: "Guest checkout is disabled.", "You must <a href=""/...
mattbryanswan's user avatar
1 vote
3 answers
2k views

How to change text "You have no items in your shopping cart." in minicart in magento 2

How to change the text "You have no items in your shopping cart." in mini cart in Magento 2
Divya Sekar's user avatar
  • 1,295
1 vote
1 answer
226 views

M2 - Translate password requirements alert

In Magento 2 on the checkout page, you'll see a notification if you enter a password that not matches the requirements. You see this: "Minimum of different classes of characters in password is 3. ...
n00bly's user avatar
  • 623
0 votes
1 answer
43 views

Magento 2.2.8 ignores my theme's dictionary

I'm hitting my head against a wall on this one. I've gone through not only the Magento documentation regarding custom translations in themes, but also many answered questions found via Google, and ...
Crankycyclops's user avatar