Questions tagged [translate]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
1answer
314 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 ...
3
votes
1answer
3k 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 &...
3
votes
1answer
2k views

Magento 2: js-translation.json 404 (Not Found) on production mode

After switching to the production mode, an error appeared in the console : pub/static/adminhtml/Magento/backend/en_US/js-translation.json 404 (Not Found) pub/static/adminhtml/Magento/backend/en_US/js-...
3
votes
2answers
685 views

Translation of name prefix options

I'm setting up a Multi-store in English, French and German. I'd like to enable Name Prefix as an optional field but Customer Configuration > Name and Address Options is only editable at the website ...
3
votes
1answer
74 views

Magento translation of configurable product

I am using pickpack to print a PDF sheet of the purchase but it is using from Catalog/Attribute/Manage Attribute/"the name of the attribute"/Manage Label/Option and not from Admin but from the Default ...
3
votes
1answer
1k views

Magento2 having Issue in language installation “Duplicated translation is found, but it is not allowed”

I am trying to install German language pack and its showing me error ' Duplicated translation is found, but it is not allowed ' Commands: wget https://github.com/mageplaza/magento-2-german-language-...
3
votes
0answers
36 views

How to solve checkout translation issue magento 2.2.7?

I am unable to translate 2 stuff in checkout, its there in csv but not working. When i am enabling "Translate Inline" from admin its showing like this
3
votes
2answers
2k views

Magento 2 - extend core module translation i18n for a very specific area [duplicate]

Magento 2 translation problem (my locale is set to en_US): I want to change the "Email" label on the Contact Us page to "Email Address:". However, I DO NOT WANT the "Email" label changed anywhere ...
2
votes
1answer
47 views

Magento 2 Localization Adding Links in CSV

How to add text with link in csv file of a module. For example, "An error occurred" I want to add text with link like below for this message. "An error occurred.Please contact our customer service&...
2
votes
3answers
222 views

Unable to translate message in magento 2

I want to translate quantity error message. I changed in app/design/frontend/Smartwave/porto/i18n/fi_FI.csv "We don't have as many ""%1"" as you requested.","Meillä ei ole pyytämääsi määrää ...
2
votes
1answer
41 views

How to translate string on mobile menu?

Simple question, how to translate string "settings" on mobile menu?
2
votes
1answer
41 views

Translator not working on helper class

I try to translate a text in a function inside sales_helper_data with this code $this->__('TEXT') but it just returns the same input string. I Also tried Mage::helper('sales')->__("TEXT"), Mage:...
2
votes
0answers
46 views

in custom module ajax-loading form translations not working magento 2.3

in ajax-loading form Change English it to italiano and it works but italiano to English not working proper. once transalte to italiano then switch to english store not transalte to english ...
2
votes
1answer
529 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
0answers
107 views

Changing country name (Ireland to be Republic of Ireland) in Magento 2

I need to change Ireland to the Republic of Ireland. No matter what I change and clear the caches it does not update I have tried editing vendor/magento/zendframework1/library/Zend/Locale/Data/...
1
vote
3answers
120 views

Translate in Araic language Magento 2.3.3

Product Name, Description and Layerd Navigation not Translate In Arabic Language. Using Arabic Language Pack Install Language Pack. 1. Product Name 2. Product Description 3. Layerd ...
1
vote
1answer
650 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 ...
1
vote
2answers
20 views

magento 1.9 : anchor tag not working in language translation

I want to place anchor tag in given text>so i kept like this <?php $var=Mage::getBaseUrl(); echo $this->__("Iam <a href='%s'>here</a> with link",$var) ?> I wrote ...
1
vote
1answer
69 views

Translate text from blocks in admin panel

I am translating text in the blocks with by putting text instead of categories word{{trans "Categories"}}, but I have some text with span element and I don't know how to translate them, If anyone can ...
1
vote
1answer
51 views

Translation of a module

How can I translate an extension (module) ? I tried to create the i18n folder and create the it_IT.csv file. But it does not work, how can I do translation?
1
vote
1answer
56 views

Change existing translation?

This is my translation file in a custom extension: /html/xyz/app/code/FireGento/MageSetup/i18n/de_DE.csv I changed one translation in that file and afterwards I executed this to gather the ...
1
vote
4answers
1k views

I want to translate “Buy” and “save” word in tier_price.phtml file. magento 2

I want to translate "Buy" and "Save" word in tier_price.phtml file.I have added the word in translation csv file but it is not working form me. Refer screenshot PATH : vendor/magento/module-...
1
vote
1answer
271 views

get translated string Magento 2

In Magento1 we can get translated string by _getTranslatedString() from app/code/core/Mage/Core/Model/Translate.php but in Magento2 there is not such methods. Is there any alternative method ...
1
vote
1answer
293 views

How to translate escapehtml (Filter by)

Hello i cant to translate this one http://prntscr.com/kt3mrb my code is <div class="block-content filter-content"> <?= $block->getChildHtml('state') ?> <?php if ($...
1
vote
2answers
208 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 ...
1
vote
2answers
952 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
1answer
2k 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 ...
1
vote
0answers
34 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 ...
1
vote
0answers
38 views

Magento 2: Translate Order Email template

How can I translate the attribute label? I've already added to "Manage Label" but still not working. Color is translated but not size? Does anyone have an idea ? I tried all possible by placing ...
1
vote
0answers
21 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
1answer
37 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
1answer
249 views

M2 - Translate “We received too many requests for password resets. Please wait and try again later or contact”

Where can I find the location to know the exact translation string? I need to translate this sentence "We received too many requests for password resets. Please wait and try again later or contact" to ...
1
vote
1answer
23 views

How to collect admin phrases?

I am using i18n:collect-phrases command but seems that it collects only frontend phrases. I need to collect only admin panel phrases! For example, I have downloaded some language pack, but it does ...
1
vote
0answers
110 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
0answers
74 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
0answers
28 views

How to translte some phrases M2

I want to translate this I added in my fr_FR.csv those lines but with no results: "You added %1 to your shopping cart.","Vous avez ajouté %1 à votre panier." "You added %1 to your", "You ...
1
vote
1answer
325 views

magento 2 change admin label

i want to change magento admin sidebar labels for eg "catalog" to "My products" is there way to do it without changing core files i tried using translation by adding files in "app/design/adminhtml/...
1
vote
1answer
572 views

How to rename shipping address field label in magento2

I want to rename the shipping address field label as the First Name to Recipient First Name, Last Name as Recipient Last name and so on. In Magento 2 I am not getting any clear document about this as ...
1
vote
0answers
24 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
0answers
34 views

Translate minicart , captcha module and other module Magento2

I have a website with 3 differents language : arabic, french , english. i created the i18n under my app/code/Maget/MyModule/i18n but there is the minicart, captcha module, strength of password ...
1
vote
2answers
635 views

Magento 2.1.7 - Translating the wrong input messages on creating account

So we have a registration form with the fields Email, Password and Confirm Password as you can see in the picture: What happens is that the messages which appear once the input has been written keep ...
1
vote
1answer
76 views

Translate magento template from en_US to pt_PT

I tried the follow: rm -rf vendor/mageplaza/core-m2 rm -rf app/code/Mageplaza/Core composer remove mageplaza/core-m2 composer dump-autoload composer require mageplaza/magento-2-portuguese-language-...
1
vote
1answer
1k 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
1answer
85 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
1answer
55 views

Magento 2.1 Translate text to given locale

I have a situation where I need to save values in couple of languages, Arabic and English at a save form, So I have two fields with the name Product Name and اسم المنتج i.e Product Name in Arabic, So ...
1
vote
2answers
819 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.
1
vote
0answers
84 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
0answers
152 views

Translate reserved fields in admin Magento2

I'm trying to translate the label of each fields which is described in below screen shot. I'm using Magento 2.1.6. I have created a language pack in this directory: app/i18n/xxx/yyy/magento2-pt_br/...
1
vote
0answers
333 views

Undefined offset: 1 in /vendor/magento/framework/App/Language/Dictionary.php

i'm trying to extend a package language that already exists. My custom text override the texts of the package. When i try to access my site after run the follow commands: php bin/magento setup:...
1
vote
3answers
145 views

How to translate admin panel?

I need to translate magento 2 admin panel to Persian language. Can anyone suggest to me the best ways to achieve this? I suppose I need to download some language pack and then install it. Or I just ...