localisation - specify fallback locale

2009-05-30 Thread Antony Stubbs
I would like to keep all our languages in specific files *_lang.properties - and not have a *.properties file - i.e. mypanel_en.prop mypanel_nl.prop and not have a mypanel.prop. and if someone comes to the site with fr as their locale, is there already an option for me to specify that the

Re: localisation - specify fallback locale

2009-05-30 Thread Antony Stubbs
Ok, answered my own question: ComponentStringResourceLoader dutchFallbackResourceLoader = new ComponentStringResourceLoader(){ @Override public String loadStringResource(Class? clazz, String key, Locale locale, String style) { return