mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-09 03:32:54 -05:00
committed by
Matt Fiddaman
parent
dd58376aa9
commit
fd42689f00
@@ -36,6 +36,16 @@ fi
|
||||
|
||||
yarn workspace loot-core build:node
|
||||
|
||||
# Get translations
|
||||
echo "Updating translations..."
|
||||
if ! [ -d packages/desktop-client/locale ]; then
|
||||
git clone https://github.com/actualbudget/translations packages/desktop-client/locale
|
||||
fi
|
||||
pushd packages/desktop-client/locale > /dev/null
|
||||
git pull
|
||||
popd > /dev/null
|
||||
packages/desktop-client/bin/remove-untranslated-languages
|
||||
|
||||
yarn workspace @actual-app/web build --mode=desktop # electron specific build
|
||||
|
||||
yarn workspace desktop-electron update-client
|
||||
|
||||
@@ -77,5 +77,9 @@ export const setI18NextLanguage = (language: string) => {
|
||||
return;
|
||||
}
|
||||
|
||||
if (language === i18n.language) {
|
||||
return; // language is already set
|
||||
}
|
||||
|
||||
i18n.changeLanguage(language || 'en');
|
||||
};
|
||||
|
||||
6
upcoming-release-notes/4317.md
Normal file
6
upcoming-release-notes/4317.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Bugfix
|
||||
authors: [MikesGlitch]
|
||||
---
|
||||
|
||||
Fix Electron language support
|
||||
Reference in New Issue
Block a user