language-selector missing

Bug #218251 reported by Kyle Nitzsche
4
Affects Status Importance Assigned to Milestone
Ubuntu Mobile Edition
Confirmed
Medium
Unassigned

Bug Description

language-selector package needs to be added so that users can add language packs (translations), switch locales, and etc.

Also, its UI does not fit on a 800 x 480 screen. (The list of languages is vertically compressed down to a single line, making it impossible to navigate and use.)

Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

Note that we have added language-selector to acton project. But, we should remove it when it is added to ubuntu mobile proper.

Chris Gregan (cgregan)
Changed in ubuntu-mobile:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

language-selector is committed and will be released to jax with 5/9 project/image. It is hooked up to the Settings > Languages flash widget.

With this build we have modified the approach to setting the default and the next language/locale.

Previously, the language (and therefore locale) was set in /etc/X11/Xsession.d/25ume-config-common_startup by the LANG variable. For example: LANG=en_GB.UTF-8 to launch in English/Great Britain locale.

Now, the boot language and locale is set by the /etc/default/locale file. I add this file to the image in ume-conf-common pkg. (Normally it is created, I think, during installation process when user selects their language, but since we don't use that, the file was never created.) I create it with permissions of 666 to enable all to read and write it, which enables language-sector to access it, even when language-selector is launched without sudo permissions.

Note that if we want different images to launch into different default locales on first boot, we can move this file to image specific config packages and modify it accordingly.

Note also that making the gtk text font size smaller resolved the issue of the UI not fitting on the screen.

Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

done in msg builds

Changed in acton:
assignee: nobody → kylenitz
importance: Undecided → High
status: New → Fix Committed
Revision history for this message
Chris Gregan (cgregan) wrote :

Confirmed in lasted package

Changed in acton:
status: Fix Committed → Fix Released
Revision history for this message
Loïc Minier (lool) wrote :

If you add /etc/default/locale to a package, make sure it's created in the postinst and only if it wasn't there; this file isn't a conffile on regular systems, so I think it would be a bad idea to ship it as a conffile in a mobile specific package.

Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

Acton project now has working language-selector with no password prompting (runs as ume user) that may also be suitable for UME proper.

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.