Author Topic: Change the Default Language  (Read 21573 times)

Offline stanleyjobson2

  • Newbie
  • *
  • Posts: 6
Change the Default Language
« on: October 10, 2007, 08:32:17 PM »
Hi,
I've installed RoundCube Webmail in my server.

This is accessible now by : http://webmail.domain.tld

Now, all my customers can view their mails in roundcube, but i want to change the default language, i want to switch it into FRENCH(FR) for all customers.

Which file i must change ?

Thanks and sorry for my english, i'm french

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: Change the Default Language
« Reply #1 on: October 11, 2007, 05:51:19 AM »
To change the default language go to:
Code: [Select]
config/main.inc.phpand then edit the line that has:
Code: [Select]
$rcmail_config['locale_string'] = 'en';

Offline stanleyjobson2

  • Newbie
  • *
  • Posts: 6
Re: Change the Default Language
« Reply #2 on: October 11, 2007, 06:02:12 AM »
It works, Thanks ;)

Now, how to change the main page of RoundCube, i wanted to change the welcome message an add some texts.

How can i do that ?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: Change the Default Language
« Reply #3 on: October 12, 2007, 03:16:58 AM »
To change the default welcome message go to:
Code: [Select]
config/main.inc.phpand then edit the line that has:
Code: [Select]
$rcmail_config['product_name'] = 'RoundCube Webmail';
If you what to edit it more then just go to
Code: [Select]
program/localization/{Lag}/labels.incand edit this line:
Code: [Select]
$labels['welcome']
As for adding any more text on the login page you can add it in the theme file:
Code: [Select]
skins/{Theme}/templates/login.html

Offline stanleyjobson2

  • Newbie
  • *
  • Posts: 6
Re: Change the Default Language
« Reply #4 on: October 12, 2007, 05:33:57 AM »
Thanks for your help, it works perfectly :)