AW: Wrong fallback language
martin.sobotka at inet-logistics.com
Tue May 30 12:24:57 EDT 2017
> > My configuration looks like as follows:
> > File "idp.properties":
> > [...]
> > idp.ui.fallbackLanguages=en
> This actually isn't involved. That drives the behavior of the code that looks up logo and name information in metadata, it's entirely separate from Spring's message layer. That isn't obvious of course, it's understandable it would be confused with that.
Thanks for fast response and clarification of " idp.ui.fallbackLanguages" parameter.
> I believe Spring would default to the "bare" message file. You should turn up logging there and see what it's doing I suspect, but I have certainly tested that much back during the original incorporation of the message code.
I also believe that Spring should fall back to the "bare" file, in other projects I use the same technology and the behavior is like that. Where can I turn the logging for this to "debug"? I tried the following:
<variable name="idp.loglevel.spring" value="DEBUG" />
<variable name="idp.loglevel.messages" value="DEBUG" />
> > (I've also renamed messages_en.properties to messages.properties
> > without
> > success)
> I believe you'd have to, so my guess is you're mistaken about that. It will not just pick a language to use as a default as far as I'm aware. Perhaps you didn't restart afterwards.
> Also, there's going to be a system/messages/messages.properties file that should get used anyway, so it shouldn't matter whether you actually create your own. But that is the default we provide, so don't rename it.
The idp.home/system/messages/messages.properties is untouched. My own translations are in idp.home/messages/.
More information about the users