response to il8n locale + lang storage

alex black <[email protected]> Sat, 26 Mar 2005 15:12:23 -0800
Newsgroups gmane.comp.lib.binarycloud.devel
Message-ID <[email protected]>
from jcm:

in reply to bc_include_once() chicken and egg pb from Manuel
we agreed on irc that the AcceptLanguage should be stored in Client, 
once analazed
but we didn't agree on where to place current lang & locale
i'm in favour of having it in User
(User being saved in Session)
Manuel prefers having current valid lang/locale be stored into i18n
I fear duplication, if we want later to extend User with prefs stored 
in db. Lang is obviously one of the possible user prefs
4:40 PM
'ill be back tomorrow, i really need to sleep now

------

On hearing this, I would tend to agree with jcm - that is should be 
stored in user because it can be a matter of preference.

However - to also store it in il8n isn't duplicative, in il8n you could 
store the current lang + locale, and in user you could store the user 
prefs - the two should but will not always be the same.

_a




-- 
alex black, founder
the turing studio, inc.

510.666.0074
[email protected]
http://www.turingstudio.com

2600 10th street, suite 635
berkeley, ca 94710

_______________________________________________
dev mailing list
dev-PnctHDZWAvB/Cz2I37pSEPZ4XP/[email protected]
http://lists.binarycloud.com/mailman/listinfo/dev