1

I'm trying to translate

{{trans 'If you have questions about your order, you can email us at <a href="mailto:%store_email">%store_email</a>' store_email=$store_email |raw}}. 

with this line in the .csv

"If you have questions about your order, you can email us at <a href="mailto:%store_email">%store_email</a>","Für Rückfragen stehen wir Ihnen jederzeit gerne zur Verfügung. Sie erreichen uns per E-Mail unter <a href="mailto:%store_email">%store_email</a>" 

But it doesn't work. I have no problem with this one

{{trans "Thank you for your order from %store_name." store_name=$store.getFrontendName()}} 
1

1 Answer 1

0

You should use double quotes when a translation string already has or needs quotes (for example: attributes for inline translation html elements) - like this:

"If you have questions about your order, you can email us at <a href=""mailto:%store_email">%store_email</a>"","Für Rückfragen stehen wir Ihnen jederzeit gerne zur Verfügung. Sie erreichen uns per E-Mail unter <a href=""mailto:%store_email"">%store_email</a>"" 

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.