Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-31-2019, 08:46 AM   #1
atrezonator
Junior Member
atrezonator began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2019
Device: android
calibre-server on RUSSIAN

Helo/ Please help me about setting calibre-server.

I want the server to start in a Russian language. More precisely, the web form should be in Russian. How is this enough?

I used on CentOS 8/ To auto-start calibre-server create a service unit:/etc/systemd/system/calibre-server.service:

Quote:
[Unit]
Description=calibre content server
After=network.target

[Service]
Type=simple
User=calibre
Group=calibre
ExecStart=/opt/calibre/calibre-server \
--access-log=/var/log/calibre-server-access.log \
--enable-auth \
--log=/var/log/calibre-server.log \
--port=8008 \
--url-prefix=/calibre \
--userdb=/var/lib/nethserver/calibre/users.sqlite \
"/var/lib/nethserver/calibre/library"

[Install]
WantedBy=multi-user.target

Last edited by atrezonator; 10-31-2019 at 08:50 AM.
atrezonator is offline   Reply With Quote
Old 10-31-2019, 09:17 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,311
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
set the environment variable

CALIBRE_OVERRIDE_LANG=ru

though I dont know how complete the russian translation is.
kovidgoyal is offline   Reply With Quote
Advert
Old 10-31-2019, 09:44 AM   #3
atrezonator
Junior Member
atrezonator began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2019
Device: android
Quote:
Originally Posted by kovidgoyal View Post
set the environment variable
CALIBRE_OVERRIDE_LANG=ru
though I dont know how complete the russian translation is.
Quote:
[Unit]
Description=calibre content server
After=network.target

[Service]
Type=simple
User=calibre
Group=calibre
CALIBRE_OVERRIDE_LANG=ru

ExecStart=/opt/calibre/calibre-server \
--access-log=/var/log/calibre-server-access.log \
--enable-auth \
--log=/var/log/calibre-server.log \
--port=8008 \
--url-prefix=/calibre \
--userdb=/var/lib/nethserver/calibre/users.sqlite \
"/var/lib/nethserver/calibre/library"

[Install]
WantedBy=multi-user.target
Like this ?
atrezonator is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre Content Server and Windows Home Server 2011 HughMcC Calibre 8 10-01-2014 07:26 AM
calibre-server: Doesn't server up newly added files kaistian Calibre 5 03-17-2013 11:54 AM
calibre-server OPDS catalog - manual move to web server HaakonME Related Tools 5 09-21-2012 03:11 AM
500 Internal Server Error accessing content server Calibre 0.8.8 DaddyO57 Calibre 1 07-20-2012 06:08 PM
Calibre-server port not open issue on Fedora server stueyboy Devices 0 08-17-2011 04:57 PM


All times are GMT -4. The time now is 08:16 PM.


MobileRead.com is a privately owned, operated and funded community.