I’m trying to create multilanguage version of my app.
I’ve created different resource bundle for every language. I load this key/value in a prehandler:
`
function preHandler(event,rc,prc,action,eventArguments){
prc.i18n = getPlugin(“i18n”);
}
`
And then I load the value in my view:
`
#getResource(“intro”)#
`
Is a good idea to store all the resource bundle content in a prc variable and then access those value with #prc.i18nValue#?
This just to prevent multiple load from a static file…