Author Topic: Change Default User Language  (Read 1790 times)

Offline Jerami

  • Newbie
  • *
  • Posts: 1
Change Default User Language
« on: December 28, 2021, 03:44:26 AM »
Hello, I'm trying to change the user default langauge. I have roundcube v1.4.7 installed.
I attempted to change the code in :
config --> defaults.inc.php
Line:
$config['language'] = 'fr_FR';

But after saving it and going back to the roundcube plugin on my website the default selected language is still English.

Any clue why that happens and how to fix it ?
Thanks in advance

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,850
Re: Change Default User Language
« Reply #1 on: December 28, 2021, 05:33:58 AM »
A user's language preference is stored when that user first logs in so changing the default after that will not change the setting for existing users. Users can change their own language setting from Settings > Preferences > User Interface > Language.

Also you should put any custom config options into config.inc.php, do not change defaults.inc.php. Changes in defaults.inc.php will not survive updates.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦