diff options
author | Niels Weber <niels.weber@digia.com> | 2015-01-29 12:29:09 +0100 |
---|---|---|
committer | Niels Weber <niels.weber@theqtcompany.com> | 2015-02-09 10:06:46 +0000 |
commit | 52ebff797da4a29f61459fd6d183d2e07498c591 (patch) | |
tree | afe58065d5ad36faee01a9f5268c57fa006e9a3e /examples/translations/README | |
parent | 04dcfb68cb7e2c3995f0b66b1bbd926b1864819b (diff) |
Add a translation example
Add an example showing how the translation of components
works. Also document this.
Make translated license files work again.
Task-number: QTIFW-469
Change-Id: I3c13ecc9941b09370d0713b19b2683b42454c43c
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Diffstat (limited to 'examples/translations/README')
-rw-r--r-- | examples/translations/README | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/examples/translations/README b/examples/translations/README new file mode 100644 index 000000000..13fb2b685 --- /dev/null +++ b/examples/translations/README @@ -0,0 +1,20 @@ +Shows how to translate the installer UI. + +You have to call lrelease on the included .ts file before building the installer. + +Generate installer with + +binarycreator --offline-only -c config/config.xml -p packages installer + +You can now run the installer in German. + +Linux: + +LANG=de ./installer + +Windows: + +set LANG=de +installer.exe + +On OS X you need to adapt the system settings to set German as preferred language, and then start the installer. |