From: Ian Sparks <ians@et...> - 2002-12-12 22:13:08
Bah.. Mail alias "ian.sparks@..." is a subscriber but =
"ians@..." isn't...treated as a common spammer because of =
Anyway, as I tried to ask before....
From: Ian Sparks=20
Sent: Thursday, December 12, 2002 5:06 PM
To: Webware-Discuss (E-mail)
Subject: i18n ( Internationalization).
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 =
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 =
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.
From: Ian Bicking <ianb@co...> - 2002-12-13 04:33:31
On Thu, 2002-12-12 at 16:13, Ian Sparks wrote:
> So F/FK is used to supply the basic controls and validation (error
> messages could be a problem, all in English as I recall).
BTW, FFK 0.4 includes documented hooks for changing all the error
Ian Bicking Colorstudy Web Development
PGP: gpg --keyserver pgp.mit.edu --recv-keys 0x9B9E28B7
4869 N Talman Ave, Chicago, IL 60625 / (773) 275-7241