lxqt / libqtxdg

Qt implementation of freedesktop.org xdg specs
https://lxqt.github.io
GNU Lesser General Public License v2.1
72 stars 35 forks source link

Add support for translations defined via X-Ubuntu-Gettext-Domain #292

Closed tsimonq2 closed 1 year ago

tsimonq2 commented 1 year ago

I'm submitting this upstream to be collaborative, but I can also understand why this could stay as a downstream patch. Not my decision, just figured I'd be nice and submit it. :)

The Lubuntu Global Team pointed out that some packages with Launchpad-based translations aren't being translated correctly in the LXQt menu. Further discussion can be found here.

In the interest of non-English users, we'll be carrying this in Lubuntu 23.04. If you guys have any code feedback, please let me know.

Thanks!

tsujan commented 1 year ago

LXQt follows the "Desktop Entry Specification" of freedesktop.org as closely as possible. This is how values are localized in a desktop entry: https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s05.html

tsimonq2 commented 1 year ago

No worries, I agree this is non-standard and probably doesn't belong upstream.