All Questions
493 questions
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 ...
2
votes
2
answers
3k
views
Magento2. Knockout. Translation doesn't work
Please advice is there any pre-requirements to translate in *.html files
Works:
<button type="submit" class="action primary"><span>Send link to a Friend</span></button>
Don'...
2
votes
4
answers
5k
views
Converting a locale date to YYYY-MM-DD
I have a datepicker in my site which formats the time in the current locale. So the time gets sent to the server in d/MM/yy-format.
The locale on the frontend is determined by Magento\Framework\...
2
votes
2
answers
3k
views
Magento 1.9 - Translate text in php file
How I can translate this text in a php file, I want to translate $message
if (!$this->_getSession()->getNoCartRedirect(true)) {
if (!$cart->getQuote()->getHasError()) {
...
2
votes
2
answers
3k
views
Magento2 - language pack installation doesn't work
I installed fresh Magento 2.1.0 installation.
After the installation completed, I checked that everything works good.
Now I want to change the language of the store to my language (Hebrew)
I ...
2
votes
1
answer
43
views
How to collaborate with a translation pakage for the control panel?
I'd like to know how could I translate the control panel for Magento 2.x, I've seen that the packages are created, but empty, how could I collaborate in order to translate it?
2
votes
3
answers
2k
views
Change text $this->__('Choose an option...') in template
There are a number of changes that I would like to make to the theme but I give just one here as an example. Where the dropdown says 'Choose an Option', I like to be polite and ask users to 'Please ...
2
votes
1
answer
1k
views
Translate is not working
my xml code:
<customer_account>
<reference name="customer_account_navigation">
<action method="addLink" ifconfig="example/general/enabled" module="example" translate="label"...
2
votes
2
answers
1k
views
How to reverse first name and last name globally
Can someone please tell me how can change customer name format globally?
I want to show customer name as Last name First name instead of First name then Last name.
I ask this because I'm doing an e-...
2
votes
1
answer
873
views
Translate "Account Information" Block content in Magento Order page
I figured out that in the Order detail page the "Account Information" block has the last two lines that are not being translated on language selector change.
They always remain in english.
In my case ...
2
votes
1
answer
3k
views
Language packs for german (DE and AT)
Since I cannot find any documentation or references to good / complete translations. I decided to ask this on Stackexchange. Is there any descent listing? And what would you use for the above locales? ...
2
votes
3
answers
8k
views
Where can I change the Shopping cart title?
On the checkout/cart page I need to change the Shopping cart title.
Where can I find it in the code?
2
votes
2
answers
12k
views
Custom translate.csv file not loading
I created a new package/theme/skin from scratch in Magento 1.9.1.
The theme and skin load fine. I tried adding translations and cannot get them to load. All cache settings are disabled.
I've added ...
2
votes
3
answers
976
views
Translation lookup keys are prefixed by module name
I'm in the process of writing my first module, which is also my first multi-language module. I've created the CSV files for the translation and fed them with an array of sentences I use using
$this-&...
2
votes
1
answer
136
views
After upgrade to Magento ee 1.13 javascript breaks on single quote translations
I have recently upgraded an environment from a french customer form ee1.11 to ee1.13.
I am getting javascript errors allover for strings with single quotes, Alltough this was fixed a few versions ago ...
2
votes
1
answer
493
views
crc_string field in the translation table
What is the role of the field crc_string in the translation table?
I know what crc is in general, but how is this field used to detect (and maybe correct) errors in the strings, if this is its real ...
2
votes
2
answers
2k
views
Magento 2: How to translate %changes in email templates
There are some email templates that use variable %changes and I'm not able to translate the text (password) it outputs. How do I translate it? I have tried CSV file with no luck.
Here is an example ...
2
votes
2
answers
104
views
Page home magento 2
I installed a template and put all the necessary translations in the i18n file but still can't see the translation. My question is: Do I have to create 3 home pages and then choose the store-view for ...
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 ...
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 ...
2
votes
1
answer
562
views
On mobile submenu 'All %categoryname' is not translated - Magento 2
I can't translate the string 'All' from the subcategory on mobile menu. The file where the string appears is menu.js located on public/lib/web/mage/
And it looks like this:
.text($.mage.__('All ') + ...
2
votes
1
answer
2k
views
change "We can't find products matching the selection" massage in magento 2.1
I'd like to change this message to 'We can't find products matching the selection' and 'You don't subscribe to our newsletter' default massages.
Can anyone suggest how this can be done in Magento 2....
2
votes
2
answers
4k
views
Custom Translation of Backend in Magento 2 - path of the translate.csv?
I am familiar with translations in Magento 1 and found out also how translations in M2 work for the frontend. My questions is where to do my translation for my own custom module for the backend. Is ...
2
votes
2
answers
4k
views
How to translate only the ‘storefront’ in Magento 2?
I am translating my Magento 2 website. I would like to keep English for the admin pages, but use another language for the storefront (i.e. the pages customers see). This should mean there will be ...
2
votes
1
answer
93
views
How can i import a core translation into my own module?
I found posts about how to let Mage use my own translation in core modules,
but not the other way.
What im trying is:
I overwrite core templates - in example module Mage_Sales.
The Block is like ...
2
votes
1
answer
163
views
Translation conflict between modules within the same system_config section
I created my own section (say "Company") under admin system_config
<config>
<sections>
<company translate="label">
<label>Company</label>
...
2
votes
1
answer
987
views
United Kingdom Language Pack
Does anyone know where the United Kingdom Language Pack has gone.
I cannot find it at http://www.magentocommerce.com/magento-connect/customer-experience/internationalization-localization.html
Welsh ...
2
votes
2
answers
623
views
Translation: Multiple websites, multiple languages
I'm building a store for a client, and this is the first time I'm working with multiple websites AND multiple languages.
I'm a bit uncertain how to handle the translation aspect. My store structure ...
2
votes
2
answers
848
views
Adding inline translation to injected HTML
I'm only 2 weeks old to Magento but I believe I'm getting my head around it well. I have a task to enable language translations on the store front, which works well using inline translation but that ...
2
votes
2
answers
348
views
What is the best way to handle multiple countries, languages, and mobile/dekstop views?
I have site that will need to front stores for two countries (US, MX). Both countries need to be available in en_US and es_MX languages. There is no difference between the product offerings for the ...
2
votes
3
answers
3k
views
Translate Validation Error Message of Date of Birth
I got a problem to translate validation error message "Please enter a valid full date." in the edit account page. This message will be prompted when user leave Date of Birth field is empty.
That ...
2
votes
2
answers
835
views
translation in file frontend/base/default/template/email/productalert/stock.phtml is not working?
i am trying to translate
<p> $this->__('You are receiving this notification because you subscribed to receive alerts when the following products are back in stock:') </p>
in ...
2
votes
1
answer
879
views
cannot translate category name for different store view
I'm trying to translate category name for different store view, but unchecking the "Use Default Value" checkbox does nothing. Category name field stays inactive. What could be the problem?
2
votes
2
answers
433
views
Magento2 i18n not working Magento_Ui custom theme
I tried to add a translation on :
app/design/frontend/Theme/theme/Magento_Ui/web/templates/form/field.html
I added a translation like this :
<div class="gotcompany" data-bind="i18n: ...
2
votes
1
answer
686
views
Translating in html templates using i18n
I'm using i18n to translate some values in html static templates (default.html):
So this does not work:
<!-- ko if: (!Array.isArray(option.value) && option.option_type != 'file') -->
...
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 ...
2
votes
0
answers
82
views
Product images title translation [closed]
In product view the more images titles are coming in admin value of the option label, I have 6 store views and how can I make the title of the more images to show the specific store view value of the ...
2
votes
0
answers
109
views
Magento custom language file not being used [closed]
I have created a custom language file for a feature that I have built into our Magento website. The language variables work fine on my local machine (of course), however on our staging environment it ...
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"></...