Skip to content

Configure Glott — automatic translation for every PR#1

Open
glott-dev[bot] wants to merge 1 commit intomasterfrom
glott/setup
Open

Configure Glott — automatic translation for every PR#1
glott-dev[bot] wants to merge 1 commit intomasterfrom
glott/setup

Conversation

@glott-dev
Copy link
Copy Markdown

@glott-dev glott-dev bot commented Mar 24, 2026

What is Glott?

Glott keeps your translations in sync automatically. When a pull request changes translatable content, Glott detects the changes, translates them, and commits the results — so you never ship a feature without its translations.

What we detected

Source language: ui
Target languages: None detected. Edit .glott.yml to add target locales.

Locale paths detected: src/locales, locales, i18n

Locale files found (2):

  • src/components/ui/ActiveLink.js
  • src/components/ui/Button.js

Generated configuration

The .glott.yml file below tells Glott which files to watch, which locales to target, and where to write translations.

# Glott i18n configuration
# See https://glott.dev/docs/config for full reference

# The primary language used as the source of truth
sourceLanguage: ui

# Languages to translate into
targetLanguages:

# Paths to scan for locale files (relative to repo root)
localePaths:
  - src/locales
  - locales
  - i18n

# Translation policies
policies:
  # Minimum translation coverage percentage required to pass checks
  minCoverage: 100
  # Whether to flag keys where the translation matches the source (possibly untranslated)
  failOnStale: false
  # Whether to flag keys in target that don't exist in source
  failOnExtra: false

# Block PR merges when translation checks fail
mergeBlocking: true

Next steps

  1. Review the configuration — make sure the source locale and target locales are correct.
  2. Merge this PR — once merged, Glott will start translating every future PR that touches translatable files.
  3. Customise — edit .glott.yml any time to add locales, change file patterns, or adjust translation rules.

This PR was created automatically by Glott.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants