I'm using Eclipse 3.6 and TomCat 7.0.16.
I have two languages implemented in JSF2/ICEFaces.
This is how my faces-config.xml looks:
In the package se.comlink.internationalizatin.resources there are two properties files namely:
It seems to be working quite good.
But when I submit a form I get the "java.util.MissingResourceException: Can't find bundle for base name i18n.messages, locale sv"
This error ONLY occurs when browser language is set to sv (swedish).
When language is set to en (english) the error NEVER occurs.
So, any of you have any good ideas?
It's better to be approximately right than exactly wrong.
This has to do with MessageBundles and I18N. The file it's looking for needs to be named something like "/WEB-INF/classes/se/comlink/internationalization/resources/messages/messages.properties.sv, if my memory is any good.
You should be able to find the exact naming requirements for bundle property files in the JavaDocs for ResourceBundles, though, which is a better place to search than the decrepit halls of my recollection.
Customer surveys are for companies who didn't pay proper attention to begin with.
Joined: Nov 17, 2010
I will look into it.
But the real strange thing is that my i18n messages are loading as it should when my pages initialized are loaded.
This error I've got only occurs when I submit an ajaxafied form (single submit).
Well... that's what I think anyway