You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Saddest OfAllKeys <ke...@yahoo.com> on 2003/07/17 23:05:34 UTC
localization question
Short version: Should I be able to see Chinese
characters in JetspeedLocalization.properties?
Alternatively, what is a proven strategy for using
pure Unicode with Jetspeed 1.4 b4?
Long version:
Background:
I'm using jetspeed-1.4-b4 with Chinese characters.
I have done the following:
(a) removed all JetspeedLocalization*.properties from
jetspeed-1.4-b4.jar and have removed all of
~/classes/org/apache/jetspeed/modules/localization/JetspeedLocalization_*.properties
(b) commented out locale info in Fulcrum.properties
(c) edited TurbineResources.properties like so:
locale.default.bundle=
locale.default.bundles=org.apache.jetspeed.modules.localization.JetspeedLocalization
locale.default.language=
locale.default.country=
(I have also used "en","US" as language, country)
(d) I have added a Chinese character to the HOME label
in JetspeedLocalization.properties (e.g. \u3230)
(e) I have removed all language preferences from the
browser (IE 5.5) and have "encoding" set to UTF8
(f) A grep for "UTF" in WEB-INF/conf produces:
Fulcrum.properties:#services.VelocityService.input.encoding=UTF-8
JetspeedResources.properties:content.defaultencoding=UTF-8
TurbineResources.properties:services.VelocityService.input.encoding=UTF-8
Problem: I can't see the Chinese character. I realize
it may be a font issue but I have loaded _some_ of the
Chinese fonts. I've debugged with Eclipse and can't
tell if the string is being read in properly.
I realize the ideal way is to use
JetspeedLocalization_zh.properties and set that as the
language in IE, but I'm trying to find the simplest
thing that can possibly work.
Any ideas greatly appreciated!!
Mike
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Re: localization question redux
Posted by Saddest OfAllKeys <ke...@yahoo.com>.
It looks as though the issue was a font issue: I was
able to verify that the character was indeed being
read in as the appropriate Unicode character. I tried
another character and it worked well.
I found this editor to be very useful (I have no
affiliation):
http://www.esperanto.mv.ru/Download/UR/ur204.exe
However, I'm still curious about the "best practice"
for l10n. My apologies if this is a RFTM.
thanks,
Mike
ps. Kudos to everyone on b4. Many of us are quite
looking forward to Jetspeed 2! Exciting stuff.
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
localization question redux
Posted by Saddest OfAllKeys <ke...@yahoo.com>.
addendum to my last post:
Tomcat 4.1.24
Java 1.4.1
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org