Thanks for your fast answer. Now I got the problem and a workaround - but the "
bug" is still there!
(Or perhaps it's really a feature...)
krileon wrote: The registration workflows emails should all send in the language of the person receiving the email. So in the case of the Welcome email it should be in the language of the person being approved.
When registering a new user account, that new user doesn't have a language set in the registration form. But via the Joomla language switcher, one can switch between
- /index.php/de/cb-registration
- /index.php/en/cb-registration
- /index.php/fr/cb-registration
And then the registration workflows emails are sent in the respective language
krileon wrote: How are you approving users? Frontend through the approval page, frontend through user edit, backend user management, or backend user edit?
(1)
Before my last post, I used the backend user management
/administrator/index.php?option=com_comprofiler&view=showusers
and clicked on the "pending" icon in the "Approved" column.
My backend is set to English, so the welcome mail was sent in English - even to users, who made the whole registration workflow in French.
(2)
Now I approved the user through the frontend approval page. When I log in as admin, the frontend is set to German:
/index.php/
de/cb-moderate-user-approvals
Now when I approve the user, the welcome mail is sent in German - even to users, who made the whole registration workflow in French.
But when I change the frontend approval page to french via the Joomla language switcher:
/index.php/
fr/cb-moderate-user-approvals
then the welcome mail is sent in French - but even to users, who made the whole registration workflow in German, for instance.
krileon wrote: Note the language of the user is not based off Joomlas language switcher. It's based off whatever their selected language is during registration or in profile edit via the params field.
Obviously the language of the welcome email does NOT depend on the user registrations settings. It's determined by the language of the approval page (frontend or backend).
So my workaround is:
Approve the user with the frontend approval page and manually set the language to correspond withe the registered user:
/index.php/
(de|en|fr)/cb-moderate-user-approvals
Please check this. I can send you detailed screenshots in a PDF file, if needed.
Best regards, Martin