Enable language setup

This commit is contained in:
Luis Guzmán 2019-11-20 01:38:52 -06:00
parent d5e5d00aa8
commit 3814a82e15
Signed by: Ark74
GPG Key ID: 35AD8DB3BE2C988C
1 changed files with 2 additions and 2 deletions

View File

@ -357,10 +357,10 @@ sed -i "s|'tileview'|'tileview', 'localrecording'|" $INT_CONF
#Setup main language
if [ -z $LANG ] || [ "$LANG" = "en" ]; then
echo "Leaving English (en) as default language..."
#sed -i "s|// defaultLanguage: 'en',|defaultLanguage: 'en',|" $MEET_CONF
sed -i "s|// defaultLanguage: 'en',|defaultLanguage: 'en',|" $MEET_CONF
else
echo "Changing default language to: $LANG"
#sed -i "s|// defaultLanguage: 'en',|defaultLanguage: \'$LANG\',|" $MEET_CONF
sed -i "s|// defaultLanguage: 'en',|defaultLanguage: \'$LANG\',|" $MEET_CONF
fi
#Check config file