Whenever you submit a profile page, the user's language is written to the DB. Even if all he was doing on that page is changing password ot timezone. A better approach is to not write unless the user's choice differs from the site default. That way, the user follows the site when site changes. This is how user theme works.
This is especially needed for groups.drupal.org because we will soon have each group in its own language but most users won't see anything special because they will eventually set their user language to english and thus nullify the feature. I *want* users to, by default, see many languages to showcase drupal's cool language features.
Comments
Comment #1
moshe weitzman CreditAttribution: moshe weitzman commentedComment #2
Jose Reyero CreditAttribution: Jose Reyero commented> A better approach is to not write unless the user's choice differs from the site default.
IMHO this is not the best approach, because the user may actually chose a language that happens to be the site default. So we should contemplate the option of 'no language chosen', having an empty field, that will be the site default whatever it is. But once the user chooses one, it should be kept, regardless of wether it is the site default or not.
Comment #3
Gábor HojtsyAgreed with Jose, a 'Choose your language' or 'Use the site default' option can be there to detect these cases.
Comment #4
PasqualleComment #5
plachCleaning-up the "locale module" issue queue as per http://cyrve.com/criticals.
Comment #6
plachComment #7
jhedstrom