Web integration

autoglot provides two npm packages for translating web projects. Use @autoglot/next for automatic Next.js integration, or @autoglot/cli for any JavaScript project or CI pipeline.

Two approaches

You can either generate translations at build time (recommended for teams) or commit them via GitHub Actions.

ApproachHow it worksGit conflicts?
Build-timeTranslations generated during build, gitignoredNever
GitHub actionTranslations committed via PR or direct pushPossible

Supported formats

JSON (.json), YAML (.yml, .yaml), and PO/POT (.po, .pot) files. Works with i18next, next-intl, react-intl, and any library that reads standard locale files.