You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add a baseline-aware translation consistency checker for public/locales/*/translations.json
validate staged translation changes before commit and pushed translation changes before push
run the same check in GitHub Actions on pushes and pull requests
The repository currently contains historical key gaps between locales, so the checker preserves that baseline while rejecting newly added or removed keys that are not changed consistently across every locale.
Verification
pnpm run check:i18n
pnpm run lint
intentional single-locale key addition was rejected with the missing locale list
staged-snapshot path was exercised successfully
pnpm run build was attempted with the documented proxy environment, but Next.js compilation stalled without producing an error and was stopped after approximately two minutes
Помню, раньше был русский вариант, № 68 ? Автор сам его удалил?
Да, это правда, аккаунт тоже исчез, как странно.
English
Hey. Sorry for disappearing. I spent a long time restoring my GitHub account, so the support team temporarily hid all my messages and repositories. But finally, after 3 months, they restored me, so I'd be glad to help if it's still relevant — with something related to translation or with my pull request:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
public/locales/*/translations.jsonThe repository currently contains historical key gaps between locales, so the checker preserves that baseline while rejecting newly added or removed keys that are not changed consistently across every locale.
Verification
pnpm run check:i18npnpm run lintpnpm run buildwas attempted with the documented proxy environment, but Next.js compilation stalled without producing an error and was stopped after approximately two minutes