Module Pootle.storage.demoserver
A proof of concept XML-RPC server that exposes Pootle's backend storage.
After starting the server you can use it like this:
from xmlrpclib import ServerProxy
server = ServerProxy('http://localhost:23123')
server.translate('pootle', 'lt', '', 'pootle', 'Project')
| Function Summary |
| |
main()
|
| |
translate(project,
lang,
country,
module,
msgid)
Translate a given msgid. |
translate(project,
lang,
country,
module,
msgid)
Translate a given msgid.
You may pass '' instead of None as the country code.
-
|
STORAGE_ROOT
-
- Type:
-
str
- Value:
|