This module would be complete if the user locale was set by the language switch.

Comments

Anonymous’s picture

Status: Active » Postponed (maintainer needs more info)

The language set for each user is the one globally set for the site. What do you mean by language switch?

Gabriel R.’s picture

Hi kiam,

sorry, my message was not clear at all. What I've meant was:

Currently, the module sets the user mail language to the default language. It would be better if it (had an option to) set the user mail language to the language interface language set by normal language switcher block.

Anonymous’s picture

Status: Postponed (maintainer needs more info) » Fixed

I changed the code, which now sets the user language to the value returned from language_default('language'), rather than to an empty string.

Gabriel R.’s picture

Kiam, this is not what said. I guess setting the user mail language to the default language if better than the empty strings, but my request was about setting it to the user's UI and content language.

In any case, I am interested in your code, I am sure I'll be able to hack my own way.

Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.