Discussed the proposal in comment #21 with Sebastien Bacher, and changed
the template name and translation domain to "libgweather-3.0" in LP for
bionic.

** Changed in: ubuntu-translations
   Importance: Undecided => High

** Changed in: ubuntu-translations
       Status: New => In Progress

** Changed in: ubuntu-translations
     Assignee: (unassigned) => Gunnar Hjalmarsson (gunnarhj)

** Description changed:

+ [Impact]
+ 
+ The variable GETTEXT_PACKAGE is set to "libgweather-3.0" when building
+ libgweather, which makes the libgweather-common binary look for
+ translations in files named "libgweather-3.0.mo". The template name in
+ Rosetta (LP) is "libgweather", so the files provided by the language
+ packs are named "libgweather.mo". This mismatch results in the messages
+ describing the weather type always be displayed in English.
+ 
+ The uploaded package works around the issue by setting GETTEXT_PACKAGE
+ to "libgweather".
+ 
+ In bionic the template name in Rosetta has been changed to
+ "libgweather-3.0", and thus the workaround will be reversed.
+ 
+ [Test Case]
+ 
+  * Install French language support
+ 
+  * Start gnome-weather with:
+    LANGUAGE=fr gnome-weather
+    and find that the description of the weather type is displayed in
+    English. 
+ 
+  * Install these packages from artful-proposed:
+    - gir1.2-gweather-3.0
+    - libgweather-3-6
+    - libgweather-common
+ 
+  * Start gnome-weather with:
+    LANGUAGE=fr gnome-weather
+    and find that the description of the weather type is now displayed
+    in French. 
+ 
+ [Regression Potential]
+ 
+ None.
+ 
+ [Original description]
+ 
  In Gnome Weather, part of it is not translated in french : cloudy, rain
  showers, etc. Should be : nuageux, pluie fine, etc.
  
  I guess it's a missing french localization. Fedora does not have that
  problem. In Gnome-Software, they have a section for languages, under the
  extensions section.

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

Title:
  French language locale missing : Gnome-Weather

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-weather/+bug/1704533/+subscriptions

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

Reply via email to