gettext-rs
gettext-rs copied to clipboard
Symlinks and paths ending with /locale not supported by TextDomain
I tried to use TextDomain with flatpak and two issues prevent me from using it:
- The locale dir passed to the buildsystem ends with /locale. Would be nice if this is supported by
TextDomain::prepend
as well. (Easy to work around.) - Flatpak or Flathub uses symlinks of the form
/app/share/locale/es -> ...
ButTextDomain::init()
does not follow symlinks inside locale for the checks. This makes it basically unusable for this case.