All Questions
492 questions
1
vote
1
answer
3k
views
How to use frontend calendar localization?
I'm becoming crazy with the frontend translation of the mage/calendar widget in Magento 2.
Does somebody know how to localize it?
I have a calendar that's showing up on the front (from a bought ...
0
votes
1
answer
623
views
Magento 2: Some texts are not translated
Magento 2.2.6: Some texts are not translated, like Proceed to checkout, Company, Continue Shopping etc.
I am using below string:-
"Proceed to Checkout","ادفع الآن",module,Magento_Checkout
"Proceed ...
1
vote
1
answer
3k
views
How to translate knockout string variables in Magento 2
I'm extending and translating a third party module which has the following in a template:
<!--ko foreach: options-->
<div class="option">
<label data-bind="i18n: label"></...
0
votes
2
answers
126
views
Magento 2 mongolian language
We setup the multilanguage websites. I'm trying to setup the website for Mongolian Country. In default magento missing the mongolian Locale language. How to add this language in locale.
0
votes
1
answer
1k
views
How can I change language in param of REST API?
I want to change language in REST API.
ex.
integration/customer/token for Japanese is "error message = Japanese translation"
integration/customer/token for English is "error message = English ...
1
vote
1
answer
3k
views
Magento2-Translation not working in js files
I was trying to make translation in JS files.
I have tried
1
require([
'jquery',
'jquery/ui',
'mage/translate'
], function($){
$(window).load(function() {
alert($.mage.__('Your ...
0
votes
0
answers
148
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
1
answer
634
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/...
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....
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 ...
0
votes
2
answers
724
views
Magento Double underscore translate function
How can I check if $this->__("something") returned a translated version or not?
0
votes
2
answers
1k
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
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 ...
0
votes
2
answers
660
views
Magento 2 minicart translation issue on some browser
I have Magento 2.2.5 website running successfully, but I am facing one serious issue on Minicart section and add to cart button. Everything get translated but on some browser like chrome and safari ...
6
votes
2
answers
774
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
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
2
answers
732
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
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:...
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 ...
4
votes
1
answer
517
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, ...
1
vote
1
answer
35
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
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 ...
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/...
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
...
2
votes
1
answer
2k
views
Magento 2 can't translate modal's title
I'm using a modal to show conditions for subscribing to a newsletter list. But I'm having trouble translating the title when initializing the modal inside a phtml file.
The modal opens normally, but ...
2
votes
1
answer
7k
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 ...
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 ...
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:...
0
votes
0
answers
82
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
1
answer
174
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
2
answers
849
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
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 ...
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 ...
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 ...
1
vote
1
answer
498
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
2
answers
488
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 ...
1
vote
1
answer
130
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 ...
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 ...
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,...
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 ...
0
votes
1
answer
626
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
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. ...
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 ...
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 ...
2
votes
2
answers
5k
views
Magento 2 JS Translation Not Working
Is this a magento bug or is something I am doing it working
I had created my translation file in my module i18n. For testing purpose I just modified few text.
app/code/Vendor/Namespace/i18n/en_US....
1
vote
1
answer
373
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 ...
2
votes
1
answer
32
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 ...
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.