Do

[i18n] Gnome-Do doesn't launch locale file (.mo) in the right directory

Bug #256856 reported by RastaPopoulos
8
Affects Status Importance Assigned to Milestone
Do
Fix Released
Medium
Unassigned

Bug Description

Gnome-Do deb package installs .mo files in /usr/share/locale/[lang]/LC_MESSAGES/gnome-do.mo.

I'm with a French locale and Do doesn't launch gnome-do.mo in this directory.

However, it works when gnome-do.mo is in :
/usr/share/locale-langpack/[lang]/LC_MESSAGES/gnome-do.mo

So, I'm forced to copy this file from the first dir to the other each time it changes.

Revision history for this message
Chris Halse Rogers (raof) wrote :

I see this as well. But I've got no idea why this occurs; as far as I'm aware /usr/share/locale is where the translations are meant to go.

Confirming.

Changed in do:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Andrea Cimitan (cimi) wrote :

Subscribing

Revision history for this message
Chris Halse Rogers (raof) wrote :

So, I know what the problem is here. We initialise the catalog from the cardcoded path /usr/local/share/locale. I'll add in some more compile-time path definitions to fix this properly.

Changed in do:
assignee: nobody → raof
status: Confirmed → In Progress
Revision history for this message
Andrea Cimitan (cimi) wrote :

Seems fixed

Changed in do:
status: In Progress → Fix Committed
Revision history for this message
Andrea Cimitan (cimi) wrote :

It seems fixed, but the locale path in Do.cs is still hardcoded.
Reopening

Changed in do:
status: Fix Committed → In Progress
Revision history for this message
Chris Halse Rogers (raof) wrote :

Fix committed to future

Changed in do:
assignee: raof → nobody
status: In Progress → Fix Committed
Jason Smith (jassmith)
Changed in do:
status: Fix Committed → Fix Released
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.