DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10559>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10559
[PATCH] parseLocale in I18nUtils.java
------- Additional Comments From kpiroumian@protek.com 2002-07-09 14:29 -------
After a little thinking I came to conclusion that the best way is to add a pair of new
methods that will take an extra argument containing delimiters.
If you are using LocaleAction to determine the user's locale then your patch won't
help. LocaleAction uses request.getLocale() which returns Locale object. All the
parsing is performed by the servlet container and we have no control over it.
For all the other needs you can use:
parseLocale(localeString, delimiters);
parseLocale(localeString, delimiters, default);
Will this be enough?
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
|