Skip to main content

All Questions

Filter by
Sorted by
Tagged with
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 &...
St3phan's user avatar
  • 2,927
4 votes
6 answers
16k views

Magento 2 : How to install new language pack

I am working on a Magento-2 website which is based on German language. How to install and use new language package for German language in Magento2. Which package is best for German language? Any ...
Suresh Chikani's user avatar
4 votes
2 answers
4k views

Translate.csv Failed to Overwrite Module Translation

I got a problem with Magento translation in my translate.csv, because it does not work. It should be easy as all tutorials saying. I had download the package/module translation put into \app\locale\...
Leongelis's user avatar
  • 585
4 votes
7 answers
9k views

Translation not working for "please specify shipping method"

We've opened our Magento store a few weeks ago. We are located in the Netherlands and only sell items on the Dutch market, so the entire site is in Dutch. Thanks to some excellent translation packs, ...
user avatar
4 votes
2 answers
2k views

Translation of product stock alert email

I have added translation in my locale folders and even loaded templates and assigned them in system config. Nothing seems to translate this email. When i look in the table product_alert_stock i also ...
Toon Van Dooren's user avatar
4 votes
1 answer
6k views

Magento 2: Translate input placeholder attribute string in Knockout html template

I can translate strings in Knockout html templates like this: <!-- ko i18n: 'Email' --><!-- /ko --> <span data-bind="i18n: 'Email'"></span> And the translations come from pub/...
user2759013's user avatar
4 votes
1 answer
2k views

How to translate within observer

I've written a module with an observer but when I try and use $this->__('something to translate') within the observer, I get the error Fatal error: Call to undefined method ...
Dom's user avatar
  • 478
4 votes
3 answers
6k views

Magento - Rename Tax to GST

Throughout my Magento website, where there are products, I made it so that a customer can see the price of the products, with and without Tax. However, how can I rename the word 'Tax' to 'GST' ...
Sav's user avatar
  • 51
4 votes
1 answer
10k views

Magento multistore languages: Getting the locale language name in store selector

When looking through the multistore language selector (in our theme) we see that the dropdown is populated as follows: foreach ($this->getStores() as $_lang) { $select_stores[] = '<option '....
snh_nl's user avatar
  • 5,452
4 votes
1 answer
3k views

Magento Multi Website, Store, Currency, Country & Locale Configuration

Just hoping if someone can point me in the right direction with this one. Basically, I need to have a website in multiple countries with their localized content and the target countries native ...
sahilbr's user avatar
  • 41
4 votes
1 answer
1k views

M2 - Change admin login language

does someone knows how to change magento's admin login language? I have a language package installed (es_MX and pt_PT) Things I've tried: 1) Changed admin user language in Account Settings > ...
DavidVR's user avatar
  • 166
4 votes
1 answer
2k views

How to translate core Magento modules and create a CSV translation file per module?

I want to translate all core modules in Magento 2 without touching the vendor folder and without translating all modules in one CSV file as suggested in this answer I want to translate each single ...
ali gh's user avatar
  • 731
4 votes
1 answer
62 views

Overwrite of Fooman EmailAttachments works about 50%

I'm using Fooman's EmailAttachments extension on Magento CE 1.9.2.4 - or I try to. This is my config.xml: <?xml version="1.0" encoding="UTF-8"?> <config> <modules> <...
Stefan's user avatar
  • 41
4 votes
1 answer
888 views

is there a way to alter translate.csv for ADMIN without altering core file?

The file I am looking at is app/design/adminhtml/default/default/locale/en_US/translate.csv I would like to change translations in the admin back-end without editing this file (in case there is an ...
Kender's user avatar
  • 373
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, ...
Black's user avatar
  • 3,431
4 votes
1 answer
2k views

How to override an installed language module in magento 2?

I installed this language module : https://github.com/Imaginaerum/magento2-language-fr-fr Now, due to the Magento translation loading order : Loading the module translations Load theme translation ...
DependencyHell's user avatar
4 votes
2 answers
2k views

How to translate SKU# on detail page on Magento 2

I try to translate SKU# on my Magento 2 detail page. But it doesn't work. I found this for Magento 1: how to rename the SKU label? And need a simular solution for Magento 2. Thanks.
Oliver Schmid's user avatar
4 votes
1 answer
781 views

Add and edit words to Magento 2 language dictionary

In Magento2 - I have installed language pack from MagePlaza. Most of the words got translated, I need to edit the untranslated words. I edit in this file app/i18n/mageplaza/da_DK.csv and deployed ...
hln's user avatar
  • 125
4 votes
2 answers
699 views

magento2, Child theme in different language

Using below command I have created the csv file for translation. I set the settings for locale in admin panel. After running upgrade and deploy command, I get 404 for all css and js files. In Pub/...
Zinat's user avatar
  • 2,079
4 votes
1 answer
52 views

Any reason why I shouldn't automate localization setup with a script?

Currently working on a localization project. I would like to make it easier for the backend developer I'm working with to deploy to staging/production. Thinking about just writing a simple php script ...
Reid Blomquist's user avatar
4 votes
2 answers
3k 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 ...
TigerCotty's user avatar
4 votes
1 answer
967 views

Multi Store view - product name for each store

I'm using Magento 1.9.0.1 I have a store in English, I want to have the same store (same categories and products) just translated to Spanish. I used this tutorial to achive this: Ref. I created ...
Nir's user avatar
  • 335
3 votes
2 answers
6k views

Inline translation tool is not working and i can't enable it

Can't use inline translation tool in front end of my webpage. Its working fine in backend. I checked on the frontend if System>Config>Advanced>Developer>Translate Inline>"Enabled for Frontend" is ...
Hillar Kapsta's user avatar
3 votes
5 answers
10k views

Javascript translation not working properly

I've translated some text in a javascript file with translation.js, I've done it the following way: I've defined the translator. define([ 'mage/translate', ]; After that, I translated my text. $....
Frank Groot's user avatar
3 votes
4 answers
7k views

Magento2 change Tax to VAT

I am trying to change Tax to say VAT across the site. I have tried to change the en_US.csv file located in i18n in my theme, but with no result. Is this changed on database level, and if so, where?
Ellinor's user avatar
  • 155
3 votes
2 answers
7k views

How to: Translating language for multiple products/categories

My current setup is like this (new install). main website main website store store view English store view German Using Magmi, I know how to create my category structure (on the fly) - and how ...
egg's user avatar
  • 499
3 votes
4 answers
309 views

Translating an Extension

Are there any tools for generating a csv file for translations of a module? I.e. detecting calls to __() within a module and outputting the information into a csv ready to be used as a translation ...
Peter O'Callaghan's user avatar
3 votes
3 answers
2k views

Magento PDF invoice translations

I have localized and translated my Magento 1.7 installation almost 100% with csv translations, and some inline translations, however in my PDF invoices translations are not taking effect. Some parts ...
xul's user avatar
  • 247
3 votes
1 answer
2k views

Magento 2 : Priority of translation, proper way

I'm trying to set up a spanish-english store. I have my dictionary that I want to reutilize for other stores. It has all translations in spanish. I install this dictionary on app/i18n/vendor/es_es/ ...
Marc Pont's user avatar
  • 1,453
3 votes
1 answer
2k views

Custom module does not translates admin panel

I created a custom module and it does not translate grid columns or header. Here is my config.xml <config> ... <frontend> <translate> <modules> ...
intentarr's user avatar
  • 365
3 votes
4 answers
241 views

If statement for translatable product attribute values

I'm using this kind of statements on other places in the webshop (product detail page) but I want to use this one is on the category page: <?php if ($_product->getAttributeText('...
n00bly's user avatar
  • 623
3 votes
1 answer
739 views

Translating the custom text in form.phtml file

I have added some paragraph to form.phtml file and added the translation in the .../locale/nl_NL/Mage_Contacts.csv. But the custom text does not get translated in contact us page when I switch the ...
Zinat's user avatar
  • 2,079
3 votes
1 answer
10k views

Magento 2 - translating problem in JS templates

Is there a way to translate phrases defined in JS templates in Magento 2? I have checked official translation structure overview and searched the net but can't seem to find proper solution. For ...
g5wx's user avatar
  • 681
3 votes
1 answer
2k views

Remove var Translator = new Translate from <head> section

When I install my language files (nl_NL) in my Magento 1.9.2.2 install, in the head section appears a JS tag that starts with: var Translator = new Translate({... What follows is a whole lot of ...
Els den Iep's user avatar
3 votes
2 answers
3k views

Custom Backorder Message

How it's possible to change the Backorder cart message??? I'd need to display something like "The product will be available to ship from the 1st of january" Thx
bicccio's user avatar
  • 133
3 votes
4 answers
5k views

Magento 2 How to display custom text instead of shipping method title and carrier title

How to display only "Shipping" text instead of "Shipping(Flat Rate - Fixed)" text in Cart, Checkout and Emails.
Mahendra Jella's user avatar
3 votes
2 answers
150 views

Include en_US translation file in extension

When developing an extension is there an reason other than simply "Best Practice" to include a en_US or extension base language translation file? Example I write an extension with some text where ...
David Manners's user avatar
3 votes
1 answer
266 views

EcomDev PHPUnit Translation not Working with Mocked Helper

I noticed that translations are not working with the EcomDev_PHPUnit Unit Test framework if you replace a helper with a mocked helper, using mockHelper() and replaceByMock(). Shouldn't any call to the ...
Fabian Schmengler's user avatar
3 votes
1 answer
293 views

Load layout outside magento with translation

i have to load magento in a cms and want to include the complete header. Everything works fine, but i don't get the right translation of the template. The locale setting of the store view is correct. ...
Dominik Barann's user avatar
3 votes
1 answer
1k views

FireGento_GermanSetup inline translation does not work

If I open the translation for "Incl. 7% Tax, plus Shipping Cost" it says: Location: Span element Scope: FireGento_GermanSetup Shown: 19% Original: %s%% Translated: %s%% Store View Specific: ...
PiTheNumber's user avatar
  • 3,234
3 votes
1 answer
745 views

How to translate title attribute in acl.xml

I have this code in acl.xml: <resource id="Magento_Paypal::use" title="Place Order Using Billing Agreements" translate="title" sortOrder="15" /> and I already added this string in ar_SA.csv ...
Mazen Zan's user avatar
3 votes
1 answer
3k views

Magento2: override vendor language package

I've installed the Magento2 language pack (nl_NL) from Crowdin via composer. The package is located in the vendor/magento2translations folder. I want to add some custom translations which will ...
mikesteeghs's user avatar
3 votes
2 answers
4k views

how to get store information by locale code

How can get store id by locale code right now I have $locale='en_US'; reverse of this code Mage::getStoreConfig('general/locale/code', $storeId); now based on this I want to get store id I could ...
Qaisar Satti's user avatar
  • 32.5k
3 votes
3 answers
2k views

How to make <head><title>...</title><head> translatable in layout definition

Here I have the default contact page layout file (contact_index_index.xml): <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:...
jstuardo's user avatar
  • 609
3 votes
1 answer
122 views

Translations and hierachy of authority

We are having problems with translations on our store for our multi lingual sites. They used to work ok but when we add modules it seems that the translations are now lost. As an example "Add to ...
Gavin's user avatar
  • 123
3 votes
1 answer
144 views

How to easily keep multiple Magento theme translations up-2-date?

Working with Magento Translations today I got very annoyed by the fact that I had to constantly repeat myself. In our installation we currently have 4 languages: en_US for English nl_NL for Dutch ...
Ottonet's user avatar
  • 722
3 votes
2 answers
791 views

Italian translation.csv for tax not working

We have a Italian website on our Magento installation. All the translations are working from our theme's locale/it_IT/translate.csv file with the exception of "Tax","IVA". On the italian site Tax is ...
Holly's user avatar
  • 4,923
3 votes
1 answer
537 views

Translated category names

I would like to have a single category tree in my Magento store, used by different store views: English, French and German. Is it possible to have the category data translated instead of creating ...
Marty Wallace's user avatar
3 votes
2 answers
586 views

Seemingly Random Wrong Store View in Email

In a client's website, the sales emails is seemingly randomly (so far we've notice it for the order_new and the shipment_new) sent in another language that the language set for the store view the ...
OSdave's user avatar
  • 151
3 votes
1 answer
5k views

Magento 2: get current store view in JS

I need to get current store view code in JS component to compose i18n-compatible route to the REST API operation: define( ["jquery", "ko", "uiComponent", "mage/translate"], function ($, ko, ...
Alex Gusev's user avatar
  • 2,039

1
2
3 4 5
10