Skip to content

Commit 37b2b07

Browse files
authoredJun 14, 2019
fix: fix broken translations (#548)
when a locale other than english is selected, the missing core-shim.js import was causing the wrong locale to be used by the core/ResourceBundle now with adding the Core-shim.js import, all resource bundles will have the correct locale at run time
1 parent 32ec3b3 commit 37b2b07

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎packages/base/src/ResourceBundle.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import "./shims/jquery-shim.js";
2+
import "./shims/Core-shim.js";
23
import ResourceBundle from "@ui5/webcomponents-core/dist/sap/base/i18n/ResourceBundle.js";
34
import formatMessage from "@ui5/webcomponents-core/dist/sap/base/strings/formatMessage.js";
45
import { getLanguage } from "./LocaleProvider.js";

0 commit comments

Comments
 (0)
Please sign in to comment.