Discussion:
[RoundCube Users] Default Language
Thomas Bruederli
2006-01-17 09:08:01 UTC
Permalink
Hi everybody

These issues are known and there have been some major changes in the
localization functions of RoundCube. In the latest CVS version, the
default language is taken from the config file and then saved in the
user session. If a user changes his/her preferred language, this will be
applied right after the login.

These changes (together with the Bosnian translation) will be released soon.

Regards,
Thomas
Answering to my own post, it sims something was wrong with my
languages files, so i start with German languages files and edit and
add Bosnian translation and all working fine.
Still user need to select Bosnian from Settings, but....
If you really want to change it, you'll probably have to edit the
roundcube/program/include/main.inc file. I say probably because I'm
using roundcubemail-0.1-20051021, not the latest from cvs. I just had a
casual look and the language is hard coded to default to english at
around line 79. If you change it, that should have the effect you're
looking for in that by default users will get bosnian, but they can
choose to configure an alternative language for themselves later. This
should really be moved to the configuration file so that its easier to
do this sort of thing, and I'm fairly confident that it will be in the
future. Hope this helps.
--
J.
crow
2006-01-17 09:07:03 UTC
Permalink
Hello Jason,

Thnx for suggestion, but today i cvs update roundcubemail and :
U roundcubemail/program/include/main.inc
Was update only, checking code now check local_string, and now is
default language one you set in local_strin in main.inc.php in config/
directory..
And sorry for sending one copy to you also :(,

Thnx
Answering to my own post, it sims something was wrong with my
languages files, so i start with German languages files and edit and
add Bosnian translation and all working fine.
Still user need to select Bosnian from Settings, but....
If you really want to change it, you'll probably have to edit the
roundcube/program/include/main.inc file. I say probably because I'm
using roundcubemail-0.1-20051021, not the latest from cvs. I just had
a casual look and the language is hard coded to default to english at
around line 79. If you change it, that should have the effect you're
looking for in that by default users will get bosnian, but they can
choose to configure an alternative language for themselves later.
This should really be moved to the configuration file so that its
easier to do this sort of thing, and I'm fairly confident that it
will be in the future. Hope this helps.
--
J.
Jason Stelzer
2006-01-15 20:38:57 UTC
Permalink
Answering to my own post, it sims something was wrong with my
languages files, so i start with German languages files and edit and
add Bosnian translation and all working fine.
Still user need to select Bosnian from Settings, but....
If you really want to change it, you'll probably have to edit the
roundcube/program/include/main.inc file. I say probably because I'm
using roundcubemail-0.1-20051021, not the latest from cvs. I just had
a casual look and the language is hard coded to default to english at
around line 79. If you change it, that should have the effect you're
looking for in that by default users will get bosnian, but they can
choose to configure an alternative language for themselves later.
This should really be moved to the configuration file so that its
easier to do this sort of thing, and I'm fairly confident that it
will be in the future. Hope this helps.

--
J.
Thomas Bruederli
2006-01-17 09:08:01 UTC
Permalink
Hi everybody

These issues are known and there have been some major changes in the
localization functions of RoundCube. In the latest CVS version, the
default language is taken from the config file and then saved in the
user session. If a user changes his/her preferred language, this will be
applied right after the login.

These changes (together with the Bosnian translation) will be released soon.

Regards,
Thomas
Answering to my own post, it sims something was wrong with my
languages files, so i start with German languages files and edit and
add Bosnian translation and all working fine.
Still user need to select Bosnian from Settings, but....
If you really want to change it, you'll probably have to edit the
roundcube/program/include/main.inc file. I say probably because I'm
using roundcubemail-0.1-20051021, not the latest from cvs. I just had a
casual look and the language is hard coded to default to english at
around line 79. If you change it, that should have the effect you're
looking for in that by default users will get bosnian, but they can
choose to configure an alternative language for themselves later. This
should really be moved to the configuration file so that its easier to
do this sort of thing, and I'm fairly confident that it will be in the
future. Hope this helps.
--
J.
crow
2006-01-17 09:07:03 UTC
Permalink
Hello Jason,

Thnx for suggestion, but today i cvs update roundcubemail and :
U roundcubemail/program/include/main.inc
Was update only, checking code now check local_string, and now is
default language one you set in local_strin in main.inc.php in config/
directory..
And sorry for sending one copy to you also :(,

Thnx
Answering to my own post, it sims something was wrong with my
languages files, so i start with German languages files and edit and
add Bosnian translation and all working fine.
Still user need to select Bosnian from Settings, but....
If you really want to change it, you'll probably have to edit the
roundcube/program/include/main.inc file. I say probably because I'm
using roundcubemail-0.1-20051021, not the latest from cvs. I just had
a casual look and the language is hard coded to default to english at
around line 79. If you change it, that should have the effect you're
looking for in that by default users will get bosnian, but they can
choose to configure an alternative language for themselves later.
This should really be moved to the configuration file so that its
easier to do this sort of thing, and I'm fairly confident that it
will be in the future. Hope this helps.
--
J.
crow
2006-01-15 19:57:26 UTC
Permalink
Answering to my own post, it sims something was wrong with my
languages files, so i start with German languages files and edit and
add Bosnian translation and all working fine.

Still user need to select Bosnian from Settings, but....

Thx
Okey i get somehow in index.php to show Bosnian translation, but when
user is logedin it still in english.
------------------
Warning: Cannot modify header information - headers already sent by
(output started at
/home/public_html/email/program/localization/bs_BA/labels.inc:1)
in /home/public_html/email/index.php on line 133
------------------
Und cannot logedin...
Jason Stelzer
2006-01-15 20:38:57 UTC
Permalink
Answering to my own post, it sims something was wrong with my
languages files, so i start with German languages files and edit and
add Bosnian translation and all working fine.
Still user need to select Bosnian from Settings, but....
If you really want to change it, you'll probably have to edit the
roundcube/program/include/main.inc file. I say probably because I'm
using roundcubemail-0.1-20051021, not the latest from cvs. I just had
a casual look and the language is hard coded to default to english at
around line 79. If you change it, that should have the effect you're
looking for in that by default users will get bosnian, but they can
choose to configure an alternative language for themselves later.
This should really be moved to the configuration file so that its
easier to do this sort of thing, and I'm fairly confident that it
will be in the future. Hope this helps.

--
J.
crow
2006-01-15 13:10:56 UTC
Permalink
Okey i get somehow in index.php to show Bosnian translation, but when
user is logedin it still in english.

And now i am constantly getting this error:
------------------
Warning: Cannot modify header information - headers already sent by
(output started at /home/public_html/email/program/localization/bs_BA/labels.inc:1)
in /home/public_html/email/index.php on line 133
------------------
Und cannot logedin...
Hello Sascha,
Thnx for fast replay.
Well before 1h i have downloaded cvs files using TortoiseCVS so i
think it is newest as posible or... :)
Hi crow,
you might have not the last Version from the CVS! In the stable
version you could find at the homepage this feature is not working
correctly. :)
crow
2006-01-15 19:57:26 UTC
Permalink
Answering to my own post, it sims something was wrong with my
languages files, so i start with German languages files and edit and
add Bosnian translation and all working fine.

Still user need to select Bosnian from Settings, but....

Thx
Okey i get somehow in index.php to show Bosnian translation, but when
user is logedin it still in english.
------------------
Warning: Cannot modify header information - headers already sent by
(output started at
/home/public_html/email/program/localization/bs_BA/labels.inc:1)
in /home/public_html/email/index.php on line 133
------------------
Und cannot logedin...
crow
2006-01-14 16:37:23 UTC
Permalink
Hello Sascha,
Thnx for fast replay.
Well before 1h i have downloaded cvs files using TortoiseCVS so i
think it is newest as posible or... :)
Hi crow,
you might have not the last Version from the CVS! In the stable
version you could find at the homepage this feature is not working
correctly. :)
crow
2006-01-15 13:10:56 UTC
Permalink
Okey i get somehow in index.php to show Bosnian translation, but when
user is logedin it still in english.

And now i am constantly getting this error:
------------------
Warning: Cannot modify header information - headers already sent by
(output started at /home/public_html/email/program/localization/bs_BA/labels.inc:1)
in /home/public_html/email/index.php on line 133
------------------
Und cannot logedin...
Hello Sascha,
Thnx for fast replay.
Well before 1h i have downloaded cvs files using TortoiseCVS so i
think it is newest as posible or... :)
Hi crow,
you might have not the last Version from the CVS! In the stable
version you could find at the homepage this feature is not working
correctly. :)
crow
2006-01-14 16:18:26 UTC
Permalink
How to setup roundcube webmail to another default language file
instead english.
I put:
// not sure what this was good for :-)
$rcmail_config['locale_string'] = 'bs_BA';

But that did not make changes, i do habe bs_BA folder with
coresponding files.
For me i can select it from Control Panel, i get Bosnian translation.
But wonna offer my visitor (Bosnian ppl) default Bosnian translation
first, and then if they wish other language, they can select it from
Control Panel...


Thnx
crow
2006-01-14 16:37:23 UTC
Permalink
Hello Sascha,
Thnx for fast replay.
Well before 1h i have downloaded cvs files using TortoiseCVS so i
think it is newest as posible or... :)
Hi crow,
you might have not the last Version from the CVS! In the stable
version you could find at the homepage this feature is not working
correctly. :)
crow
2006-01-14 16:18:26 UTC
Permalink
How to setup roundcube webmail to another default language file
instead english.
I put:
// not sure what this was good for :-)
$rcmail_config['locale_string'] = 'bs_BA';

But that did not make changes, i do habe bs_BA folder with
coresponding files.
For me i can select it from Control Panel, i get Bosnian translation.
But wonna offer my visitor (Bosnian ppl) default Bosnian translation
first, and then if they wish other language, they can select it from
Control Panel...


Thnx

Continue reading on narkive:
Loading...