We have moved to a new Sailfish OS Forum. Please start new discussions there.
![]() | 1 | initial version | posted 2017-01-17 07:10:44 +0200 |
This is maybe very easy for an experienced linux hacker but I became so happy to find that I will share it. Previously I tested my apps in different languages by changing device language settings from Settings and rebooting the device. This is much easier. E.g test my app for dutch. Start terminal and type:
LANG=nl_NL harbour-shakkikello
Or jolla clock in German
LANG=de_DE jolla-clock
To find locales available type:
locale -a
![]() | 2 | No.2 Revision |
This is maybe very easy for an experienced linux hacker but I became so happy to find that I will share it. Previously I tested my apps in different languages by changing device language settings from Settings and rebooting the device. This is much easier. E.g test my app for dutch. Start terminal and type:
LANG=nl_NL harbour-shakkikello
Or jolla clock in German
LANG=de_DE jolla-clock
To find locales available type:
locale -a
EDIT! To test qml-only apps you have to add sailfish-qml as in example as follows:
LANG=fi sailfish-qml harbour-math-teacher