Closed jernejp21 closed 4 months ago
Hi @jernejp21,
You have to enable the locale on flatpak, to do it you have to set the languages/extra-languages key with flatpak config
as described here: https://docs.flatpak.org/en/latest/flatpak-command-reference.html#flatpak-config.
If you need help to do it, please post here the output of flatpak config --list
command and the locale that you want to enable
EDIT: after setting the key you need to run flatpak update
to install the new langpack
@eliadevito
Thank you for your help. Your proposal worked.
I think that flatpak build went wrong somewhere. When I install flatpak from flathub, I cannot choose language other than English.
I built my own flatpak and installed it and language selection works, but when selecting other language (Japanese for example), I get this error message. Install command:
flatpak-builder --user --install --force-clean build-dir com.prusa3d.PrusaSlicer.yml
Since flatpak is in sandbox, I think locales for all supported languages should also be build. But the question is still why is only English shown.
One more thing, in
/home/<user>/.local/share/flatpak/com.prusa3d.PrusaSlicer/current/active/files/share/runtime/locale
, all folders are empty. They should have po and mo files inside.