Internationalization (i18n)
In an Addfox project, extension i18n assets (e.g. localized messages) live under the public directory. At build time, everything under public is copied into the output directory (e.g. dist), so structures like _locales are preserved in the built extension and loaded by Chrome according to default_locale and the chrome.i18n API.
A common setup is public/_locales/<locale>/messages.json (e.g. public/_locales/en/messages.json), with default_locale set in the manifest.
For message format, placeholders, and how to reference strings in manifest, CSS, and JS, see Chrome’s official docs:
- Internationalize your extension (full guide)
- chrome.i18n API (API reference)

