Opened 4 years ago

Last modified 4 years ago

#52244 new defect

Glom cannot get locale path on Mac OS X

Reported by: m.rick@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: mojca (Mojca Miklavec), dbevans (David B. Evans)
Port: glom

Description

I reported this bug on the official Glom bugzilla list

Glom translations cannot get locale path on Mac OS X
https://bugzilla.gnome.org/show_bug.cgi?id=770403

Do you know if the MacPorts version can be patched to resolve it or does it belongs to the official development?
It is a Mac OS X specific bug.

Change History (4)

comment:1 Changed 4 years ago by ryandesign (Ryan Schmidt)

What version of macOS do you use?

What commands do I need to type, or what do I need to do, to observe the problem on my system?

comment:2 Changed 4 years ago by m.rick@…

I use El Capitan 10.11.6 set in French.

In order to observe the described problem, first launch Glom. No need to set up a specific language.
Then create a testing database and in the Developer menu, enable the Developer mode. Then still in the Developer menu, click over Translations and then Identify Source.

In the Mac OS terminal you'll get an error message:

Glib::ustring Glom::IsoCodes::get_locale_name(const Glib::ustring &): Could not open (or read) glibc locales directory: /usr/share/i18n/locales/Error: Error opening directory '/usr/share/i18n/locales/': No such file or directory

comment:3 Changed 4 years ago by m.rick@…

I checked an old Mac, the locale system path is /usr/share/locale from at least Mac OS X 10.6

Last edited 4 years ago by m.rick@… (previous) (diff)

comment:4 Changed 4 years ago by dbevans (David B. Evans)

Note also that MacPorts ports install i18m files in /opt/local/share/locale

Note: See TracTickets for help on using tickets.