Also included is a translation for (informal) german. New languages can be added with "python setup.py babel_new --locale=<language code>" which will create the corresponding .po file from the existing .pot file under "src/octoprint/translations/<language code>". Translations can be refreshed from strings in source with "python setup.py babel_refresh". Existing translations can be compiled into usable translation files (.mo for python and .js for Javascript) via "python setup.py babel_compile". You'll need to install the development dependencies for all of this to work, just issue "pip install -r requirements-dev.txt" Note: numbers are not yet correctly formatted for their respective locale (e.g. "2.5mm" instead of "2,5mm" in german).
12 lines
168 B
Text
12 lines
168 B
Text
flask==0.9
|
|
werkzeug==0.8.3
|
|
tornado==4.0.1
|
|
sockjs-tornado>=1.0.0
|
|
PyYAML==3.10
|
|
Flask-Login==0.2.2
|
|
Flask-Principal==0.3.5
|
|
Flask-Babel==0.9
|
|
pyserial
|
|
netaddr
|
|
watchdog
|
|
sarge
|