[mythtv-users] How to set MythTV locale
David Watkins
watkinshome at gmail.com
Tue Aug 30 23:01:49 UTC 2011
How do I change the 'locale' setting used by MythTV?
I'm in the UK and would like to be using the UK default settings specified in
/usr/local/share/mythtv/locales/en_gb.xml
in particular the default duplicate detection method of "Subtitle then
Description"
However, the backend log is reporting:
- CoreContext mythcorecontext.cpp:1112 (SaveLocaleDefaults) - Current
locale en_US
and consequently default settings are being taken from en_us.xml.
I'm running a combined FE/BE (0.25) with the backend running as root
and the frontend as user 'mythtv'.
For both of these users their locale is being reported as GB:
[root at accordian mythtv]# locale
LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
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-8"
LC_ALL=
... and if I start the frontend with the -p option then the country
and language settings are also correctly shown to be GB and UK
English.
I could of course just rename en_gb.xml to en_us.xml but I'm assuming
that there's a more elegant solution?
More information about the mythtv-users
mailing list