Make localization relocatable
The localization that gtk-mac-integration is responsible for relies on the build-time value of LOCALEDIR
. That does not work for a relocatable/standalone application bundle.
This MR introduces a check to point to a locale directory inside the application bundle, making the old behavior a fallback. Together with the these instructions for gtk-mac-bundler...
<translations name="gtk-mac-integration">
${prefix}/share/locale
</translations>
...the following result is achieved:
before | after |
---|---|