cms icon indicating copy to clipboard operation
cms copied to clipboard

Translating the descriptions of attachments' types has never worked

Open lw opened this issue 7 years ago • 0 comments

When a task has attachments (other than statements) we display them in CWS and we add some nice information like the file size, the type and an icon. The type is something like "PDF document", and is localized. The translations are provided by the shared-mime-info.mo file but apparently we were looking for it in /usr/share/locale/*/LC_MESSAGES/shared-mime-info.mo. This works on my system (Arch Linux) but apparently it never did on Ubuntu, where that file is located in /usr/share/locale-langpack/... (see [1]).

I don't know how to automatically figure out the correct path of that file.

[1] https://packages.ubuntu.com/artful/all/language-pack-it-base/filelist

lw avatar Feb 21 '18 08:02 lw