This directory contains environment/vendor-specific translation bundles that are merged on top of the base, vendor-neutral locales in src/locales/
.
src/env/locales/ <vendor>/ en-US.json ka-GE.json ru-RU.json zh-CN.json <vendor-variant>/ en-US.json # optional, only when variant overrides vendor root ka-GE.json # optional ru-RU.json # optional zh-CN.json # optional
Examples:
src/env/locales/nvidia/
src/env/locales/nvidia-gb/
src/locales/
(auto-discovered)src/env/locales/nvidia/
)src/env/locales/nvidia-gb/
)Variant keys overwrite vendor root keys on conflict.
src/locales/
vendor‑neutral. Put vendor‑specific strings here.en-US.json
, ru-RU.json
, zh-CN.json
, ka-GE.json
).The active environment is selected by VUE_APP_ENV_NAME
(e.g., nvidia
, nvidia-gb
). See the .env.*
files at the repo root (e.g., .env.nvidia-gb
).
src/locales/
are bundled automatically.src/env/locales/<env>
are also bundled and merged at app start.Focused unit tests exist for overlays and fallback:
npm run test:unit -- i18n.vendor.spec.js
npm run test:unit -- i18n.locale-alias.spec.js
These verify vendor root → variant merge behavior and locale alias handling.