Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [translate]

The tag has no usage guidance.

1
vote
1answer
15 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
3answers
32 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 ...
0
votes
0answers
25 views

How to make words translatable in js file , Magento 1.9

I have a problem with translation in Magento 1.9. I want to translate the "Search:" word, but have no idea how. As you can see the "Search:" word isn't in the red frame. In project i found one place ...
1
vote
1answer
28 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 ...
0
votes
1answer
64 views

Magento 2 translate the .pdf invoice

I've set up a Magento 2.3.0 shop, and I have also translated it. Everything seems fine on the front-end, but one part that I can't get translated, are the .pdf invoices. I have tried to add those ...
1
vote
0answers
63 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', { ...
0
votes
2answers
52 views

Magento 2.3 translations (translate label) in the admin panel (backend)

In Magento 1 I just added a translate.csv for my admin area. How can I achieve this in Magento 2? I just want to change the translations of a few things and add some missing translations. Can't I put ...
0
votes
0answers
9 views

How to translate a jas message magento 2

I want to translate this message to english but i can't find a way please help me $("#nbr-pieces-tot").html(nb_prod + chaine_selected+" X "+nbre_pieces_par_caisse +" pièces = "+ nb_piece_tot +' ...
1
vote
1answer
42 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
0answers
49 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 ...
0
votes
2answers
80 views

Magento 2 Klarna checkout translate label

How to translate "Signup to our newsletter" label to norwegian? Tried using Inline translation tool, but this line can't be translated using it. Also tried translating it in my i18n theme folder in ...
1
vote
0answers
18 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 ...
0
votes
2answers
59 views

Can't translate mini cart magento 2

I put this under i18n under my theme: "View and Edit Cart","Afficher et modifier le panier",module,Magento_Checkout also i can't get the translation "You added %1 to your shopping cart.","Vous avez ...
0
votes
0answers
13 views

Translate in custom email magento 1.9

I just created a custom email send concerning the development of a module. This email is sent via a cronjob every Tuesday night. In the email, I can not translate the sentences despite the fact that I ...
2
votes
1answer
213 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 ...
0
votes
0answers
21 views

Magento2 - Custom module translation not used for backend

I changed my admin locale to de_DE and installed a language pack for de_DE which is used by Magento without any problems - for frontend and backend. But it seems that my custom module's translation ...
1
vote
1answer
123 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/...
0
votes
1answer
19 views

Translating “Fax” in the backend

I want to rename "Fax" to "Mobile" on the backend (Create New Order page). I assumed this could be achieved by updating my en_GB.csv file in my child theme. Assembling the preceding pt_BR.csv files ...
0
votes
1answer
82 views

Magento2: How to change store view during mass edit products

I have try bulk translate description products. 1) When I open single product "edit" then I can switch store view and add separate language to each store view: But when I try to select and ...
0
votes
0answers
46 views

Magento2: Issue with extension translate Google API

We have install extension from Mage Cube: https://magecube.com/language-translator-multilingual-extension-magento-2.html After configure extension and connect to Google Translate API, we are try to ...
0
votes
1answer
86 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
1answer
41 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
402 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
0answers
96 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
1answer
25 views

translation csv not visible

I made a CSV. Name: 'nl_NL.csv' Content: You added %1 to your shopping cart.,U heeft %1 aan uw winkelwagen toegevoegd. That as what I want to Translate in Dutch as it is not in the standard ...
2
votes
2answers
274 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 ...
0
votes
0answers
66 views

Translate labels of options from attribute

I try to translate my options label for an attribute using installer. I try this code : $attributeId = Mage::getResourceModel('eav/entity_attribute')->getIdByCode('catalog_product', 'my_attribute'...
1
vote
1answer
139 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
319 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 ...
2
votes
0answers
54 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
0answers
21 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
30 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
1answer
87 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 ($...
0
votes
0answers
107 views

Translate text on One Page Checkout | Magento 2.2.4

I am trying to translate on phrase on my Magento 2 One Page Checkout. I am using a third party extension by Amasty (It should make a difference when trying to translate phrase, should it?) What I am ...
0
votes
1answer
154 views

How to change wish list tab name?

How to change that wish list name to " wish list 1" .I want default name wish list name " wish list 1" not by edit option
3
votes
1answer
173 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
2answers
111 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
1answer
33 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:...
0
votes
0answers
4 views

Differents translate packs in magento 2

I´m having an issue lately, I have two translated files one is on i18 at code path, and the another is on the custom template path. The thing is, to work with the template I need to eliminate the one ...
0
votes
2answers
63 views

Magento 2 translate field from wysiwyg

How can one using csv file to translate from wysiwyg field: e.g I have in the backend of Magento a field : <h3 class="eyeCatching">Opening Hours</h3> <p>Monday - 10am to 5pm ...
2
votes
1answer
987 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-...
0
votes
0answers
19 views

Magento 2 Emails get translated wrong

My Magento 2 website has two storeviews with different languages - English and Swedish. On the frontpage, translations are working properly. However, when sending emails, for example Forgot ...
1
vote
2answers
343 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
62 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-...
0
votes
1answer
279 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 ...
0
votes
1answer
358 views

How to translate URL in magento 2?

I read severals post here to translate the "customer/account" with something else. I have no idea how to do this for the "controller" account. I mean, If I change routes.xml like this : <?xml ...
0
votes
2answers
311 views

How do I translate the “Password Strength” , and other texts on Create new Account

I would like to translate the "Minimum of different classes of characters in password is 3. Classes of characters: Lower Case, Upper Case, Digits, Special Characters." "Password Strength: %1" And ...
1
vote
1answer
53 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/...
0
votes
1answer
210 views

How to add category translation programmatically?

How to add categories programmatically was described here. Now, I have two store views (English and German) under one store. When having added a category in englisch how can I then add the data for ...
0
votes
2answers
464 views

Magento2 : How to translate attribute group Label?

In magento we can translate attribute label by store. But how can we translate Attribute Group Label By default label will be same for all store as there is no option for set label by Store.