People who code: we want your input. Take the Survey

Questions tagged [translate]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
26 views

How to translate magento 2 customer login/registration url

How I can translate customer login url? "customer/account/login/" but example if I translate it to Estonian then it should look like this "klient/kasutaja/sisselogimine". So if ...
0
votes
1answer
37 views

How To Translate contact us Meta description in magento2?

vendor/magento/module-contact/view/frontend/layout/contact_index_index.xml <head> <title>Contact Us</title> <meta name="description" content="Have ...
0
votes
0answers
34 views

Magento 2.4.2 translation problem in cart

I try translate info about quantity in cart but after i add this translate in csv file it doesn't work. This info is in the core module vendor/magento/module-inventory-sales/Model/...
0
votes
0answers
23 views

Translate “custom option” in mini-cart for multistore

I have managed to successfully translate the custom options in the article (see previous question here. But the next step is to reproduce these options also in the "mini-cart". The minicart ...
0
votes
1answer
19 views

Magento2 language/locale not working

So I installed Magento 2.4 via docker/composer on my development machine. I am trying to use the German (Germany) language for my store front view. I tried with just the default setup, I also tried ...
0
votes
1answer
22 views

how to override translate from a vendor language package

hello everyone in my case i want to translate some sentences in magento 2.3 wich is already tanslated by a language package or in a module inside the vendor folder , for example i have already a ...
0
votes
1answer
31 views

Translate “custom option” for multistore

I have a website and for a product like "shirts" there is a way to get a discount. (This is implemented by a custom option). I'm importing all the products and the options programmatically. ...
0
votes
1answer
25 views

How to translate static content within CMS

I have a language pack installed and its working but it does not work for my own static content I have created within the CMS. For example I created a page within the CMS. <div> <p>Hello ...
0
votes
1answer
18 views

translate a content: 'Price'; in a scss file

I have a file called _catalog-extend.scss. When I open this file I see in de the code a hardcoded 'Price'. // // Price box // _____________________________________________ .product-info-main ....
0
votes
0answers
13 views

Magento 2 Translate message im adminhtml auth login

i want to translate two messages in the logging panel to CMS (The account sign-in was incorrect or your account is disabled temporarily. Please wait and try again later. and Incorrect CAPTCHA.). ...
0
votes
1answer
55 views

Magento 2: Translate knockout html where “mailto:info@sitename.com” is used

In Magento_Checkout/web/template/minicart/content.html there is a "mailto:info@website.com" used. Now I can translate the last piece by -- ko text: $t('info@website.com') --> <-- /ko --...
0
votes
1answer
25 views

How to translate validation error message in checkout page Magento 2.3

Please any Ideas on how to translate the validation message on phone field on view/frontend/layout/checkout_index_index.xml: <item name="telephone" xsi:type="array"> <...
0
votes
0answers
14 views

Magento 2 Translations not working on plugins

I have a translation file in app/design/frontend/vendor/theme/i18n/en_US.csv "sample_trans","Sample Trans" my problem is when i try to call it in a plugin via __('sample_trans'). ...
0
votes
0answers
22 views

Magento 2 translation file not working in app/code

im using magento 2.4.0 and I currently have an app/design/frontend/vendor/theme/i18n/en_US.csv "sample_trans","Sample Trans" my problem is when i try to call this inside the app/...
0
votes
1answer
28 views

When Select France Language in Google Translate Price Formatting Different in cart page in Magento 1.9

i set the google translate for translate language in magento 1.9 but in cart page in some product the currency symbol was not chnage Select Language France Select Language English any one can help ...
0
votes
1answer
21 views

Magento 2 - Conflict in localisation csv file

I understand the general structure of i18n csv files that is like <key_hook>,<translation_of_that_key> but according to the documentation there is the possibility to add a module ...
0
votes
0answers
19 views

Translate Offline Payment text for Cashon delivery payment method

I would like to change text "Offline Payment" to "Paiement sur livraison" in admin order in Payment & Shipping Method section, the payment method for the order is cash on ...
1
vote
2answers
28 views

Translate problem about

How to Translate about this code please? ->addSuccessMessage(__('Your #' . $incrementId . ' has been submited.')); I tried Your #%1 xxxx but not working? anyone can help, thank you!
0
votes
0answers
18 views

Translation in arabic store for You added {Product name } to your shopping cart

I want to translate "You added {Product name } to you shopping cart in arabic. I tried this, "You added %1 to your <a href=""""%2"""">shopping ...
1
vote
1answer
16 views

Magento2: Issue with translate

I add to list.pthml: <tr> <th style="width:10%"><?php /* @escapeNotVerified */ echo __('SKU') ?></th> <th style="width:10%"><?php /* @...
0
votes
0answers
38 views

How To Remove Select From Select Language from google translate in magento 2?

i used google translate for change the web site language in that how can remove the select text from select language full text
0
votes
1answer
54 views

Magento 2.3 - How set custom options title by store view programmatically?

I would like to be able to translate the title of the customizable options. The following code works correctly and adds the options in all store views. How to adapt it to have a translated title in ...
0
votes
2answers
22 views

Transalation problems checkout

I have translated "You can create an account after checkout." text and "Place order" button and the translation is displayed correct when Magento is set to developer mode, but when ...
0
votes
1answer
74 views

Translate *Required Fields - Magento 2.3

We have an issue that we are not able to translate "*Required Field" and "This is a Required field" I also notice that the previous developer have put the Norwegian Language pack ...
0
votes
2answers
12 views

Filters on the dashboard don't work with the Spanish dashboard

When I put the panel in Spanish the filters stop working: Why can this be? And how can I fix it? Thank you so much!!
0
votes
1answer
83 views

How to Translate “Ship here” button

I'm trying to translate a button when you are in checkout and you click "Add new address", a popup comes up where you can add a new address. At the bottom on that popup there is 2 buttons, ...
1
vote
1answer
130 views

Translate html magento 2

I am developing my custom module. I have the html template look like this <p> This is a <strong>text that I need to translate</strong> </p> <p>Read more: <a href=&...
0
votes
0answers
20 views

Magento 2 weard translation bug

Recently encountered the weirdest bug i have ever seen. Here's a screenshot. I have tried to clearing cache, removing static files, redeploying static files, disabling language pack module, ...
0
votes
1answer
235 views

Magento 2: Convert Magento\Framework\Phrase into string

How can i convert this variable into string: $var = __("Welcome"); because when i put in strpos function it will return an error: strpos($var, 'om'); Uncaught TypeError: strpos() expects ...
0
votes
0answers
20 views

Magento 2: Can't translate New Shipping Address Popup Form label in checkout page

I'm using Magento 2.3.4 and i tried to translate the City input label inside the new address popup form in checkout page (when we already have an address). I tried using the en_US.csv inside the theme,...
1
vote
1answer
400 views

How to change default search placeholder text in Magento 2.3.5

I want to change the default search box placeholder text by using a translation file - it's the text that says "Search entire store here...". I want to change it to "Search website"...
1
vote
0answers
12 views

File js-translation.json is loaded slower or later than other javascript

File js-translation.json is loaded slower or later than other javascript file which contains some texts need to translate so at this time translated texts still not push to storage. When the a.js is ...
0
votes
1answer
150 views

Can't run my validation translated csv

I'm having some issues with translating the validation csv file. I did go to public_html/lib/web/i18n - downloaded the existing en_US.csv file and translated it. I cleared all the empty lines, as it ...
0
votes
0answers
18 views

Localize untranslated strings

new to Magento so if i just ask something silly please be soft with me. I'm trying to create a website using Magento 2.3. I already have translated the strings of the theme located in /app/design/...
1
vote
2answers
174 views

How to translate “Filter by” in magento 2

I want to translate Filter by text: I have translated it in app/i18n/es_ES.csv and in app/design/frontend/.../Theme/i18n/es_ES.csv but this doesn´t work. I have tried all the possibilities: What can ...
0
votes
1answer
90 views

How to translate API response

I'm adding product to cart using {baseUrl}/rest/{store_code}//V1/carts/mine/items If requested qty not available in stock then in response you'll get The requested qty is not available I want to ...
1
vote
1answer
147 views

Add to Cart Success Message Translation issue?

<?= $block->escapeHtml(__( 'You added product %1 to the <a href="%2">shopping cart</a>.', $block->getData('product_name'), $block->getData('...
0
votes
1answer
98 views

Magento 2 : Product attributes color and size Translate issue

It is a Configurable product and the default store view is Swedish store and this text Color and size need to be translated in Swedish but These words are not translated in Swedish ?? I have tried ...
0
votes
1answer
39 views

Add to cart success message

<?= $block->escapeHtml(__( 'You added product %1 to the <a href="%2">comparison list</a>.', $block->getData('product_name'), $block->getData('compare_list_url')), ...
1
vote
1answer
161 views

Magento2: How to translate search box input field

How can I translate text in i18n Enter keywords to search...shows in this way? I add to file translate: "Enter keywords to search...","Szukaj produktu" but no result. <input id="search" ...
0
votes
1answer
137 views

Magento2: How to translate text from html file

We have file: web/template/checkout/order-comment-block.html in this file I see code: <span class="chars-label"> <!-- ko i18n: 'remaining ...
0
votes
0answers
33 views

Magento2: {“0”:"Class argument is invalid:

we have issue with extension translate language MageCube on our magento version latest 2.3.4 and when we try open catalog with products then get issue: {"0":"Class argument is invalid: MageCubeTeam\\...
0
votes
1answer
80 views

How to translate string with link?

Magento 2.3 How would I translate this in a CSV file: $message = __('You added <a href="'. $product->getProductUrl() .'">%1</a> to your shopping cart.', $product-&...
0
votes
1answer
192 views

Magento2 - Translate title property in knockout js html template

I have href html tag that looks like this in my knockout html template <a data-fancybox data-src="#price_policy" href="javascript:void(0);" title="Shipping Cost" data-bind="i18n: 'Shipping will ...
2
votes
1answer
1k views

Magento2 Knockout js - translate variable text

I'm trying to translate text that comes from a variable in Knockout html file, but I can;t find the right way. Here's some things I tried: <dt class="label" data-bind="html: i18n(option.label)">...
0
votes
1answer
21 views

How can I know which country code should be used for translation file?

I want to translate store to Serbian language and in official Serbian translation there are 2 types Alphabet and Cirilic letters: sr_SP.csv sr_CS.csv But there is only one Serbian in localisation ...
0
votes
1answer
62 views

Magento 2 - How to translate JS form errors?

In Magento 2, I try to translate Javascript messages "This is a required field." In create account form : I selected Spanish language but javascript errors are not translated, they appears in ...
0
votes
1answer
122 views

Magento2 Translate cross sell, up sell and related products

we have magento 2.1.16 ce I can't get these three title translated: cross sell, up sell and related products Inline translation does not work for this ... They are not editable. And I also have an ...
3
votes
0answers
42 views

How to solve checkout translation issue magento 2.2.7?

I am unable to translate 2 stuff in checkout, its there in csv but not working. When i am enabling "Translate Inline" from admin its showing like this
1
vote
2answers
601 views

Translate in Araic language Magento 2.3.3

Product Name, Description and Layerd Navigation not Translate In Arabic Language. Using Arabic Language Pack Install Language Pack. 1. Product Name 2. Product Description 3. Layerd ...