Topic on Project:Support desk

Why are account approval emails not sent in the requestor's language

5
Ken Roy (talkcontribs)

Why are the account approval emails not being sent the requestor's language?

The message appears to be the 'createaccount-text' from the wiki/languages/i18n json file as issued from the wiki/includes/auth/TemporaryPasswordPrimaryAuthenticationProvider.php

line 445 has

       $userLanguage = $user->getOption( 'language' );

even though we are using the ConfirmAccount extensions

The message is being issued in English which is the wiki language, instead of the language used from the SelectorLanguage extension to request the account.

Bawolff (talkcontribs)

complain to the extension author

Ken Roy (talkcontribs)

Thanks Bawolff,

But the email is not coming from the ConfirmAccount extension but from the AuthManager

wiki/includes/auth/TemporaryPasswordPrimaryAuthenticationProvider.php

Bawolff (talkcontribs)
Ken Roy (talkcontribs)

Thanks Bawolff,

So how do we get the LangugageSelector extension fixed? I know you all are using the Translate extention and the UniversalLangaugeSelector extension but that does not appear to apply so much on a standalone wiki that wants to provide their users more than one language capability that is restricted to the languages supported by the TNG software

Reply to "Why are account approval emails not sent in the requestor's language"