From 176b36374edc66dcbdd959004f81a730a7826e5b Mon Sep 17 00:00:00 2001 From: Deborah Kaplan Date: Fri, 23 Jan 2026 16:45:07 +0000 Subject: [PATCH 1/2] 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 ebb22df50d8e21d94c06b311497ff88b9d891fde Mon Sep 17 00:00:00 2001 From: Deborah Kaplan Date: Fri, 23 Jan 2026 12:42:42 -0500 Subject: [PATCH 2/2] 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