Announcement Announcement Module
Collapse
No announcement yet.
i18n fallback with keys are displayed? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • i18n fallback with keys are displayed?

    Edit: setUseCodeAsDefaultMessage is the answer.
    Thread can be closed.

    Hello all,

    I use the ReloadableResourceBundleMessageSource. Is there an option the set a fallback for not translated properties? I don't mean the fallback to the system Locale. I would like to see the key.

    Example:
    RessourceBundle:

    default
    USER.NAME=name
    de_DE
    USER.NAME=

    In the JSP I expect now an output with "USER.NAME" for Locale de_DE, not an "javax.servlet.ServletException: javax.servlet.jsp.JspTagException: No message found under code 'USER.NAME' for locale 'de_DE'."

    Thx ahead
    Last edited by Jack Beauregard; Feb 6th, 2012, 09:42 AM. Reason: solved
Working...
X