We also had some snaps with launcher scripts generating the currrent locale at first start, e.g
“# generate the locale definition for the current language
export I18NPATH=$SNAP/usr/share/i18n
export LOCPATH=$SNAP_USER_DATA/.local/share/locale
if [ ! -d $LOCPATH ]; then
mkdir $LOCPATH
fi
if [ ! -d $LOCPATH/$LANG ]; then
$SNAP/usr/bin/localedef -f UTF-8 -i $(echo $LANG | cut -d. -f1) $LOCPATH/$LANG
fi”
(with “locales” staged)