{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreidtsctomocszjqsmxar2sqwdxpopzebmawv2c6kzhpsznqwrepwd4",
    "uri": "at://did:plc:yrn4rbgwenb6lfhhzjegbtnc/app.bsky.feed.post/3mfujpnjp4jj2"
  },
  "path": "/t/installation-of-translation-mo-files-failing/11778#post_1",
  "publishedAt": "2026-02-25T01:39:46.000Z",
  "site": "https://discourse.flathub.org",
  "tags": [
    "com.github.louis77.tuner"
  ],
  "textContent": "Hullo, I am working on com.github.louis77.tuner, a Vala radio app, and I’ve been cleaning up the portable object translation code, but I am finding that the translations are not making it into the flakpak.\n\nI had split the translations into two .pot files (which generate fine with i18n.gettext) in subdirectories under /po, use Weblate to generate the .po files (fine) and I use a meson setup-hook to concatenate the language .po’s into the /po dir before generating the .mo’s at build time. This all works great for local builds.\n\nHowever for flatpak build, which apprear to show the .mo’s being moved:\n\n\n    [79/79] Linking target com.github.louis77.tuner\n\n    [0/1] Installing files\n\n    Installing po/ar/LC_MESSAGES/com.github.louis77.tuner.mo to /app/share/locale/ar/LC_MESSAGES\n\n\netc.\n\nBut I don’t see the .mo’s once its installed and neither does the code, which looks in:\n\n\n    config_data.set_quoted('LOCALEDIR',\n\n      join_paths(get_option('prefix'), get_option('localedir')))\n\n    config_data.set_quoted('GETTEXT_PACKAGE', meson.project_name())\n\n\nAny help or pointers appreciated!\n\nT",
  "title": "Installation of translation (.mo) files - failing"
}