Questions tagged [translate]
The translate tag has no usage guidance.
160
questions
1
vote
2
answers
1k
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 ...
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 ...
1
vote
1
answer
701
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
1
answer
44
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
1
answer
599
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
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
82
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
7
answers
2k
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
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
1
answer
55
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 ...
4
votes
2
answers
2k
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 ...
1
vote
1
answer
1k
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
1
answer
1k
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
0
answers
210
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
0
answers
29
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
56
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
1
answer
911
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
0
answers
552
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
1
answer
466
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
6
votes
2
answers
734
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
2
answers
659
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
1
answer
114
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
2
answers
215
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
...
5
votes
3
answers
7k
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-...
1
vote
2
answers
1k
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
1
answer
95
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-...
2
votes
1
answer
6k
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
1
answer
911
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
2
answers
793
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
1
answer
244
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
1
answer
771
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 ...
1
vote
2
answers
1k
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.
1
vote
1
answer
229
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 ...
0
votes
2
answers
820
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?
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 ...
0
votes
2
answers
28
views
where can i translate this?
I want to translate the word "Categories"
I tried to change the translate.csv file,
cleared all cache,
tried to find the file with path hints, but cannot find the .phtml file also
Changed ...
0
votes
1
answer
132
views
Translating address label issue in Magento 1
This is my string, which I would love to translate:
<input type="text" placeholder="<?php echo $this->__('Street Address %s', $_i); ?>" title="<?php echo $this->quoteEscape($this-&...
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.
0
votes
1
answer
150
views
Translate for specific customer group - Magento 1.9
Pretty straight forward really, obviously I can do translations via the following file:
app/design/frontend/theme/default/locale/en_GB/translate.csv
But this will do it across the whole site, for ...
1
vote
0
answers
92
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="...
0
votes
1
answer
227
views
translated inline does not work
Can't use inline translation tool on my webpage. Its working fine in backed. I checked on the frontent if Translate Inline>"Enabled for Fronted"` is enabled, but it wasn't. when I translating ...
0
votes
2
answers
41
views
In Magento1, how do you establish where the translations csv file is to be uploaded?
I have my translate.csv file ready to upload into a Magento setup. So we are changing words from Magento default like Tax to be VAT instead. I understand different setups will have this file uploaded ...
0
votes
1
answer
191
views
Var translator appears two times
someone knows why, if I look at the HTML code of one page from my Magento website, I see the Translator var two times, with the same values?
First time:
<script type="text/javascript">//<![...
0
votes
1
answer
80
views
Translation of Magento (Frontend) v1.9.2.4 to Serbian
I have to translate Magento frontend to Serbian. How can I do that and where can I find the translation files? I am guessing I have to just put them in locale/sr_SR.csv, but not really sure. Neko zna ...
0
votes
1
answer
267
views
php date always displayed in Dutch [duplicate]
I currently use the following code to display some date inside my Magento store:
setlocale(LC_TIME, 'nl_NL');
$today = new Zend_Date($_product->getData('delivery_eta'), 'MM-dd-yyyy');
$date = ...
1
vote
0
answers
187
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
0
answers
410
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:...
3
votes
1
answer
89
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 ...
0
votes
2
answers
232
views
String translation missing
I've translated the string "Account confirmation is required. Please, check your email for the confirmation link. To resend the confirmation email please click here." in app/locale/it_IT Mage_Customer....
4
votes
1
answer
8k
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 &...