How to translate message.text in magento 2

i want translate ” The requested qty exceeds the maximum qty allowed in shopping cart “. I think it’s in the template but when I find it, it’s here

app\design\frontend\Mgs\dukaken\Magento_Theme\templates\messages.phtml

<div data-bind="scope: 'messages'"> <div data-bind="foreach: { data: cookieMessages, as: 'message' }" class="messages">     <div data-bind="attr: {         class: 'message-' + message.type + ' ' + message.type + ' message',         'data-ui-id': 'message-' + message.type     }">         <div data-bind="html: message.text"></div>         <div class="cl-mes"></div>     </div> </div> <div data-bind="foreach: { data: messages().messages, as: 'message' }" class="messages">     <div data-bind="attr: {         class: 'message-' + message.type + ' ' + message.type + ' message',         'data-ui-id': 'message-' + message.type     }">         <div data-bind="html: message.text"></div>         <div class="cl-mes"></div>     </div> </div> 

How to translate it and other things in it, please help me. Thanks all

2

Translate Knockout Variables

I’ve been trying to get the shipping titles to translate with no success so far. It seems most questions deal with knockout text but I’m trying to do it on a variable that doesn’t seem to be working. Here’s what I want to translate, which is located in app/design/frontend/Me/Mylook/Magento_Checkout/templates/cart/shipping-rates.html:

<!-- ko i18n: $  data.method_title --><!-- /ko --> 

And here’s what I’ve been using in the CSV files locally

"Free Shipping", "Test Shipping" 

I’ve tried this CSV file in the following places with no luck:

app/code/i18n/en_US.csv app/code/i18n/magento/checkout/en_US.csv app/code/MyCompany/Translate/i18n/en_US.csv app/code/design/frontend/Me/Mylook/i18n/en_US.csv app/code/design/frontend/Me/Mylook/Magento_Checkout/i18n/en_US.csv 

I’ve cleared cache, redeployed static content and deployed static content with just that language (en_US) and cleared browser cache multiple times.

I have tried to alter the js-translate.json file directly in pub/static and if I add the text it’ll work, but that only works as long as I don’t clear cache.

Any ideas before I do something horrible and try to update the text with javascript?

Translate English to Tagalog Articles and Vice Versa for $5

Hi! Kindly Send me a message first before ordering a gig I accept Custom Orders About me: I am a Filipino native.Born and raised in the PhilippinesFluent in speaking English & TagalogI have been translating documents for 5 years What I offer: Only 5$ for 550 wordsAdditional 5$ for every additional 500 wordsEnglish to Tagalog & Tagalog to English Translations100% MANUAL & CONTEXTUAL translationsNO Machine Translations guaranteed Sample Translation: Machine Translation: Satisfaction guaranteed = Nasiyahan ang kasiyahan My Translation: Satisfaction guaranteed = Siguradong matutuwa ka Extra Fast: Message me for extra fast deliveries (Less than 24 hours) AUDIO TRANSCRIPTION: I am not a professional voice-over artistI will just provide an audio recording of the document translatedMessage me for the additional rate for an audio transcription Notes: For custom gigs, kindly send me a message first before ordering All packages are already inclusive of Commercial Rights with no additional chargesPlease send me a message for a custom order & rateI do not translate documents with obscene and vulgar words

by: mariegrace
Created: —
Category: Article Translating
Viewed: 168


I will translate from English to Dutch and vice versa! for $5

I will make a fast, flawless and professional translation. I will translate everything manually, which makes for a perfect translation. It will be delivered without errors in the layout you prefer. -I’m a native Dutch, English and French speaker. -I will make changes until you are satisfied. For special requests regarding size, urgent delivery or anything else? Contact me asap!

by: danielotff
Created: —
Category: Article Translating
Viewed: 161