If you install vlc in snap package, then see only English interface.

# snap find vlc
Name  Version  Developer  Notes  Summary
vlc   daily    videolan   -      The ultimate media player

I try to pack the player-vlc-based and too I fail.
Earlier I was helped by these lines, but not now

#=============================
export I18NPATH=$SNAP/usr/share/i18n
export LOCPATH=$SNAP_USER_COMMON
export LC_ALL=$LANG
LANG1=$(echo $LANG | cut -f1 -d.)
ENC=UTF-8
LOC="$LANG"
# generate a locale so we get properly working charsets and graphics
if [ ! -e $SNAP_USER_COMMON/$LOC ]; then
$SNAP/usr/bin/localedef --prefix=$SNAP_USER_COMMON -f $ENC -i $LANG1 $SNAP_USER_COMMON/$LOC
fi
#=============================


--
Best regards,
vasilisc

--
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft

Reply via email to