hi;
i added the language 'iw' to the web.xml supported langages init parameter and 
it seems to have done the trick. i hope i did not ruin other roller features by 
doing this...
looking at the logs, it looks like roller create a locale for my language and 
now is capable of returning my locale formthe LanguageUtil class.
should i stick with this solution or should i try to recomile the calendarTag 
class as suggested?
thanks in advance.

the logs:
DEBUG 2006-08-04 22:11:47,776 LanguageUtil:extractLanguages - extractLanguages( 
lang = en,nl,zh_cn,zh_tw,vi,iw )
DEBUG 2006-08-04 22:11:47,778 LanguageUtil:createLocale - createLocale( lang = 
en )
DEBUG 2006-08-04 22:11:47,789 LanguageUtil:createLocale - createLocale( lang = 
nl )
DEBUG 2006-08-04 22:11:47,791 LanguageUtil:createLocale - createLocale( lang = 
zh_cn )
DEBUG 2006-08-04 22:11:47,793 LanguageUtil:createLocale - createLocale( lang = 
zh_tw )
DEBUG 2006-08-04 22:11:47,795 LanguageUtil:createLocale - createLocale( lang = 
vi )
DEBUG 2006-08-04 22:11:47,796 LanguageUtil:createLocale - createLocale( lang = 
iw )
DEBUG 2006-08-04 22:11:47,798 LanguageUtil:extractLanguages - supported 
languages: [en, nl, zh_CN, zh_TW, vi, iw]

DEBUG 2006-08-04 22:15:01,370 WeblogPageRequest:<init> - parsing url 
http://www.xwave.co.il/xblogs/page/gkatz2
DEBUG 2006-08-04 22:15:01,371 LanguageUtil:getViewLocale - getViewLocale()
DEBUG 2006-08-04 22:15:01,373 LanguageUtil:getViewLocale - sessionLocale = iw
DEBUG 2006-08-04 22:15:01,375 LanguageUtil:isSupported - isSupported( locale = 
iw )
DEBUG 2006-08-04 22:15:01,407 LanguageUtil:getViewLocale - return Locale = iw


-----Original Message-----
From: Anil Gangolli [mailto:[EMAIL PROTECTED]
Sent: Fri 8/4/2006 5:24 PM
To: [email protected]
Subject: Re: calendar i18n
 

This may be due to a bug is in Roller's CalendarTag code (ROL-528) and a 
related issue both fixed by the patch attached to the JIRA report on this 
bug.  The calendar instance there was being created with the default locale 
previously.   I believe it is fixed in Roller 3.0 (though not yet marked as 
such because it needs rechecking).

This weekend, I aim to put some test servers up for a few people who've 
reported i18n issues to determine if the issues are present.    If you built 
from sources, you can try equivalent changes and rebuilding.


----- Original Message ----- 
From: "Guy Katz" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, August 04, 2006 1:00 AM
Subject: calendar i18n


Hello;
i am using rller 2.3, tomcat 5.5.9, mysql. my rller web app is i18n'ed to 
hebrew.
the showCalendar macro displays data in Hebrew on my personal computer but 
English in the hosting company where I am trying to deploy roller.
I tried to understand why the differences and it is maybe a difference with 
the default locale which takes over (see LanguageUtils class logs below).
assuming i cant change the default local on the hosting company. how can i 
still achieve hebrew output?
i was that the web.xml has supported languages, should i add iw to it? would 
it matter?
thanks in advance.


log from hosting company:
DEBUG 2006-08-03 11:50:00,253 LanguageUtil:getViewLocale - sessionLocale = 
iw
DEBUG 2006-08-03 11:50:00,255 LanguageUtil:isSupported - isSupported( locale 
= iw )
DEBUG 2006-08-03 11:50:00,257 LanguageUtil:getViewLocale - return Locale = 
en_US
log from my personal comp:
DEBUG 2006-08-03 11:27:55,203 LanguageUtil:getViewLocale - sessionLocale = 
iw_IL
DEBUG 2006-08-03 11:27:55,218 LanguageUtil:isSupported - isSupported( locale 
= iw_IL )
DEBUG 2006-08-03 11:27:55,218 LanguageUtil:getViewLocale - return Locale = 
iw_IL

Guy Katz
NetXplorer Server Team Leader
Allot Communications * a mind for networksT
Tel:  972 9 7619288
Fax: 972 9 7443626
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
www.allot.com <http://www.allot.com/>




Reply via email to