How to provide a custom static asset for a specific locale?

static-content
localization
asset
static-content-deploy

(Dmitry Fedyuk) #1

Magento allows to provide static asset files per locale in the module or theme.
To provide such localized files, put them under web/i18n/<locale> folder inside the module or a theme.
These files have priority above non-localized files.

magento.stackexchange.com/a/96080