Public bug reported:

When updating a click package or the system image, the download progress
is not properly internationalized.
After investigating, the following string:
http://bazaar.launchpad.net/~system-settings-touch/ubuntu-system-settings/trunk/view/head:/plugins/system-update/PageComponent.qml#L525

is translated in my language, except for the size unit. For example,
"12MB" should be displayed as "12Mo" in French.

Apparently, this all boils down to http://bazaar.launchpad.net/~system-
settings-touch/ubuntu-system-settings/trunk/view/head:/src/utils.cpp#L72
, which calls g_format_size(), which does not return a localised string
as it is supposed too.

Maybe this is because of a missing environment variable, or a missing glib 
initialisation (setlocale()?)
In fact, are the glib translations even installed on the phone?

** Affects: ubuntu-system-settings (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  When updating a click package or the system image, the download progress
  is not properly internationalized.
  
  After investigating, the following string:
  
http://bazaar.launchpad.net/~system-settings-touch/ubuntu-system-settings/trunk/view/head:/plugins/system-update/PageComponent.qml#L525
  
  is translated in my language, except for the size unit. For example,
  "12MB" should be displayed as "12Mo" in French.
  
  Apparently, this all boils down to http://bazaar.launchpad.net/~system-
  settings-touch/ubuntu-system-settings/trunk/view/head:/src/utils.cpp#L72
  , which calls g_format_size(), which does not return a localised string
  as it is supposed too.
  
- Maybe this because of a missing environment variable, or a missing glib
- initialisation (setlocale()?)
+ Maybe this because of a missing environment variable, or a missing glib 
initialisation (setlocale()?)
+ In fact, are the glib translations even installed?

** Description changed:

  When updating a click package or the system image, the download progress
  is not properly internationalized.
  
  After investigating, the following string:
  
http://bazaar.launchpad.net/~system-settings-touch/ubuntu-system-settings/trunk/view/head:/plugins/system-update/PageComponent.qml#L525
  
  is translated in my language, except for the size unit. For example,
  "12MB" should be displayed as "12Mo" in French.
  
  Apparently, this all boils down to http://bazaar.launchpad.net/~system-
  settings-touch/ubuntu-system-settings/trunk/view/head:/src/utils.cpp#L72
  , which calls g_format_size(), which does not return a localised string
  as it is supposed too.
  
- Maybe this because of a missing environment variable, or a missing glib 
initialisation (setlocale()?)
+ Maybe this is because of a missing environment variable, or a missing glib 
initialisation (setlocale()?)
  In fact, are the glib translations even installed?

** Description changed:

  When updating a click package or the system image, the download progress
  is not properly internationalized.
  
  After investigating, the following string:
  
http://bazaar.launchpad.net/~system-settings-touch/ubuntu-system-settings/trunk/view/head:/plugins/system-update/PageComponent.qml#L525
  
  is translated in my language, except for the size unit. For example,
  "12MB" should be displayed as "12Mo" in French.
  
  Apparently, this all boils down to http://bazaar.launchpad.net/~system-
  settings-touch/ubuntu-system-settings/trunk/view/head:/src/utils.cpp#L72
  , which calls g_format_size(), which does not return a localised string
  as it is supposed too.
  
  Maybe this is because of a missing environment variable, or a missing glib 
initialisation (setlocale()?)
- In fact, are the glib translations even installed?
+ In fact, are the glib translations even installed on the phone?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1478208

Title:
  File size units are not localized

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/+bug/1478208/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to