Developer forum

Forum » CMS - Standard features » Can't add " @Translate " tag in Ecommerce Backend

Can't add " @Translate " tag in Ecommerce Backend

Toe Tet Linn
Reply

Hello Sir,

I have trouble in adding @Translate(“TEXTKEY”, “Default Value”) at Ecommerce Backend. What I mean is that, I create customize template and use it at Ecommerce > Order > OrderNumber > Print . Then, I add @Translate(“TEXTKEY”, “Default Value”) in my code ( please refer to attach image ), but, it show error ( please refer to attach image ). I tried with another way, like that , @Translate(“TEXTKEY”, “Default Value”,"Culture Name"). It doesn't show error. But, in translation, I change the text and it doesn't affect ( please refer to attach image). Please advice and help me.

Thanks

Toetet

a_addcode.PNG b_showerror.PNG c_addculture.PNG d_fine.PNG e_addtranslate.PNG f_notwork.PNG

Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Toetet

No, that is not possible - there is no website language when printing in Dynamicweb, so it is not possible to swtich language. So in the print template, the Translate tag will not work since it cannot find a language to translate to.

Sorry about the inconvenience.

BR Nicolai

Votes for this answer: 1
 
Toe Tet Linn
Reply

Hello Nicolai

Thank you for your answer. smiley

Best Regards,

Toetet

 

You must be logged in to post in the forum