Bah.. Mail alias "[EMAIL PROTECTED]" is a subscriber but "[EMAIL PROTECTED]" 
isn't...treated as a common spammer because of mistaken identity.

Anyway, as I tried to ask before....

-----Original Message-----
From: Ian Sparks 
Sent: Thursday, December 12, 2002 5:06 PM
To: Webware-Discuss (E-mail)
Subject: i18n ( Internationalization).


All,

Has anyone done anything with Internationalization in a Webware app that makes use of 
Fun/FormKit and Cheetah?

My thought is to store a language-code 'us','ca','de','fr' etc in the session and then 
have dictionaries which contain language-specific text for identifiers in my code.

So F/FK is used to supply the basic controls and validation (error messages could be a 
problem, all in English as I recall).
Cheetah would pull out text from whatever language-dictionary is passed in.

A loadLanguage method can look in some directory for servletName_dict.CountryCode and 
fall back on servletName_dict.default if it doesn't find it (where .default is defined 
by some global setting, it might be .us or .fr or whatever).

It may also be necessary to have cheetah templates which format pages differently for 
different languages. I have no experience in this field so I don't know what happens 
with right-to-left languages in browsers by default.

Anyone else used this approach? Pitfalls, advice? I'm not so much trying to create an 
multi-language site as write code that is prepared for it.

- IanS.


-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to