Saturday 29 January 2011 2:48:20 am
Hi, I've some javascripts (bundled in a global minified .js file thanks to ezscript_require). In those javascripts, I may have functions that use localized strings. For now, I give those localized strings as an argument to those .js functions, but really not a perfect solution. => hence my question: as ezscript_require parses all my .js script, is it possible to use some kind of i18n("...") function in the .js file, and ezscript replaces them according to siteaccess for example (in the case siteaccess is the language) Or any idea is welcome to use localized strings in a .js file, (that would be parsed by ezlupdate to easily create translation.ts for each foreign language) Thanks
|