We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2017-01-17 07:10:44 +0200

How-to test the app with different language

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

How-to test the app with different language

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