All Questions
127 questions with no upvoted or accepted answers
8
votes
1
answer
2k
views
"Interface Locale" admin language problem
In my admin page, the "Interface Locale" dropdown is not working. I already switched the default language to German, but is still shows English. The same with Chinese. How can I solve this problem?
7
votes
2
answers
706
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"/...
4
votes
1
answer
967
views
Multi Store view - product name for each store
I'm using Magento 1.9.0.1
I have a store in English, I want to have the same store (same categories and products) just translated to Spanish.
I used this tutorial to achive this: Ref.
I created ...
3
votes
0
answers
423
views
Dynamic content mage JS Translation
So first and foremost excuse me if this has been asked before, but there are so many questions regarding not working js translations that I didnt find any matching mine.
I had an issue where I wanted ...
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.
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 ...
3
votes
1
answer
72
views
Mutli store setup to use another store other than default as the default language for category and product translation
We have a multi store setup with our default store set to be in English.
We have a Dutch website (.nl) which inherits all of the English products and categories but we have altered the names, ...
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, ...
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 ...
2
votes
3
answers
345
views
theme language translation
I have installed a new theme, I created the i18n directory with the csv file.
I entered this command to create the dictionary:
php magento2/bin/magento i18n:collect-phrases --output="magento2/app/...
2
votes
0
answers
209
views
Magento 2.3 - How to modify language pack
I have a language pack that I cloned from git into my project.
The path to the module is: app/i18n/magenerds/de_DE
It's registration.phpsays
\Magento\Framework\Component\ComponentRegistrar::register(
...
2
votes
1
answer
1k
views
How to translate shipping method titles
I need to change the text for a shipping method title.
Currently we have
Federal Express
Express Saver
I would like this to say Express Saver (3 Day Delivery) instead of Express Saver on the ...
2
votes
0
answers
60
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 ...
2
votes
1
answer
565
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 ...
2
votes
0
answers
400
views
Magento2: can't translate transactional email phrases
I'm trying to translate some custom transactional email templates but I have some problems.
In the templates (mycustomtheme/Magento_Sales/email), strings are the same of the default luma ones.
If I ...
2
votes
0
answers
401
views
JS translation file is empty
I am using some translation packages from Packagist (magento2translations/*) and I have some translation files in my theme at app/design/frontend/Mytheme/mytheme/i18n. On the PHP side, they all work ...
2
votes
0
answers
114
views
Magento 1.9 - Multiple Storeviews for the same Languages
I've got a settings-related question for you all; we have a Magento 1.9 shop with something of the following store setup:
Store 1 - Storeview 1 - Language A
Store 1 - Storeview 1 - Language B
Store 1 ...
2
votes
0
answers
254
views
Load SHORT country names
I need to change the name value from
lib/Zend/Locale/Data/de.xml
I have there two lines:
<territory type="HK">Sonderverwaltungszone Hongkong</territory>
<territory type="HK" ...
2
votes
1
answer
2k
views
How to translate Magento validate.js error
I have a website with 2 stores (English and Spanish). Now I need to translate validation messages in Spanish. Like for example:
Please enter a valid email address.
Please suggest how I can ...
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-...
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 ...
1
vote
0
answers
424
views
Managing translations on CMS pages, blocks and strings on a Magento store as of 2021
After almost a decade staying away from it, I'm back on Magento development. I can see the platform has evolved quite a bit since then, but on the translation management side my feeling is that it ...
1
vote
0
answers
64
views
Magento 1.9 Localized product url keys
In Magento 1.9 we want to use localized product URL keys for different storeviews. The url key is a global variable and can't be changed by storeview.
Example:
English: www.example.com/en/addidas-...
1
vote
1
answer
525
views
How to translate a url automatically in Magento 2 community?
I have got two websites (one in french, the other one in spanish). I have set up two websites and not view stores because selling prices are different.
The main website is the french one. I have ...
1
vote
0
answers
79
views
Product names are randomly translated in Magento widget
I've implemented a custom product slider in my Magento store. Sometimes the product titles in the slider are in English instead of Dutch on the Dutch storeview.
When I empty the cache everything ...
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 ...
1
vote
0
answers
58
views
M2 - Weird translation window
We have Magento 2.3.0 and use the theme "Claue".
But with some of the translations, when I use the inline translations, I get a weird window with a lot of input field but no change to change the ...
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. ...
1
vote
0
answers
124
views
Magento 2.3. changing form validation options loses validation messages translations
I am running Magento 2.3. In the customer create account form I changed the way validation form errors are shown in this way:
var dataForm = $('#form-validate');
dataForm.mage('validation', {
...
1
vote
0
answers
223
views
English to english translation problem magento2
I am translating the text("You canceled the coupon code.") with "Thank you for canceling the coupon code" (This is just english to english translation) from Magento\Checkout\Controller\Cart\CouponPost ...
1
vote
1
answer
28
views
Limit Transactions to certain states
I'd like to exclude any users from California or Texas from purchasing our products. How do I accomplish this?
1
vote
0
answers
122
views
Magento 2: js-translation.json not generating in pub folder
On running setup: php bin/magento setup:static-content:deploy command,
js-translation.json is not generating in
"pub/static/frontend/theme_vendor/theme_name/en_US/--"
Any idea why it is ...
1
vote
0
answers
30
views
Translating Error Messages on Address Form
When only entering a few Required Fields when logged in and Adding a new address.
And then submitting that form, the error messages come back in English and not the translated format that is required....
1
vote
0
answers
114
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 ...
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?
1
vote
1
answer
1k
views
js-translation.json sample
I am having a translation issue where magento generates empty js-translation.json files only. This issue has been reported a number of times:
Github:
https://github.com/magento/magento2/issues/8508
...
1
vote
1
answer
295
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
0
answers
48
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:...
1
vote
0
answers
308
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
2
answers
338
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
1
answer
65
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
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="...
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/...
1
vote
0
answers
893
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 ...
1
vote
1
answer
202
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 ...
1
vote
1
answer
953
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:
...
1
vote
0
answers
75
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 ...
1
vote
0
answers
41
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 ...
1
vote
0
answers
52
views
Proper workflow to translate / work on csv files
We are developing our magento store with 3 languages with a bunch of customized modules. And the current translation workflow is slowing our project.
The current workflow is: Open each csv file with ...
1
vote
1
answer
427
views
Can't translate strings with .csv files
I have a store in three languages, and I installed an extension which have lines of code such as:
<?php echo $this->__('Email Address') ?>
And then I have this string translated in each of ...