You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Click on the sharing button on a file or a directory
Share with a user or a group
Send mail by pressing on "Notify by email"
Expected behaviour
The mail shoud be in the preferred language of the recipient.
Actual behaviour
The mail is in english, even though the preferred language is set to german (de_DE) in the config.php with the default_language entry.
'default_language' => 'de_DE'
This happens, because when a user gets created, it still has no value for the langkey in the oc_preferences table. However, the MailNotifications.php (line 168) looks for this. If it doesn't find anything, it will fallback to the english language.
Here is the query to check it:
SELECT appid, configkey, configvalue, userid FROM oc_preferences WHERE configkey ='lang';
So when creating a user it should either set the value in the oc_preferences table or fallback to the default_language set in the config.php.
Server configuration
Operating system: CentOS 6.10
Web server: Apache
Database: MYSQL
PHP version: 7.2
ownCloud version: 10.3.2
Updated from an older ownCloud or fresh install: from older ownCloud
Steps to reproduce
Expected behaviour
The mail shoud be in the preferred language of the recipient.
Actual behaviour
The mail is in english, even though the preferred language is set to german (de_DE) in the config.php with the default_language entry.
'default_language' => 'de_DE'
This happens, because when a user gets created, it still has no value for the langkey in the oc_preferences table. However, the MailNotifications.php (line 168) looks for this. If it doesn't find anything, it will fallback to the english language.
Here is the query to check it:
So when creating a user it should either set the value in the oc_preferences table or fallback to the default_language set in the config.php.
Server configuration
Operating system: CentOS 6.10
Web server: Apache
Database: MYSQL
PHP version: 7.2
ownCloud version: 10.3.2
Updated from an older ownCloud or fresh install: from older ownCloud
Where did you install ownCloud from: https://download.owncloud.org/community/owncloud-10.3.2.tar.bz2
Signing status (ownCloud 9.0 and above):
No errors have been found.
The content of config/config.php:
List of activated apps:
Are you using external storage, if yes which one: no
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: Chrome
Operating system: Windows 10
The text was updated successfully, but these errors were encountered: