How beyond-all-reason/transifex-testing works
Purpose and Entry Points
This repository is a minimal localization fixture for developing and validating Transifex integration against the BAR internal testing project. Its primary artifacts are source and translated JSON catalogs under language/; there is no application runtime or service code.
Translation Catalog Boundary
English appears to be the source-language catalog, split by domain:
• language/en/animals.json
• language/en/ui.json
German and French mirror those domain files as translation targets:
• language/de/animals.json
• language/de/ui.json
• language/fr/animals.json
• language/fr/ui.json
The stable per-locale/per-domain file layout is the core contract between the repository and Transifex.
Transifex Integration
transifex.yml defines the repository-to-Transifex resource mapping and governs upload/download behavior. The external translation-management boundary is the BAR Transifex project identified in README.md; repository changes are synchronized with that hosted service rather than processed by local application code.
CI Synchronization Workflows
GitHub Actions automate two distinct translation lifecycle stages:
• Merge translated content into the repository: .github/workflows/transifex_merge.yml
• Rebase or refresh translation work against current source content: .github/workflows/transifex_rebase.yml
These workflows are the operational entry points for integration testing and likely invoke Transifex automation using repository or organization secrets.
Resource Selection and Test Scope
Two control files constrain which resources participate in specific integration scenarios:
• language/master_only.txt
• language/test.txt
They are architecturally relevant as fixture selectors: they allow workflows or Transifex configuration to exercise subset behavior separately from the complete catalog set.
Primary Flow
1. Source strings are edited in language/en/.
2. transifex.yml maps those catalogs to hosted Transifex resources.
3. Translators or automation update target locales in Transifex.
4. GitHub workflows synchronize returned translations into language/de/ and language/fr/.
5. Fixture selector files support focused merge/rebase and integration test cases.
Main entry points: README.md BAR Transifex project · transifex_merge.yml Translation merge · transifex.yml Transifex mapping · test.txt Test selector
Components 15
Translation catalogs
Stable locale/domain layout used as the Transifex contract.
- English source catalogs · Source strings split into animals and UI domains.
- animals source
language/en/animals.json - UI source
language/en/ui.json - German catalogs
- German animals
language/de/animals.json - German UI
language/de/ui.json - French catalogs
- French animals
language/fr/animals.json - French UI
language/fr/ui.json
CI synchronization
GitHub Actions translation lifecycle workflows.
- Translation merge · Synchronizes returned translations into the repository.
.github/workflows/transifex_merge.yml - Translation rebase · Refreshes translation work against current sources.
.github/workflows/transifex_rebase.yml
Other components
- Transifex mapping · Maps repository catalogs to hosted resources and controls synchronization.
transifex.yml - BAR Transifex project · External translation-management boundary.
README.md - Master-only selector · Constrains resources for master-only scenarios.
language/master_only.txt - Test selector · Constrains resources for focused integration scenarios.
language/test.txt
Connections 18
- English source catalogs → animals source: contains
- English source catalogs → UI source: contains
- animals source → Transifex mapping: mapped by
- UI source → Transifex mapping: mapped by
- Transifex mapping → BAR Transifex project: syncs resources
- BAR Transifex project → German catalogs: provides translations
- BAR Transifex project → French catalogs: provides translations
- German catalogs → German animals: contains
- German catalogs → German UI: contains
- French catalogs → French animals: contains
- French catalogs → French UI: contains
- Translation merge → BAR Transifex project: downloads translations
- Translation merge → German catalogs: updates
- Translation merge → French catalogs: updates
- Translation rebase → BAR Transifex project: refreshes work
- Master-only selector → Transifex mapping: selects resources
- Test selector → Translation merge: scopes scenarios
- Test selector → Translation rebase: scopes scenarios