Share » Forums » Developer » ezscript_require with i18n strings

ezscript_require with i18n strings

ezscript_require with i18n strings

Saturday 29 January 2011 2:48:20 am - 2 replies

Author Message

Jerome Despatis

Saturday 29 January 2011 10:17:12 am

Well gonna use a i18n() js func in my js scripts and an ezjscore server functions to provide this function with all localized strings. As it is a php class, it will get parsed by ezlupdate...

Gaetano Giunta

Monday 31 January 2011 1:16:34 am

Not something I recommend, but you can use the "include" template function to actually have some js files parsed using the template engine (hence translatable via i18n) and included on the page. Just use the 'file:' namespace instead of the 'design:' one. Drawback is that you'll have css/jss inline

Principal Consultant International Business
Member of the Community Project Board

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu