Hi, C2ers! As I have a little free time, I'm going to make some code clean up in i18n transformer and LocaleAction. I've already added JavaDoc comments to all public members and polished a little class comments.
Next I am going to create an I18nUtils class that will contain all general purpose i18n routines, such as locale string parsing, date/number formatting and parsing, etc. Currently, it will be placed in org.apache.cocoon.i18n package. Also, I'm going to add a new <i18n:get-locale> element that will use LocaleAction.getLocale() to return the current selected Locale (it can be different from request.getLocale()). (It'd be good also to move getLocale() to the new I18nUtils, but now getLocale() has a lot of dependencies from Cocoon, but I want to keep I18nUtils as much general as possible). Are there any other wishes/suggestions/comments regarding i18n? Best regards, Konstantin Piroumian Leading Software Developer Protek Flagship LLC Phone: + 7 095 795 0520 (add. 1288) Fax: + 7 095 795 0525 E-mail: [EMAIL PROTECTED] http://www.protek.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]