New MythTV 0.24 locale auto configurations doesn't work with Mythbuntu 11.04

Bug #724693 reported by Kenni
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mythbuntu
Won't Fix
Undecided
Unassigned

Bug Description

MythTV 0.24 introduced a new auto-configuration feature, which performs locale specific auto-configuration when performing a clean install of MythTV. This improves the usability and the out-of-the-box experience, as a number of settings are now autoconfigured depending on the locale in use.

Wiki page: http://www.mythtv.org/wiki/Locale_Configurations

Expected behaviour:
-----------
On the first startup of mythbackend or mythtv-setup, the program will populate the locale specific settings to the database *if* the database is clean. Mythtv-setup and/or mythfrontend will afterwards load the settings on startup and use the translation matching the locale. Using a locale like da_DK.utf8 will load the Danish translation files, set the setting for the PAL TV standard, set default program guide languages, set the date format, enable subtitles by default, etc.

The issue:
-----------
This does currently not work on the daily ISO build of Mythbuntu 11.04 (23rd of February). The locale configurations are never loaded, the setup as well as the frontend are shown in English with static predefined (US?) settings.

AFAICT, Mythbuntu doesn't use a clean database when doing an initial install. The initial database should be created with the upstream mc.sql file.

How to forecefully get the expected result step-by-step on 11.04:
-----------
- Select Denmark/Danish when installing Mythbuntu 11.04 or make sure the locale is set:
$ locale
LANG=da_DK.UTF-8
LANGUAGE=
LC_CTYPE="da_DK.UTF-8"
LC_NUMERIC="da_DK.UTF-8"
LC_TIME="da_DK.UTF-8"
LC_COLLATE="da_DK.UTF-8"
LC_MONETARY="da_DK.UTF-8"
LC_MESSAGES="da_DK.UTF-8"
LC_PAPER="da_DK.UTF-8"
LC_NAME="da_DK.UTF-8"
LC_ADDRESS="da_DK.UTF-8"
LC_TELEPHONE="da_DK.UTF-8"
LC_MEASUREMENT="da_DK.UTF-8"
LC_IDENTIFICATION="da_DK.UTF-8"
LC_ALL=

- Kill frontend and backend if running.
- Drop the database:
$ mysql -uroot -p -e 'drop database mythconverg;'
- Create a new clean database:
$ mysql -uroot -p < /usr/share/mythtv/sql/mc.sql
- Change .mythtv/config.xml to login as root.
- Run: Applications -> System -> MythTV backend setup
- You'll now be presented to a language-selector screen, in which Denmark/Dansk is selected by default. Accept this.
- mythtv-setup will now populate the Danish settings to the database and show mythtv-setup in Danish.

Revision history for this message
Walter Cheuk (wwycheuk) wrote :

There is a MythTV bug report related to this:
http://code.mythtv.org/trac/ticket/10608

Revision history for this message
Kenni (kenni) wrote :

Hi Walter

No, that ticket is not related to this bug. The cause of this bug is that Mythbuntu gets installed with pre-populated database, which causes the "empty-database" check in MythTV to fail, which would otherwise have triggered the locale settings on a clean MythTV installation.

Ticket #10608 is about the --reset argument not working.

Best regards
Kenni

Revision history for this message
Thomas Mashos (tgm4883) wrote :

We really do appreciate you opening this ticket to help improve Mythbuntu, but it needs to be closed for a number of reasons. The biggest one is that upstream believes this to be fixed in the latest version. Could you please verify if this issue still exists in the latest version?

Please do not let the closing of this ticket dissuade you from opening a new ticket if this (or any other) problem occurs with the newer versions.

Changed in mythbuntu:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.