← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 724693] Re: New MythTV 0.24 locale auto configurations doesn't work with Mythbuntu 11.04

 

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

** Bug watch removed: code.mythtv.org/trac/ #10608
   http://code.mythtv.org/trac/ticket/10608

-- 
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to Mythbuntu.
https://bugs.launchpad.net/bugs/724693

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

Status in Mythbuntu, Ubuntu derivative focused upon MythTV:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mythbuntu/+bug/724693/+subscriptions


References