summaryrefslogtreecommitdiff
path: root/resources/js/db.js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/js/db.js')
-rw-r--r--resources/js/db.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/js/db.js b/resources/js/db.js
index 6e53b7e..d564851 100644
--- a/resources/js/db.js
+++ b/resources/js/db.js
@@ -123,6 +123,7 @@ async function initializeDB () {
DB.elements[element] = await fetchDBData(`/modules/tuxemon/mods/tuxemon/db/element/${element}.json`).then((response) => response.json());
}
+ await fetchTranslation('en_US'); // fallback
await fetchTranslation(Memory.state.Settings.language);
applyTranslation();