![]() |
#1 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Aug 2011
Device: galaxy tab
|
![]()
Hi all and thank's for this very nice soft.
I've got some mistakes with the web interface: -When launching from a command-line (Debian user) the web page is in french (That's nice). -When creating a /etc/init.d/calibre-server script the web page is in english. /usr/bin/calibre-server --with-library /home/user/Livres/ -p 8888 --daemonize ![]() ![]() Somebody know how to change this? |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Copy ~/.config/calibre to /root/.config/calibre
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Aug 2011
Device: galaxy tab
|
Thank's
I don't have a ~/.config/ since it's a fresh debian re-install on a knew server without any user for the moment. Différents is when starting it from init.d and from root shell. |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The language is read from a stored configuration file, if one os not present it is autodected from your environments LANG/LC_* variables. Set LANG correctly in your init file.
|
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Aug 2011
Device: galaxy tab
|
root@serveurter:/home/user# locale
LANG=fr_FR.UTF-8 LC_CTYPE="fr_FR.UTF-8" LC_NUMERIC="fr_FR.UTF-8" LC_TIME="fr_FR.UTF-8" LC_COLLATE="fr_FR.UTF-8" LC_MONETARY="fr_FR.UTF-8" LC_MESSAGES="fr_FR.UTF-8" LC_PAPER="fr_FR.UTF-8" LC_NAME="fr_FR.UTF-8" LC_ADDRESS="fr_FR.UTF-8" LC_TELEPHONE="fr_FR.UTF-8" LC_MEASUREMENT="fr_FR.UTF-8" LC_IDENTIFICATION="fr_FR.UTF-8" LC_ALL= But still not in french when using init.d script. I've tried to add this the samething in the ini.d file but it did'nt change anything. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The environment for processes launched via the init system is not the same as that for a login session. You need to get the correct environment setup for your init scripts. How to do that is distro dependent.
|
![]() |
![]() |
![]() |
#7 | |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Aug 2011
Device: galaxy tab
|
It's a Debian.
And once again thank you very much for your help. In case i'm using this script: Quote:
|
|
![]() |
![]() |
![]() |
#8 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I'm not a debian user, so I can't help you with modifying that script. You should ask on a debian forum.
All you need to do, is set one of the following environment variables so the server process sees them (in order) CALIBRE_OVERRIDE_LANG LANGUAGE LC_ALL LC_CTYPE LC_MESSAGES LANG |
![]() |
![]() |
![]() |
#9 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Aug 2011
Device: galaxy tab
|
Thank's for all.
Hope there where an option to define language easily. Maybe in a next release ![]() |
![]() |
![]() |
![]() |
#10 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Aug 2011
Device: galaxy tab
|
Don't know why but with the last version:Release: 0.8.18 [09 Sep, 2011]
With the same starting script, the web page is now in french. The OPDS is also in french. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre language change? | mago55 | Calibre | 8 | 11-16-2020 01:49 AM |
Calibre Content Server and Windows Home Server 2011 | HughMcC | Calibre | 8 | 10-01-2014 07:26 AM |
Calibre Viewer Dictionary Change Language | Welderman | Introduce Yourself | 8 | 01-12-2011 05:09 AM |
Multi language support via Calibre | Jim77 | Calibre | 4 | 02-12-2010 02:46 PM |
Calibre 0.54, What language is it working in? | estral | Calibre | 15 | 04-02-2009 11:30 AM |