Skip to content
Snippets Groups Projects
Unverified Commit f883b12d authored by Tiago Evangelista Pinto's avatar Tiago Evangelista Pinto Committed by GitHub
Browse files

regression(Apps): Apps translations overriding core translations (#30438)

parent 614a9b8f
No related branches found
No related tags found
No related merge requests found
......@@ -65,7 +65,7 @@ export const useAppTranslations = () => {
// Translations keys must be scoped under app id
const scopedTranslations = Object.entries(translations).reduce<Record<string, string>>((acc, [key, value]) => {
acc[Utilities.getI18nKeyForApp(key, appId)] = value;
return translations;
return acc;
}, {});
i18n.addResourceBundle(normalizedLanguage, 'core', scopedTranslations);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment