[REBOL] Re: locale Re: Re: %Maoww_english.r
From: mh983:attbi at: 23-Aug-2002 20:03
for what it's worth, I think the last one is the best approach: have one
file per language and use named constants for the different strings
you need. This way, you only need to get the files for the language(s)
you want and adding another language to your installation is just a
matter of getting one more file.
It would be nice to write an
interface to the language file: you give it a filename (based on the
language) and it loads and parses the file. Then you ask this object
for the string with a given constant name. Now the use of the locale
based strings is separated from the definition of those strings.
Just my two cents.
mike