How can I assign a specific language id to a user? Or better, let the user change/select it.
I have a multi language website and of course the user should get the emails in their language.
I tried with a profile field "language", but it doesn't work, do I need anything specific?
trunky
|
this option automatically work for all of your site's users! No need to do something there PS: If possible do not write me personally, please try to ask on the forum first |
but I've checked the database and all LangId (in Profiles table) are set to 0 |
but I've checked the database and all LangId (in Profiles table) are set to 0
0 mean - default language (English I think!)
PS: If possible do not write me personally, please try to ask on the forum first |
yes think so too. But I have members who aren't english. And I still receive english mails. So back to my thread start ;) |
yes think so too. But I have members who aren't english. And I still receive english mails. So back to my thread start ;)
Maybe you non English members still use the English version of site! Because they received English latter...
try to switch to other lang and check your lang id in db
PS: If possible do not write me personally, please try to ask on the forum first |
Ok, following:
- the language table has the settings 1 for english and 4 for german
- I have two accounts, one admin (ID 1), one as user (ID 4)
- the admin and the first user (ID 2) have language id set to 4, so admin and the first user set to german language -> ok
- user id 4 is set to LangId 1 (english) even when I am logged in using the german website
- except two more users (IDs 10 and 13) all users have the LangId 0 (undefined?)
Any more ideas what is causing these things?
btw using Dolphin 7.0.5
|
|
Did you translate all emails templates to the German? PS: If possible do not write me personally, please try to ask on the forum first |
the most used ones I have in german, like "welcome", "activation" and "send greetings".
As written before, nearly everyone has a "0" in LangId. Is this depending on the chosen country in any way? Or determined by the use of language while registration,login?
Edit: just getting another idea, might it be depending from the template? I don't where that script is located, but the first two users (which have ID 4 for german language) were registered with the standard template of course. Maybe the script for the language or something is in the template???
|
I've tested with a standard installation with standard template, it stays at 0 :( |
ok it stays unsolved, I am totally puzzled and have no idea |