Questions tagged [language]

Denotes questions relating to translations & languages in Magento

98 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
1answer
213 views

Change magento 2 controller language response

I have a controller that act as an API endpoint in magento 2, i need to have a response on different language base on parameter that were passed, this controller can access model and etc. for example:...
6
votes
0answers
810 views

magento 2 can't use same url key for different store view pages

I have 2 store view on my website, one in English and one in Italian, I'm trying to set different privacy and cookie page for each view, but I need to use the same url key, to autoredirect to the ...
6
votes
1answer
2k views

“Interface Locale” admin language problem

In my admin page, the "Interface Locale" dropdown is not working. I already switched the default language to German, but is still shows English. The same with Chinese. How can I solve this problem?
5
votes
1answer
2k views

collect phrases and lang pack command line different from official doc - Magento 2.0.1

I use magento version 2.0.1, I am trying to add new language package, I have followed the instruction from official doc, that commands are not working command syntax mentioned in official doc magento ...
4
votes
1answer
233 views

Magento2: Cant change store in product listing and product detail page

I have successfully created multistore with different languages with URLs like: http://localhost/magento22/english/ http://localhost/magento22/french/ I can change store only in homepage. When I go ...
3
votes
1answer
593 views

Magento 2 - How to create new language pack for admin interface

I have successfully created a language package at /app/i18n/vendor/ja_jp and applied it to the storefront. But the new language package is not appeared in the admin's account setting. How can I ...
3
votes
1answer
67 views

Mutli store setup to use another store other than default as the default language for category and product translation

We have a multi store setup with our default store set to be in English. We have a Dutch website (.nl) which inherits all of the English products and categories but we have altered the names, ...
3
votes
0answers
350 views

Multistore: removing __store when stores on different domain

we have a stor with multiple languages. They are on different domains. In our endeavour to clean the URL, we want to remove __store and __from_store step 1. __from_store is removed like so Change ...
2
votes
1answer
48 views

Magento 2: Multilingual Module

I am creating my own module and as I am creating some text, that will be shown in the website. The store manager, which installs my module, needs to have the possibility to translate my text into ...
2
votes
3answers
105 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
0answers
48 views

Magento 2 language switcher cause form resubmission when i redirect back

Changing store view and going to the other page, when i click back in my browser it cause form resubmission. How can i, for example, set redirect on controller with GET method? Any help, please?
2
votes
0answers
22 views

Problem with multillanguage url rewrite

I have installed Magento 1.9.3 with sample data so I have category: Women clothing with url women.html for the eng view femmes.html for the fr view frau.html for the german view When I switch the ...
2
votes
0answers
119 views

Override language package

I am trying to override an installed language package (magenerds/de_de) with a custom package as described in this answer. My problem is that my custom package is ignored, and I have no idea why. The ...
2
votes
0answers
23 views

Magento 2.1.8 Language Pack Only English is selected

I've created a Chinese and Japanese store views for my Magento store. In storefont the options for Japanese and Chinese are displaying. However, when I click on Chinese or Japanese, only English ...
2
votes
2answers
624 views

Magento2: Install language package

Which is the right procedure to install a new language in Magento2? I downloaded the Italian language package from the site Crowdin https://crowdin.com/project/magento-2/it What I get is a zip whose ...
2
votes
0answers
940 views

Magento 2 Multilanguage and Multi website with URL folder change

Hi guys I come here to get some light.. I'm gonna explain what I want to do. I want to make a base Magento 2 platform ready to be expansive with more Websites focused on stores. Each websites will ...
2
votes
2answers
3k views

Get Store/Website by Language/Country

Im searching since a week how i can get a store_id / website_id for a given language. Like: $countryId = 'DE'; // or country = Germany foreach (Mage::app()->getStores() as $store) { if($store-...
2
votes
1answer
1k views

Magento2.2 language switching not working on catalog pages

I have magento2.2 fresh installation. I enabled two languages I can switch the language/store view on the homepage. also on default pages like create an account, forgot password etc. But when I am ...
1
vote
0answers
12 views

how to switch currency depending on the language code in $ _SERVER

I use a separate translation service, it makes a copy of my frontend and redirects to another domain. I am using language switcher from this service. since they are not related to magento stores I ...
1
vote
1answer
46 views

Different language code for Magento 1.9 to Magento 2.3 migarion

I have a multi store in my magento 1.9 and i successfully migrated to Magento 2.3.4 one of my stores have language code and store code set to zn_HK in my Magento 1.9 , but in Magento 2.3.4 there is no ...
1
vote
0answers
17 views

Language conversion

I have a English store which I have brought over from shopify. Is there an easy way I can bring over my 9 other stores and convert the same products to different languages for them? Rather than ...
1
vote
0answers
60 views

Mage GetResourceModel in specific language in magento 1.9

I am working on a module to pull inventory data into a feed. For this we use Mage::getResourceModel. Pulling the data works alright, I just have the problem that the language changes depending on the ...
1
vote
1answer
241 views

No translations for `Invalid Form Key. Please refresh the page`

I am using Magento 2.3.1 I can not load translations for text Invalid Form Key. Please refresh the page. shows occasionally on frontend. Of course I add translations for language .csv placed in ...
1
vote
1answer
219 views

Magento 2 German Language Pack Problem - fresh Magento 2.3.1 with docker-compose on Ubuntu 18.04 LTS

I had problem with Mageplaza German Lanuage Pack. I have recently installed Magento 2.3.1 with docker-compose on Ubuntu 18.04 LTS. I tried to install language pack using composer. My Magento ...
1
vote
0answers
47 views

Changing store view (language) to the default store view, it goes back to homepage

I have "Add to store code to url" enabled, I have two store views with different name and url of the category for each store view, now I'm in category page: example.com/en/category, when I switch ...
1
vote
0answers
128 views

Same content (language) for multiple countries (store views)

I'm trying to implement an e-commerce site (using Magento 2) that has the following requirements: be available in N countries (eg http://example.com/country_code/ ) with X languages share the same ...
1
vote
1answer
28 views

Is it possible to have a different url for a different language

Currently, I have a multiple language website. it's xxxx.nl. Its available in Dutch and in English. I also own the domain .eu. Would it be possible to have the English version of the website on the ....
1
vote
0answers
46 views

Magento 2 set default language to spanish

I am using Magento 2.2.5. I need to set the Default language as Spanish instead English in the Luma theme. How to set this.
1
vote
0answers
312 views

How to modify lang attribute in html tag by specific locale

I want to modify this attribute by programmatically After many times research i found this class in lib magento Magento\Framework\View\Page\Config Unfortunately magento team set locale in ...
1
vote
0answers
93 views

How to make Magento 2 store multilingual?

I am using magento 2.1.3 and i want to make my store in English and Arabic. Any suggestion to me.
1
vote
1answer
127 views

Magento 2 : Language and currency default

I have create two custom field like language & currency while register customer has to enter that field. After, login customer have to get pages in what language and currency he had entered in ...
1
vote
0answers
35 views

Language package in magento2 not reflected

I have already created language package for fr_FR language and it's working fine. I want to add another text in that French language so I have added my text in that file and I compiled this command it ...
1
vote
3answers
2k views

Having problem with multi languages store in magento2

My problem is that I have three store views and I set three languages view from admin. In frontend when I click on second language it work than i click on third language url it give error and not ...
1
vote
0answers
144 views

Change language and icon doesn't show in Magento 2.2

I changed language from US to Persian, after that the icon doesn't show. I did the solution that is in this link: admin backend icon fonts missing But it didn't solve it, when I use php bin/magento ...
1
vote
0answers
201 views

How do I change the front-end language in Magento 1.9.3.6?

I have made a Webshop and I want that the store can be seen in different languages: English, Dutch, and Turkish. The admin language should stay English. I don't know how this works. I tried this ...
1
vote
0answers
104 views

Currency not changing and price conversion not working as well

I have created multilingual website with two different storeviews, one in English and another in Chinese. I can say that I have installed the Chinese language package properly as result is visible. I ...
1
vote
0answers
53 views

Magento 1 - Is it safety to use Store Code in URLs?

I need a multi language store using domain.com/fr/ domain.com/it etc structure (are more than 10 stores so domain.en domain.fr domain.it etc is not possible) i can apply it in Configuration > Web > ...
1
vote
0answers
362 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:...
1
vote
0answers
374 views

Magento 2 default invoice pdf language

I wonder that is there any way to set Magento default invoice pdf language different with Interface Locale in Account Setting?
1
vote
1answer
37 views

how to setup different languages in magento 2.1.6 version

I have a doubt regarding language setup. My default language is ENGLISH and I need to add ARABIC language along with ENGLISH.When we click on ARABIC language same store view with the same theme will ...
1
vote
1answer
316 views

Add a custom new language package Magento 2.1.3

I'm trying to create a new language package for Magento 2.1.3. I've been following this guide but without success. I tried the following steps without success: 1) Collect phrases from your module ...
1
vote
1answer
951 views

Problem with the URL when changing store while in Subcategory

First off, Lets clarify : -Using Magento ver. 2.1.1 -Got a Porto theme -Only one extension other then the one for the theme: M2E -Installation on Google cloud We just got into magento, fidle with it a ...
1
vote
1answer
42 views

home page goes back to default when changing store

I have setup a website with 2 stores (english and welsh). I am usng a custom built layout,template and skin. When I attempt to change language (home page only) the home page reverts to the base ...
1
vote
0answers
342 views

Magento 2 - Language Package

I have created the langauage csv files using the following commands. And the translation is just working fine. Do I still need to create a language package as described in this link? php bin/magento ...
1
vote
0answers
64 views

Need to embed google translator in RTL arabic page

I need to embed google translator in RTL Arabic page, using magento 1.9.2.4. Urgent response is highly appreciated. Thank you
1
vote
1answer
217 views

Magento 2, with Bosnian Language: bs_Latn_BA, show wrong price format. How to correct?

I install Magento 2, with Bosnian Language: bs_Latn_BA and I notice that price format is wrong. For example, if price is: 1345.67 Magento show me: KM 1,346 Bosnian correct format is: 1.345,67 KM ...
1
vote
0answers
103 views

Magento 2: Create multi store view site in nginx

I am recently struggling creating multi store site for M2. My problem is that i need to create a website with this structure: store1.website.com/us/ <- Main website 1 default store1.website.com/de/...
1
vote
0answers
189 views

How to setup a new language in magento2?

I found this website (https://crowdin.com/project/magento-2) and the respective instructions (http://www.vanderboon.net/wiki/Install_Magento_Crowdin_Translation). Unfortunatly even after doing ...
1
vote
0answers
231 views

setup upgrade not list the language package extension - Magento 2.0.1

I am trying to create new language store view. after creating language extension, then I have cleared cache 1) When I run setup:upgrade it is not listed my language extension lang_lg_lg 2) In ...
1
vote
0answers
2k views

setting language to website in magento 2.0.2

I need an italian language site but now is only in english. I tried to change my default language but my site is always in english language. My change was this: Stores -> Configuration -> In the "...