Closed kostich closed 6 years ago
It's certainly not doing anything special in that regard. Do other flatpak apps work? How did you change the locale?
Other Flatpaks are using my system locale correctly. I haven't manually changed my locale inside the app in any way.
Yes but how did you change your system locale? Does locale
print what you'd expect? And did you change your locale to the current value before or after installing corebird? Locales should be downloaded automatically by flatpak if available and not installed.
Locale was setup during the initial installation of Fedora Atomic Workstation. Command locale
returns expected environment variables for my language. I haven't changed the locale in any way before and after installing Corebird.
I've seen the locales downloaded by the flatpak, in the terminal output. I will try to uninstall and then install to capture the terminal outuput.
This is the output when reinstalling:
[user@box ~]$ flatpak uninstall org.baedert.corebird
Uninstalling: org.baedert.corebird/x86_64/stable
Uninstalling: org.baedert.corebird.Locale/x86_64/stable
[user@box ~]$ flatpak install flathub org.baedert.corebird
Installing: org.baedert.corebird/x86_64/stable from flathub
[####################] 1 delta parts, 3 loose fetched; 6941 KiB transferred in 7 seconds
Installing: org.baedert.corebird.Locale/x86_64/stable from flathub
[####################] 1 delta parts, 1 loose fetched; 91 KiB transferred in 0 seconds
It seems that Corebird is looking for the translations in the wrong place. The symlink for my system locale points to:
/var/lib/flatpak/app/org.baedert.corebird/x86_64/stable/ae7ae0ef17423054f5697331566fd392dabf20aef0c28e8de0cbec1630a4c53f/files/share/locale/sr -> ../../share/runtime/locale/sr/share/sr
But there's nothing in ../../share/runtime/locale/sr/share/sr
. The translation is instead located in the other path:
/var/lib/flatpak/runtime/org.baedert.corebird.Locale/x86_64/stable/62a3e91eea18917274040a207d89c2d76a72f6655ece33d46c917175314d68ff/files/sr/share/sr/
Quite a different path.
I'm not an expert on this topic (inside or outside of flatpak), but since corebird doesn't do anything special here, it seems like this should be more directed to the flatpak developers. I won' t be around for much longer this weekend, so if you want to get this fixed, would be nice if you could open a bug report at flatpak instead, with the same information as here. The people there are usually responsive and should know about this of course. Otherwise I'll look into it next week.
Opened an issue at https://github.com/flathub/flathub/issues/277 . I'll close this issue now.
Thanks for your hard work on Corebird!
Latest Corebird flatpak doesn't use the existing translations. Instead, everything is displayed in English.
Host is Fedora Atomic Workstation 27.
I've poked a bit in
/var/lib/flatpak/app/org.baedert.corebird/x86_64/stable/some-long-uid/files/share/locale/
and it seems that all the symlinks pointing to the translations are broken. No .mo files in the ../../runtime/locale/*/.Are the translations in a separate flatpak/runtime?