my site will be in 3 languages. I'm using a resource bundle for the
global translations, mostly stuff that falls in the header and footer.
the main content will need to be custom content for each language.
since i'm new to MVC type apps and new to CB, not sure how i can
normally i would you have:
the URL request, regardless of which locale is set, is always
localhost/about/. but if locale is set to fr_ca then my process will
output the content of index_fr_ca.cfm. plus, if locale fr_ca is set
and index_fr_ca.cfm doesn't exist then by default index.cfm is used.
in CB, a PRERENDER interceptor would be great here. I could have my
views like this;
and interceptor could do this:
currentView = getCurrentView(); <---- not sure how i can grab this
if(getfwLocale() neq getSetting("defaultLocale"))
setView("#getfwLocale()#/#currentView#"); <--- will override current
in this prerender process i can also override current layout if
I don't know what is the standard way of doing something like this.