SUSE Manager/setting-the-locale

From MicroFocusInternationalWiki
Jump to: navigation, search

SUSE Manager Main Page

Setting the locale

User story

For the OSA Status in System Details I get the localized date displayed, when changing my browser settings. But most of the other dates are still in american format.

Cause

We disable locale selection to only allow english. The language selection also affects the locale.

Possible solutions

Allow locale selection, only ship english translations, should still force english language.

Other technical details

if you want to get dd/mm/yyyy there you could select english/UK > with this trick:

   echo "update rhnuserinfo u set preferred_locale='en_GB' where u.user_id in (select c.id from web_contact c where c.login='admin')" | spacewalk-sql --select-mode-direct -

(mind the "en_GB" and "admin" and replace them with the right user/locale)