You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Volker Schneider <vo...@danet.de> on 2002/05/02 15:36:55 UTC
i18n throws exception if locale does not match exactly
Hi colleagues,
when my browser is using the locale configuration "en-gb" and I have a
i18n-catalog for lang="en" it works fine, but there is an error exception
reported in the log, because there is a "file not found" exception coming up
(messages_en_gb was not found). I think there is no need to have an error
being reported. No web application supports all possible languages. If an
arabian user wants to use the site, he will get the fallback ("en" for
example), but that's no error.
Please think about changing this, maybe it could be a warning, but if he
have thousands of users with a locale "en_us" uses our site and we only
support "en" or thousands of users uses the fallback locale, logging the
stack trace will reduce perfomance.
Best regards
- Volker -
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>