https://bugs.kde.org/show_bug.cgi?id=476591

--- Comment #7 from skierpage <skierp...@gmail.com> ---
(In reply to Jean-Pierre V from comment #6)
> [📦 org.kde.skrooge locale] cd /app/share/locale 
> [📦 org.kde.skrooge locale]$ ls -l
> ...
> lrwxrwxrwx 1 nfsnobody nfsnobody   38 24 févr. 15:06 fi -> 
> ../../share/runtime/locale/fi/share/fi
>   (no "fr" symlink!)
> lrwxrwxrwx 1 nfsnobody nfsnobody   38 24 févr. 15:06 ga -> 
> ../../share/runtime/locale/ga/share/ga

That seems to be the problem. There's no symlink for the one locale that should
actually have localization files in org.kde.skrooge.Locale.
The fix is (outside the flatpak):
  Close the running flatpak
  % flatpak info --show-location org.kde.skrooge
  % cd (to the path above, e.g. in my system installation it is,
/var/lib/flatpak/app/org.kde.skrooge/x86_64/stable/active/ )
  % cd files/share/locale
  % sudo ln -s ../../share/runtime/locale/fr/share/fr
This symbolic link doesn't resolve, but at runtime inside the flatpak it links
to the French localization files that org.kde.skrooge.Locale should provide if
flatpak thought you need/want the French locale when you installed Skrooge.
  % ls -l f*
      fi -> ../../share/runtime/locale/fi/share/fi
      fr -> ../../share/runtime/locale/fr/share/fr
     (^ added the missing symlink for "fr")

and now if you start the flatpak you should have the full French localization!
(I had to fiddle around a lot removing and reinstalling, and adjusting LANG.)

The question is why does, e.g. the Gwenview flatpak have this link, but not
Skrooge? Why does the skrooge flatpak have a symlink for e.g. a Finnish
translation, but not French or German? We need to cross-breed a build expert,
localization expert, and flatpak expert.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to