Questions tagged [translate]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
31 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
18 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
19 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
26 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
20 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
15 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
29 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
38 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
21 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
58 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
65 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
98 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
19 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
163 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
16 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
289 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
108 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
16 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
136 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
0answers
23 views

Change translated strings from language file

first time I'm using Magento2 and I had to change the default language of frontend to Greek. I followed the guide from Mageplaza Installing via composer and after I deployed, it worked like a charm. ...
0
votes
1answer
71 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
142 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
84 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
133 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
104 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
11 views

How to apply changes made on translation file in translation package?

I created a translatin package some time ago. But now I needed to update some lines, but I cant figure out how to update the package whe I replace .csv with new file.
0
votes
0answers
31 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
60 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
160 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 ...
1
vote
1answer
944 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
20 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
51 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
108 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
41 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
552 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 ...
1
vote
0answers
41 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 ...
1
vote
2answers
41 views

magento 1.9 : anchor tag not working in language translation

I want to place anchor tag in given text>so i kept like this <?php $var=Mage::getBaseUrl(); echo $this->__("Iam <a href='%s'>here</a> with link",$var) ?> I wrote ...
0
votes
1answer
27 views

M2 - Not creating nl_NL.csv in static files

I'm running Magento 2 in developer mode, but I need to translate the error message: Provided Zip/Postal Code seems to be invalid. Example: 1234 AB/1234AB. If you believe it is the right one you can ...
1
vote
0answers
45 views

Magento 2: Translate Order Email template

How can I translate the attribute label? I've already added to "Manage Label" but still not working. Color is translated but not size? Does anyone have an idea ? I tried all possible by placing ...
0
votes
2answers
236 views

How to translate Magento 2 My account page

im trying to translate My Account page. I was looking for CSV file but did not find any. Could you help me with this please ?
0
votes
1answer
147 views

Translate a label for checkout page “ZIP/POSTAL CODE” to just “POST CODE” : Magento2 [duplicate]

does anyone know if there is a way to create a label for the checkout on teh admin panel? we need to change the standard text "ZIP/POSTAL CODE" to just "POST CODE" at teh checkout. I am new on this, ...
0
votes
1answer
78 views

Magento 2.3.1 minicart.phtml translations

I'm trying to translate the string items from app/design/frontend/<Vendor>/<theme>/Magento_Checkout/templates/cart/minicart.phtml without success. I have a dictionary already created in ...
1
vote
0answers
46 views

M2 - Weird translation window

We have Magento 2.3.0 and use the theme "Claue". But with some of the translations, when I use the inline translations, I get a weird window with a lot of input field but no change to change the ...