Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 941625 - media-sound/strawberry-1.1.2: no translations
Summary: media-sound/strawberry-1.1.2: no translations
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-16 11:04 UTC by François Valenduc
Modified: 2024-10-20 15:58 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description François Valenduc 2024-10-16 11:04:32 UTC
Since the update to strawberry-1.1.2, the interface is only in English. Previously I could use it in French. The same problem occur with version 1.1.3

Reproducible: Always




output of emerge --info:

Portage 3.0.65 (python 3.12.6-final-0, default/linux/amd64/23.0/desktop/plasma/systemd, gcc-13, glibc-2.39-r6, 6.11.3 x86_64)
=================================================================
System uname: Linux-6.11.3-x86_64-AMD_Ryzen_7_7730U_with_Radeon_Graphics-with-glibc2.39
KiB Mem:    15773624 total,   3968616 free
KiB Swap:    5626876 total,   3523324 free
Timestamp of repository gentoo: Wed, 16 Oct 2024 04:48:31 +0000
Head commit of repository gentoo: aa8627b198930dda2d5bddf039445a55efde7424

Timestamp of repository guru: Tue, 15 Oct 2024 23:33:21 +0000
Head commit of repository guru: 22badc397e7be545bf975f1ea6f901509a399669

Head commit of repository jgenco: cb57a4085d839bd6a653c1e887a1cde6da70ce6e

Head commit of repository scaleway: 85168bd504bbcc807e6341410252ba5c01558437

sh bash 5.2_p37
ld GNU ld (Gentoo 2.42 p6) 2.42.0
distcc 3.4 x86_64-pc-linux-gnu [disabled]
ccache version 4.10.1 [enabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.30.2::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.5.1::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.12.6_p4::gentoo
dev-lang/rust:             1.80.1::gentoo
dev-util/ccache:           4.10.1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-apps/systemd:          255.11::gentoo
sys-devel/binutils:        2.42-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/clang:           18.1.8::gentoo
sys-devel/gcc:             13.3.1_p20240614::gentoo, 14.2.1_p20240921::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             18.1.8::gentoo
sys-devel/llvm:            18.1.8-r1::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git
    priority: -1000
    volatile: False
    sync-git-verify-commit-signature: yes

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

jgenco
    location: /var/db/repos/jgenco
    sync-type: git
    sync-uri: https://github.com/jgenco/jgenco-overlay.git
    masters: gentoo
    volatile: False

localrepo
    location: /usr/local/portage
    masters: gentoo
    volatile: True


Binary Repositories:

gentoobinhost
    priority: 9999
    sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=znver3 -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=512"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.9/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-O2 -pipe -march=znver3 -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=512"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe -march=znver3 -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=512"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live buildsyspkg ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=znver3 -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=512"
GENTOO_MIRRORS="https://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="fr_BE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j12 -l10"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/zsh"
USE="X a52 aac acl acpi activities alsa amd64 apparmor bluetooth bluray branding bzip2 cairo cdda cddb cdr cet crypt cups dbus declarative dri dts dvd dvdr encode exif flac gdbm gif gpm gtk gui iconv icu ipv6 jpeg kde kerberos kf6compat kwallet lcms libnotify libtirpc mad mmx mng mp3 mp4 mpeg mtp multilib musicbrainz ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf pipewire pkcs11 plasma png policykit ppds pulseaudio qml qt5 qt6 readline sdl seccomp secureboot semantic-desktop sound spell sse sse2 sse3 sse4 ssl ssse3 startup-notification svg systemd test-rust tiff tpm truetype udev udisks unicode upnp upower usb vhosts vim-syntax vorbis vulkan wayland webengine widgets wxwidgets xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3 vpclmulqdq" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput evdev" KERNEL="linux" L10N="fr" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PERL_FEATURES="ithreads" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres17" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby31" VIDEO_CARDS="radeonsi amdgpu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Mike Gilbert gentoo-dev 2024-10-16 15:51:00 UTC
Please do not CC arches on bug reports.
Comment 2 Joerg Schaible 2024-10-19 12:43:14 UTC
Same here, I am missing the German translations.
Comment 3 Miroslav Šulc gentoo-dev 2024-10-19 14:40:29 UTC
there was a change between 1.1.1 and 1.1.2:

$ diff strawberry-1.1.1-r1.ebuild strawberry-1.1.2.ebuild 
8c8
< PLOCALES="ca cs de es es_AR es_ES es_MX et fi fr hu id it ja ko nb nl pl pt_BR ru sv uk zh_CN"
---
> PLOCALES="ca_ES cs_CZ de_DE es_AR es_ES es_MX et_EE fi_FI fr_FR hu_HU id_ID it_IT ja_JP ko_KR nb_NO nl_NL pl_PL pt_BR ru_RU sv_SE tr_CY tr_TR uk_UA zh_CN zh_TW"

so obviously for those having just "fr" or "de" in their configuration instead of "fr fr_FR" or "de de_DE" lost the tranlations.
Comment 4 François Valenduc 2024-10-19 15:46:59 UTC
And what about Belgian people ? fr_FR is probably only for France. Does it mean that I need to reconfigure the locales to select also fr_FR ?
Comment 5 François Valenduc 2024-10-19 15:50:25 UTC
In fact I have also the fr_FR locale, but it still does not work.
Comment 6 Miroslav Šulc gentoo-dev 2024-10-19 16:02:28 UTC
fr_FR means french as spoken in france. the problem is you can't pick fr_BE for strawberry because it does not provide that localization.

so, to compile french translation for strawberry, you have to live with the french variant even though living in belgium. setting just "fr" probably for most packages provides french as spoken in france anyway.

if you added fr_FR to the locales after compilation of strawberry, you have to recompile strawberry.

you should put something like this in your /etc/portage/make.conf (https://wiki.gentoo.org/wiki/Localization/Guide#LINGUAS):
LINGUAS="fr fr_BE fr_FR"

of course if you prefer more languages, you should add them there too.

and then recompile strawberry.
Comment 7 François Valenduc 2024-10-19 16:13:17 UTC
I have set LINGUAS as explained in make.conf. Unfortunately, it does not change anything.
Comment 8 François Valenduc 2024-10-19 16:23:55 UTC
This is probably the same bug: https://github.com/strawberrymusicplayer/strawberry/issues/1570
Comment 9 Miroslav Šulc gentoo-dev 2024-10-19 16:25:34 UTC
then you might check this section: https://wiki.gentoo.org/wiki/Localization/Guide#Setting_a_locale
Comment 10 François Valenduc 2024-10-19 16:26:42 UTC
Selecting the language in strawberry (instead of using system default) was easier.
Comment 11 François Valenduc 2024-10-20 15:58:27 UTC
upstream is maybe a better resolution than invalid. It looks very much like it is the bug I mentioned in comment 8. Previously, 'use system default' always worked, but this is not the case anymore.