Let Flatpak download all language files at once

Basically we'll set `flatpak config --set languages "*"` which should allow Flatpak to download every language pack available into the image. This should allow translated Flatpak apps on non-english systems.
Fixes #500
This commit is contained in:
Guilherme Marçal Silva
2026-02-28 10:36:49 -03:00
committed by Harald Sitter
parent e9257ac425
commit e2e9866dd7
2 changed files with 2 additions and 3 deletions

View File

@@ -5,4 +5,3 @@
set -eux
flatpak install --noninteractive --assumeyes --sideload-repo=/usr/share/factory/var/lib/flatpak/.ostree/repo org.gtk.Gtk3theme.Breeze org.kde.gwenview org.kde.okular org.kde.kwrite org.kde.haruna org.kde.qrca org.kde.ark org.kde.kcalc org.mozilla.firefox
flatpak repair # Get localizations back now

View File

@@ -70,8 +70,8 @@ download_flatpaks() {
# Do this separately, when used as part of remote-add it complains about GPG for unknown reasons
flatpak remote-modify --collection-id=org.flathub.Stable flathub
# Only check out en. We don't really support other languages on the live image at this time.
flatpak config --set languages en
# Setting "*" will let Flatpak download all languages at once
flatpak config --set languages "*"
kde_nightly=(
ark