feat: improved local translation handling

makes it easier to add instance-specific, locally defined translation
strings

FIXES: AU-2654
This commit is contained in:
Deborah Kaplan
2026-01-23 16:45:07 +00:00
parent a0f01cb38a
commit 1f952fc454

View File

@@ -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.