Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translation inheritance #1275

Open
bartfeenstra opened this issue Feb 14, 2024 · 0 comments
Open

Translation inheritance #1275

bartfeenstra opened this issue Feb 14, 2024 · 0 comments
Labels
enhancement New feature or request python Pull requests that update Python code translations Translations
Milestone

Comments

@bartfeenstra
Copy link
Owner

bartfeenstra commented Feb 14, 2024

Allow locales to inherit from others. That way, en-GB can inherit from en-US, override the few translations from en-US it needs to, and translations are still reported as 100%.

Proposals

  • Allow a metadata file to be place in each locale's directory
  • a list of zero or more fallback locales can be provided, possibly as a regex pattern

NOTE: we cannot put a manifest file in an assets directory because those can be overridden? Or would we merge them? Should we do this in project config instead?

@bartfeenstra bartfeenstra added enhancement New feature or request python Pull requests that update Python code translations Translations labels Feb 14, 2024
@bartfeenstra bartfeenstra added this to the 0.3.x milestone May 3, 2024
@bartfeenstra bartfeenstra modified the milestones: 0.3.x, 0.4.x Jun 24, 2024
@bartfeenstra bartfeenstra changed the title Locale inheritance Translation inheritance Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request python Pull requests that update Python code translations Translations
Projects
None yet
Development

No branches or pull requests

1 participant