Phase 7: languages

- Complete Spanish (neutral Latin American, Paraguay friendly, no
  inverted marks) and Dutch catalogs, including the Mini App and owner texts
- Command menus per language in three scopes (private, group members,
  group admins); per-chat menus follow a user's /language and a group's
  /grouplang, from chat and from the Mini App
- Bot name, description and short description per language, sent only
  when the catalog text changes (TELEGRAM_SET_PROFILE)
- Dates from the catalog, numbers, sizes and durations per locale
- Pseudo-locale en-XA generated from English (I18N_PSEUDO), owners only
- Catalog checks: completeness, placeholders, tags, commands, plurals,
  Telegram length limits, untranslated text, unused and missing IDs
- CI workflow; make i18n-check; docs/TRANSLATING.md
- Test fix: the queued-download helper could match another chat's status

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Michilis
2026-11-18 17:42:31 +00:00
co-authored by Claude Opus 5.5
parent 4f11f939a0
commit f1f9c6156c
27 changed files with 3217 additions and 71 deletions
+9
View File
@@ -32,6 +32,15 @@ PUBLIC_URL=
# docs/OPERATIONS.md. The app is served by the core under <PUBLIC_URL>/app/.
MINIAPP_ENABLED=false
# Set the bot's name, description and short description in every language
# from the catalogs (profile.* in locales/*.toml). false keeps whatever is
# set in @BotFather.
TELEGRAM_SET_PROFILE=true
# Add the pseudo-locale en-XA (accented, bracketed English) for checking
# that every text comes from the catalog. Only owners can pick it.
I18N_PSEUDO=false
# Where /support sends users: a @username or a link.
SUPPORT_CONTACT=
# Load translations from this directory instead of the built-in ones, and