From 1f952fc454a9b0a3cafbdb221bc7e57cfeff58d4 Mon Sep 17 00:00:00 2001 From: Deborah Kaplan Date: Fri, 23 Jan 2026 16:45:07 +0000 Subject: [PATCH 1/3] feat: improved local translation handling makes it easier to add instance-specific, locally defined translation strings FIXES: AU-2654 --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d219ae32d0..78cedad28d 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,11 @@ transifex_utils = ./node_modules/.bin/transifex-utils.js i18n = ./src/i18n transifex_input = $(i18n)/transifex_input.json +# Variables for additional translation sources and imports +ATLAS_EXTRA_SOURCES = +ATLAS_EXTRA_INTL_IMPORTS = +ATLAS_OPTIONS = + # This directory must match .babelrc . transifex_temp = ./temp/babel-plugin-formatjs @@ -40,9 +45,10 @@ pull_translations: translations/frontend-component-header/src/i18n/messages:frontend-component-header \ translations/frontend-component-footer/src/i18n/messages:frontend-component-footer \ translations/frontend-lib-special-exams/src/i18n/messages:frontend-lib-special-exams \ - translations/frontend-app-learning/src/i18n/messages:frontend-app-learning + translations/frontend-app-learning/src/i18n/messages:frontend-app-learning \ + $(ATLAS_EXTRA_SOURCES) - $(intl_imports) frontend-platform paragon frontend-component-header frontend-component-footer frontend-lib-special-exams frontend-app-learning + $(intl_imports) frontend-platform paragon frontend-component-header frontend-component-footer frontend-lib-special-exams frontend-app-learning $(ATLAS_EXTRA_INTL_IMPORTS) # This target is used by Travis. From 31b319b141267b96a7ec7b8c9b9813b005cab334 Mon Sep 17 00:00:00 2001 From: Deborah Kaplan Date: Fri, 23 Jan 2026 12:42:42 -0500 Subject: [PATCH 2/3] chore: removing blank defs shouldn't be necessary, and don't want to override. --- Makefile | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Makefile b/Makefile index 78cedad28d..03a6f01d84 100644 --- a/Makefile +++ b/Makefile @@ -3,11 +3,6 @@ transifex_utils = ./node_modules/.bin/transifex-utils.js i18n = ./src/i18n transifex_input = $(i18n)/transifex_input.json -# Variables for additional translation sources and imports -ATLAS_EXTRA_SOURCES = -ATLAS_EXTRA_INTL_IMPORTS = -ATLAS_OPTIONS = - # This directory must match .babelrc . transifex_temp = ./temp/babel-plugin-formatjs From aefa116816100f7f4d80254db2c28745a613f534 Mon Sep 17 00:00:00 2001 From: Deborah Kaplan Date: Fri, 23 Jan 2026 13:41:10 -0500 Subject: [PATCH 3/3] chore: Apply suggestion from @Copilot It caught a spacing issue (this file had tabs and spaces both for some reason) Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 03a6f01d84..1a2a5c76fe 100644 --- a/Makefile +++ b/Makefile @@ -41,7 +41,7 @@ pull_translations: translations/frontend-component-footer/src/i18n/messages:frontend-component-footer \ translations/frontend-lib-special-exams/src/i18n/messages:frontend-lib-special-exams \ translations/frontend-app-learning/src/i18n/messages:frontend-app-learning \ - $(ATLAS_EXTRA_SOURCES) + $(ATLAS_EXTRA_SOURCES) $(intl_imports) frontend-platform paragon frontend-component-header frontend-component-footer frontend-lib-special-exams frontend-app-learning $(ATLAS_EXTRA_INTL_IMPORTS)