Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
We usually LinqToXml a specific lang file to find the keys available for JS and then look at HttpContext.Current.Request["epslanguage"] and generate a little JSON put in javascript scope before other scripts:
var projectTranslatedStrings = { templates: { project: { footer: { printlinktext: 'Skriv ut sidan' }, documentsection: { gobacklinktext: 'Tillbaka' } } } };
Is there any way to translate texts in EPiServer in JavaScript?
In code behind one can usually do:
Is there any corresponding way to achieve the same thing using JavaScript? What I want to do is to translate some button labels and things like that.