MBVM-98: Fix enabling mirror website translations

Also add notes to hopefully keep language lists in sync.
It follows similar changes in musicbrainz-server for MBS-13584.
This commit is contained in:
yvanzo
2024-06-24 19:58:51 +01:00
parent f362446959
commit f6909fcb27
4 changed files with 10 additions and 0 deletions

View File

@ -430,6 +430,8 @@ sub DEVELOPMENT_SERVER { $ENV{MUSICBRAINZ_DEVELOPMENT_SERVER} == 1 ? 1 : 0 }
# Please activate the officially approved languages here. Not every .po
# file is active because we might have fully translated languages which
# are not yet properly supported, like right-to-left languages
#
# The corresponding language packs must be installed; See NOTE-LANGUAGES-1
sub MB_LANGUAGES { shift->DEVELOPMENT_SERVER()
? qw( de el es et he fi fr it ja nl sq en )
: qw( de fr it nl en )

View File

@ -37,6 +37,7 @@ RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.asc] https://deb.nodesourc
git \
# Needed to generate SVG from database schema DOT diagrams
graphviz \
# NOTE-LANGUAGES-1: These language packs must match the definition of MB_LANGUAGES in DBDefs.pm
language-pack-de \
language-pack-el \
language-pack-es \

View File

@ -417,6 +417,8 @@ sub DEVELOPMENT_SERVER { $ENV{MUSICBRAINZ_DEVELOPMENT_SERVER} == 1 ? 1 : 0 }
# Please activate the officially approved languages here. Not every .po
# file is active because we might have fully translated languages which
# are not yet properly supported, like right-to-left languages
#
# The corresponding language packs must be installed; See NOTE-LANGUAGES-1
sub MB_LANGUAGES { shift->DEVELOPMENT_SERVER()
? qw( de el es et fi fr he it ja nl sq en )
: qw( de fr it nl en )

View File

@ -35,6 +35,11 @@ RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.asc] https://deb.nodesourc
gettext \
g++ \
git \
# NOTE-LANGUAGES-1: These language packs must match the definition of MB_LANGUAGES in DBDefs.pm
language-pack-de \
language-pack-fr \
language-pack-it \
language-pack-nl \
# Needed for Cache in DB_File
libdb-dev \
libexpat1-dev \