Questions tagged [localisation]

Questions related to localisation in Magento. This covers translations, currency and number formatting and in parts implementing local laws and standards.

Filter by
Sorted by
Tagged with
29
votes
3answers
31k views

How to implement translations in design template package CSV's? How does echo $this->__('Text') work?

I have a design package setup like so: design/frontend/package_name/theme_name/locale/ under which I have de_DE, en_GB etc, under which I have corresponding translate.csv files with the various ...
23
votes
4answers
49k views

How to add translations for new words in Magento?

I'm using English, Spanish and German as three store views for my site. What is the easiest way to add translations for new words? Even if I add new words with the translations it doesn't show in the ...
6
votes
2answers
5k views

How does translation scope work in Magento 2?

In Magento 1 different modules could provide different translations for the same string and the various __() methods in helpers and blocks always passed a module scope to the translator model, to ...
4
votes
3answers
5k 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' ...
16
votes
4answers
5k views

Magento2 localisation Javascript

A similar question was already asked here: Magento 2 javascript text translations, but Magento updated this translation technique in the beta version. How can I add or update translations used by ...
2
votes
2answers
190 views

Translation file magento 2 i18n

I'm trying to change "Excl. Tax:" to "Excl. Vat:" and have created a CSV file called en_GB.csv which contains the line - "Tax:", "Vat:". I've saved and uploaded this to app/design/frontend/Magento/...
6
votes
2answers
7k views

Magento 2: Change Text On Checkout Page

I'm using Magento 2 CE Version 2.1.2 I would like to change Shipping Address to Shipping/Billing Address. I have already below, but it's not working for me. Magento 2: Sorry, no quotes are ...
23
votes
4answers
19k views

how to create multilingual static block

I need to create multilingual static block. So far I have created static block with id 'delivery_returns'. I'm calling it in catalog\product\view.phtml like this: $deliveryBlock = Mage::getModel('...
8
votes
3answers
17k views

Magento 2 Translations not working

I'm trying to translate some text in the checkout page: "Provided Zip/Postal Code seems to be invalid." However, when I add the following to frontend/..theme../Magento_Checkout/i18n/en_US.csv and ...
7
votes
5answers
8k views

How to add a new language - Magento 2.0.1

I am trying to create a new store view for the Tamil Language, but the language does not get listed while choosing the language from admin. short description of what I have done 1) I have ...
8
votes
4answers
6k views

How to know which translation csv file(s) are used in the current phtml file

Is there a method to know which translation CSV file(s) are used in the current phtml template file?
6
votes
4answers
4k views

Update customer gender translations

I would like to translate the gender options for a customer. At first I thought that I could simply use a translation file for this, but looking into the template app/design/frontend/base/default/...
4
votes
1answer
815 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 ...
22
votes
5answers
12k views

Managing Magento csv Translation Files

As time has passed, the Magento core team has added more and more default language packs to the app/locale folder. Is there a canon way to manage your own translation files such that they don't ...
3
votes
1answer
8k 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 ...
15
votes
1answer
6k views

Make magento core template use my module's translation file

In an extension I'm working on, I have a layout XML added via module's config.xml. This layout has some modifications to the frontend. Some of these blocks, however, belong to Magento core modules. ...
7
votes
2answers
12k views

How to override translate csv files in magento2

Suppose, I want to translate Shop By to Shop in my custom theme using translation file en_US.csv What is the method or procedure to achieve it in Magento2?
8
votes
1answer
8k views

Change the scope of a attribute

A extension created a extra tab in my category menu. With this code: $setup->addAttribute('catalog_category', 'menutopdescription1', array( 'group' => 'General', 'input' ...
5
votes
4answers
327 views

What is the proper way to add theme-specific translations of new strings?

We are creating a new template and have some new text which are not yet defined anywhere. If they would be defined before we would add some "Mage_TheModule::Foo";"Fuh" to the translate.csv in the ...
2
votes
1answer
413 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 ...
0
votes
2answers
3k views

Date format in advanced search

My locale is set to France but the advanced search only works in US format. I've made a custom attribute (date type) and add it to the advanced search. And there are 3 problems: The datepicker (...
12
votes
3answers
1k views

Translate Maintenance mode per website in multiwebsite-multidomain setup

Translate Maintenance mode per website in multi website-multi domain setup What is the proper way of translating (localisation) Maintenance page in a multi-website and multi-domain environment? ...
7
votes
2answers
3k views

Magento 2 javascript text translations

[EDIT] This is outdated. The translation is not done anymore as described below [/EDIT] In Magento 1 the translatable texts needed in javascript were added in the jstranslate.xml file in the etc ...
3
votes
2answers
12k 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 ...
3
votes
2answers
5k 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 ...
2
votes
1answer
2k 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 &...
1
vote
2answers
1k views

Localized dutch date format

I'm using "AW blog" in Magento 1.9.3.2. On the homepage I've got the recently added blogs with the date, the date is now showing: 29 May 2017. How can I change that into Dutch like; 29 Mei 2017? I've ...
27
votes
4answers
12k views

Why do classes use a helper for translation instead of $this?

In core modules and sometimes templates, I see helper classes being used for translation: Mage::helper('someModule')->__('translate me'); Why is this preferable to: $this->__('translate me');
3
votes
2answers
6k 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 ...
2
votes
4answers
293 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 ...
15
votes
5answers
5k views

Displaying appropriate localisation based on Location

I'd like to configure the Magento site to be able to recognize the default language and location of the user and display the site in that language and with appropriate localization. For example: A ...
4
votes
2answers
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\...
2
votes
2answers
1k views

Use Magento 2 translation (for example German) from CrowdIn

So people are translating Magento 2. How can I use the current translation from there in my project? I can download a source.csv - but won't I need one file per module?
2
votes
1answer
5k views

Language switcher not changing frontend language

I have Magento 1.9.2.0 with the sample data and default Madison Island store with 3 view names; English, French and German. In frontend when I switch the language using the select field, nothing ...
2
votes
3answers
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 ...
1
vote
2answers
132 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 ...
0
votes
2answers
4k views

How to translate module with i18n

I met a problem that how to translate the module's phrase into other languages(eg. Japanese). For example, some code may like this: app/code/My_vendor/My_module/Controller/i18n/jp_JP.csv "test","...
10
votes
1answer
1k views

how can change magento calendar?

As you know Gregorian is default calendar in Magento, but in some countries like China, Japan, India, Iran and Arabian countries there are different calendars. I searched Magento backend and I didn’t ...
5
votes
3answers
4k views

translation of Mr. and Mrs. prefix options

So I have to set a translation for the Mr. and Mrs. prefix options in the one-page checkout form, where a customer fills his name, address, etc. All the translations so far I have done through the ....
3
votes
2answers
2k 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.
3
votes
1answer
103 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 ...
3
votes
1answer
195 views

How to add custom translations

Can any one help me to, Where i have to include translated text for German in which csv file have to include ? Find the below screenshot:
3
votes
2answers
654 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 ...
3
votes
4answers
212 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('...
2
votes
1answer
191 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 ...
2
votes
4answers
3k views

how to rename the SKU label?

This seems like it should be easier than I'm finding it. How can I change the label of SKU on a product page (and well, everywhere I guess) to "Article Number"? I changed the label in attributes, I'...
1
vote
1answer
421 views

Magento multistore - translating ALT tags and images & store view levels

Whilst translating a site to language 2 coming from language 1. We Changed the image ALT text (as seen in screenshot) thinking that Magento would: * use the image (+filename) from the default config ...
1
vote
1answer
1k views

translation only work us other not working for other locale in custom module

admin panel always do translation from en_US. where did i do wrong? helper $helper=Mage::helper('test'); $helper->__('Shipping Method'); config.xml <frontend> <translate> ...
1
vote
2answers
1k views

Please enter a valid full date translate

We want to translate "Please enter a valid full date", but when we edit the csv file, nothing happens. This is the default Magento validation line in the one page checkout. When a user enters the ...
1
vote
0answers
647 views

Multistore (languages) on one and the same domain (no subdirectories or subdomains)

we have several stores. All with several languages. Now I was wondering why we dont just serve all these stores using 1 domain? (no storecode, no subdirectory) Question: Why would this not be an ...