Skip to content

feat: Implement translation synchronization for seeded entities.#70

Closed
AntonioNav wants to merge 2 commits intonaiba:mainfrom
AntonioNav:feature/translation-sync
Closed

feat: Implement translation synchronization for seeded entities.#70
AntonioNav wants to merge 2 commits intonaiba:mainfrom
AntonioNav:feature/translation-sync

Conversation

@AntonioNav
Copy link
Copy Markdown
Contributor

If you change the language settings to a language other than the one used during registration, the labels that are initially loaded will remain in the original language. This change is intended to update the preloaded labels. Obviously, custom labels are not changed and remain as they are.

@naiba
Copy link
Copy Markdown
Owner

naiba commented Mar 19, 2026

Thanks for the PR. Could you fix https://github.com/naiba/bonds/actions/runs/23302517009/job/67767321276 ?

naiba added a commit that referenced this pull request Mar 20, 2026
Re-translate all default seeded labels (genders, pronouns, religions, etc.)
to match the current locale via POST /settings/personalize/sync. Covers both
account-level and vault-level entities. Custom labels are unaffected (only rows
with a non-null translation key are updated). Also adds es locale support to
the Accept-Language middleware.

Closes #70

Co-authored-by: naiba/CloudCode <hi+cloudcode@nai.ba>
@naiba naiba closed this in #71 Mar 20, 2026
@naiba
Copy link
Copy Markdown
Owner

naiba commented Mar 20, 2026

Thanks for identifying this issue and submitting a PR! I've implemented this feature in #71 (merged and released as v0.7.5), covering both account-level and vault-level seeded entities with full test coverage.

If you're interested in continuing to contribute, it would be great to have a standalone PR that adds Spanish (es) locale support — the translation files (server/internal/i18n/es.json, web/src/locales/es.json) you started would be a valuable addition on their own.

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.

2 participants