I need to translate this question: "The requested qty is not available\nSome of the products are out of stock." This is a message from API payment information on the checkout page when I click the button checkout.
I add this sentence to my translate file. But it is not working because of "\n". I can't change the message so how can I translate this?
I overrided file Magento_Ui/web/template/messages.html (change text: $data to i18n: $data)
Please help me. Thank you.