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.
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.
Comments
Comment #1
Anonymous (not verified) commentedThe language set for each user is the one globally set for the site. What do you mean by language switch?
Comment #2
Gabriel R. commentedHi 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.
Comment #3
Anonymous (not verified) commentedI changed the code, which now sets the user language to the value returned from
language_default('language'), rather than to an empty string.Comment #4
Gabriel R. commentedKiam, 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.