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 2013-12-25 10:34:37 +0200

Enable more refined locale settings in GUI and SailfishOS

Currently Jolla’s System Settings > Language in SailfishOS (version 1.0.1.12) does not make it possible for user to set various localization and locale properties in the GUI. There is only LANG environment that can be set (by seleting a device language), and all the other locale properties get configured accordingly. But, user might want to set the language of the UI to be American English, but have the time and date, distances or monetary units to be displayd in metric system (as in most European countries). This affects the localization of the whole system UI in Jolla, and also apps that present information for which locale env is important; Maps, Calcularor, Messaging apps etc.

Currently, there is a localization work-around to manually set locale environment by enabling the Developer mode in Settings and either open the Terminal application (or connect to device from your PC with ssh) and edit a locale.conf-file in /var/lib/environment/nemo/ directory. All these aspects of locale can be set (and system UI and apps should respect these when displaying information to users).

LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC=en_GB.UTF-8
LC_TIME=en_GB.UTF-8
LC_COLLATE=en_GB.utf8
LC_MONETARY=en_GB.UTF-8
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER=en_GB.UTF-8
LC_NAME=en_GB.UTF-8
LC_ADDRESS=en_GB.UTF-8
LC_TELEPHONE=en_GB.UTF-8
LC_MEASUREMENT=en_GB.UTF-8
LC_IDENTIFICATION=en_GB.UTF-8e

In addition to these locale envs, the keyboard layout setting should be made more modular so that the selected kbd language and layout could be set independently.

Note: in this forum there is a question about changing the unit system to metric in Maps app only. I still feel that this feature-request deserves it's own question because the issue is more general and concerns the whole system UI and localizable information that all applications can present to users.

I also understand, that Jolla is already aware of this, so hopefully we can expect this to sorted out in future upgrades, - soon ;)

Enable more refined locale settings in GUI and SailfishOS

Currently Jolla’s System Settings > Language in SailfishOS (version 1.0.1.12) does not make it possible for user to set various localization and locale properties in the GUI. There is only LANG environment that can be set (by seleting a device language), and all the other locale properties get configured accordingly. But, user might want to set the language of the UI to be American English, but have the time and date, distances or monetary units to be displayd in metric system (as in most European countries). This affects the localization of the whole system UI in Jolla, and also apps that present information for which locale env is important; Maps, Calcularor, Messaging apps etc.

Currently, there is a localization work-around to manually set locale environment by enabling the Developer mode in Settings and either open the Terminal application (or connect to device from your PC with ssh) and edit a locale.conf-file in /var/lib/environment/nemo/ directory. All these aspects of locale can be set (and system UI and apps should respect these when displaying information to users).

LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC=en_GB.UTF-8
LC_TIME=en_GB.UTF-8
LC_COLLATE=en_GB.utf8
LC_MONETARY=en_GB.UTF-8
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER=en_GB.UTF-8
LC_NAME=en_GB.UTF-8
LC_ADDRESS=en_GB.UTF-8
LC_TELEPHONE=en_GB.UTF-8
LC_MEASUREMENT=en_GB.UTF-8
LC_IDENTIFICATION=en_GB.UTF-8e

In addition to these locale envs, the keyboard layout setting should be made more modular so that the selected kbd language and layout could be set independently.

Note: in this forum there is a question about changing the unit system to metric in Maps app only. I still feel that this feature-request deserves it's own question because the issue is more general and concerns the whole system UI and localizable information that all applications can present to users.

I also understand, that Jolla is already aware of this, so hopefully we can expect this to be sorted out in future upgrades, - soon ;)

Enable more refined locale settings in GUI and SailfishOS

Currently Jolla’s System Settings settings > Language in SailfishOS (version 1.0.1.12) 1.0.2.5) does not make it possible for user to set various localization and locale properties in the GUI. There is only LANG environment that can be set (by seleting a device language), and all the other locale properties get configured accordingly. But, user might want to set the language of the UI to be American English, but have the time and date, distances or monetary units to be displayd in metric system (as in most European countries). This affects the localization of the whole system UI in Jolla, and also apps that present information for which locale env is important; Maps, Calcularor, Messaging apps etc.

Currently, there is a localization work-around to manually set locale environment by enabling the Developer mode in Settings and either open the Terminal application (or connect to device from your PC with ssh) and edit a locale.conf-file in /var/lib/environment/nemo/ directory. All these aspects of locale can be set (and system UI and apps should respect these when displaying information to users).

LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC=en_GB.UTF-8
LC_TIME=en_GB.UTF-8
LC_COLLATE=en_GB.utf8
LC_MONETARY=en_GB.UTF-8
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER=en_GB.UTF-8
LC_NAME=en_GB.UTF-8
LC_ADDRESS=en_GB.UTF-8
LC_TELEPHONE=en_GB.UTF-8
LC_MEASUREMENT=en_GB.UTF-8
LC_IDENTIFICATION=en_GB.UTF-8e

In addition to these locale envs, the keyboard layout setting should be made more modular so that the selected kbd language and layout could be set independently.

Note: in this forum there is a question about changing the unit system to metric in Maps app only. I still feel that this feature-request deserves it's own question because the issue is more general and concerns the whole system UI and localizable information that all applications can present to users.

I also understand, that Jolla is already aware of this, so hopefully we can expect this to be sorted out in future upgrades, - soon ;)

Enable more refined locale settings in GUI and SailfishOS

Jolla’s System settings > Language in SailfishOS (version 1.0.2.5) does not make it possible for user to set various localization and locale properties in the GUI. There is only LANG environment that can be set (by seleting a device language), and all the other locale properties get configured accordingly. But, user might want to set the language of the UI to be American English, but have the time and date, distances or monetary units to be displayd in metric system (as in most European countries). This affects the localization of the whole system UI in Jolla, and also apps that present information for which locale env is important; Maps, Calcularor, Messaging apps etc.

Currently, there is a localization work-around to manually set locale environment by enabling the Developer mode in Settings and either open the Terminal application (or connect to device from your PC with ssh) and edit a locale.conf-file in /var/lib/environment/nemo/ directory. All these aspects of locale can be set (and system UI and apps should respect these when displaying information to users).

LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC=en_GB.UTF-8
LC_TIME=en_GB.UTF-8
LC_CTYPE=en_GB.UTF-8
LC_NUMERIC=fi_FI.UTF-8
LC_TIME=fi_FI.UTF-8
LC_COLLATE=en_GB.utf8
LC_MONETARY=en_GB.UTF-8
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER=en_GB.UTF-8
LC_MONETARY=fi_FI.UTF-8
LC_MESSAGES=en_GB.UTF-8
LC_PAPER=fi_FI.UTF-8
LC_NAME=en_GB.UTF-8
LC_ADDRESS=en_GB.UTF-8
LC_TELEPHONE=en_GB.UTF-8
LC_MEASUREMENT=en_GB.UTF-8
LC_IDENTIFICATION=en_GB.UTF-8e
LC_MEASUREMENT=fi_FI.UTF-8
LC_IDENTIFICATION=en_GB.UTF-8

In addition to these locale envs, the keyboard layout setting should be made more modular so that the selected kbd language and layout could be set independently.

Note: in this forum there is a question about changing the unit system to metric in Maps app only. I still feel that this feature-request deserves it's own question because the issue is more general and concerns the whole system UI and localizable information that all applications can present to users.

I also understand, that It would be good to hear whether Jolla is already aware of this, so that we hopefully we can expect this to be sorted out enabled and implemented system-wide in future upgrades, - soon ;)upgrades.

Enable more refined locale settings in GUI and SailfishOSSettings that are respected by system and 3rd-party apps

Jolla’s System settings > Language in SailfishOS (version 1.0.2.5) does not make it possible for user to set various localization and locale properties in the GUI. There is only LANG environment that can be set (by seleting a device language), and all the other locale properties get configured accordingly. But, user might want to set the language of the UI to be American English, but have the time and date, distances or monetary units to be displayd in metric system (as in most European countries). This affects the localization of the whole system UI in Jolla, and also apps that present information for which locale env is important; Maps, Calcularor, Messaging apps etc.

Currently, there is a localization work-around to manually set locale environment by enabling the Developer mode in Settings and either open the Terminal application (or connect to device from your PC with ssh) and edit a locale.conf-file in /var/lib/environment/nemo/ directory. All these aspects of locale can be set (and system UI and apps should respect these when displaying information to users).

LC_CTYPE=en_GB.UTF-8
LC_NUMERIC=fi_FI.UTF-8
LC_TIME=fi_FI.UTF-8
LC_COLLATE=en_GB.utf8
LC_MONETARY=fi_FI.UTF-8
LC_MESSAGES=en_GB.UTF-8
LC_PAPER=fi_FI.UTF-8
LC_NAME=en_GB.UTF-8
LC_ADDRESS=en_GB.UTF-8
LC_TELEPHONE=en_GB.UTF-8
LC_MEASUREMENT=fi_FI.UTF-8
LC_IDENTIFICATION=en_GB.UTF-8

In addition to these locale envs, the keyboard layout setting should be made more modular so that the selected kbd language and layout could be set independently.

Note: in this forum there is a question about changing the unit system to metric in Maps app only. I still feel that this feature-request deserves it's own question because the issue is more general and concerns the whole system UI and localizable information that all applications can present to users.

It would be good to hear whether Jolla is already aware of this, so that we hopefully can expect this to be enabled and implemented system-wide in future upgrades.