Eero Volotinen writes:

> cp -a -f  language-file en-us
> cp -a -f  language-file en
> 
> Not so elegant, but works ;)

For some values of "works."  It works IF every last single one of your
users
wants the SAME default language.  The person asking the question did point
out that the users were in more than one other country and so may want
different languages.

I certainly remember an earlier request along those lines and I think
the development team said they were considering a feature whereby
you could select your language.  I would suggest that possibly the
cleanest way of doing it would be to change message 0 to contain
the character set followed by the name of the language IN that
language and amending the character set selection code accordingly.
Then the language names could be presented in a drop-down in the
appropriate character sets.  I consider modifying message 0 slightly
preferable than adding a new message code a long way down which is
the language name.

I would also suggest that instead of defaulting to en if the browser's
preferred languages are unavailable, it defaults to a language called
'default' and that a configuration-time option for the default language
soft-links default to a specific language file (if this option is not
specified then the install defaults to linking the default language
to en. 

-- 
Paul Allen
Softflare Support


Reply via email to