Localization: embed es_DO in Tryton core and harden CI #1

Merged
joseagrc merged 7 commits from feature/fix-gitea-checkout-url into integration/8.0 2026-10-13 20:41:07 -04:00
Owner

Summary

  • use the runner-accessible public Gitea URL during checkout
  • use a shallow checkout for validation while preserving full history for upstream synchronization
  • keep package builds mandatory without depending on the currently unreachable artifact storage endpoint

Verification

Gitea Actions run #5 completed successfully: all compilation, PO validation, package build/install, unit, i18n and localization-module tests passed in 4m11s.

## Summary - use the runner-accessible public Gitea URL during checkout - use a shallow checkout for validation while preserving full history for upstream synchronization - keep package builds mandatory without depending on the currently unreachable artifact storage endpoint ## Verification Gitea Actions run #5 completed successfully: all compilation, PO validation, package build/install, unit, i18n and localization-module tests passed in 4m11s.
unpaismejor added 3 commits 2026-10-13 19:38:18 -04:00
ci: clone from the runner-accessible Gitea URL
Validate Tryton customizations / validate (push) Canceled after 3m29s
75d36f6a09
ci: use a shallow checkout for validation
Validate Tryton customizations / validate (push) Failing after 4m28s
beeabd721a
ci: keep package builds independent of artifact storage
Validate Tryton customizations / validate (push) Successful in 4m6s
Validate Tryton customizations / validate (pull_request) Successful in 4m5s
5cca20373e
unpaismejor added 1 commit 2026-10-13 19:55:33 -04:00
refactor(i18n): move Dominican Spanish into Tryton core
Validate Tryton customizations / validate (pull_request) Successful in 3m32s
Validate Tryton customizations / validate (push) Successful in 3m37s
4ca0d58fe4
unpaismejor changed title from CI: adapt workflows to the private Gitea runner to Localization: embed es_DO in Tryton core and harden CI 2026-10-13 19:55:42 -04:00
Author
Owner

Localization redesign

  • remove the standalone translation_do package
  • define es_DO directly in the Tryton server with es_419 as its parent
  • store Dominican catalogs as locale/es_DO.po inside the server and each translated module
  • update CI to validate, build and test the integrated server package
  • document the protected Weblate branch and deployment workflow

Local verification

  • 5,234 PO catalogs validated
  • Tryton server sdist and wheel built successfully
  • 9 i18n tests passed
  • Dominican language/fallback regression test passed
  • built wheel contains trytond/ir/lang.xml and trytond/ir/locale/es_DO.po
## Localization redesign - remove the standalone `translation_do` package - define `es_DO` directly in the Tryton server with `es_419` as its parent - store Dominican catalogs as `locale/es_DO.po` inside the server and each translated module - update CI to validate, build and test the integrated server package - document the protected Weblate branch and deployment workflow ## Local verification - 5,234 PO catalogs validated - Tryton server sdist and wheel built successfully - 9 i18n tests passed - Dominican language/fallback regression test passed - built wheel contains `trytond/ir/lang.xml` and `trytond/ir/locale/es_DO.po`
unpaismejor added 1 commit 2026-10-13 20:02:30 -04:00
feat(i18n): bootstrap Dominican catalogs for Weblate
Validate Tryton customizations / validate (pull_request) Successful in 3m50s
Validate Tryton customizations / validate (push) Successful in 3m48s
4038053504
Initialize es_DO catalogs from the Latin American Spanish catalogs so every server module is directly editable in Weblate while retaining es_419 as the configured fallback.
Author
Owner

Weblate integration is now active at https://translate.tryton.org.do/projects/tryton-8-0-es-do/. Commit 4038053504 bootstraps es_DO.po for 214 server modules plus trytond.res, while trytond.ir remains the core language definition. Gitea push webhooks update Weblate automatically; Weblate writes only to translation/weblate-8.0, and changes must return through a reviewed PR to integration/8.0. All 216 es_DO catalogs passed gettext validation locally.

Weblate integration is now active at https://translate.tryton.org.do/projects/tryton-8-0-es-do/. Commit `4038053504` bootstraps `es_DO.po` for 214 server modules plus `trytond.res`, while `trytond.ir` remains the core language definition. Gitea push webhooks update Weblate automatically; Weblate writes only to `translation/weblate-8.0`, and changes must return through a reviewed PR to `integration/8.0`. All 216 `es_DO` catalogs passed gettext validation locally.
unpaismejor added 1 commit 2026-10-13 20:09:31 -04:00
refactor(i18n): make Dominican Spanish standalone
Validate Tryton customizations / validate (pull_request) Successful in 3m33s
Validate Tryton customizations / validate (push) Successful in 3m39s
e22c0497bd
Remove the es_419 parent from the es_DO language record and provide the complete core ir catalog so the Dominican locale is independently maintained in core and every module.
Author
Owner

Updated per localization decision in commit e22c0497bd: es_DO is now a standalone core language with no ir.lang.parent; the full trytond.ir Dominican catalog is included instead of a one-entry override. Complete locale/es_DO.po catalogs remain in every server module. Local verification passed: all 216 catalogs compile, 9 i18n tests pass, the standalone-language regression test passes, and the wheel contains the complete ir and res catalogs. Weblate received the commit through the Gitea webhook and now exposes the full core catalog.

Updated per localization decision in commit `e22c0497bd`: `es_DO` is now a standalone core language with no `ir.lang.parent`; the full `trytond.ir` Dominican catalog is included instead of a one-entry override. Complete `locale/es_DO.po` catalogs remain in every server module. Local verification passed: all 216 catalogs compile, 9 i18n tests pass, the standalone-language regression test passes, and the wheel contains the complete `ir` and `res` catalogs. Weblate received the commit through the Gitea webhook and now exposes the full core catalog.
unpaismejor added 1 commit 2026-10-13 20:15:05 -04:00
feat(i18n): complete Dominican Spanish catalog coverage
Validate Tryton customizations / validate (pull_request) Successful in 3m30s
Validate Tryton customizations / validate (push) Successful in 3m48s
eeac63be0d
joseagrc approved these changes 2026-10-13 20:17:46 -04:00
joseagrc left a comment
Member

Reviewed the standalone es_DO integration, complete module coverage, SAO support and validation evidence.

Reviewed the standalone es_DO integration, complete module coverage, SAO support and validation evidence.
joseagrc merged commit 38c069425a into integration/8.0 2026-10-13 20:41:07 -04:00
Sign in to join this conversation.
No Reviewers
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: tryton-do/tryton#1