Skip to content

Support fallback to the "generic" language variant #3412

Description

@jlsjonas

Is your feature request related to a problem? Please describe.
We decided to use a fallback strategy to limit the amount of duplicate translations for similar languages in our application, this means that several country-specific language files are now almost empty (e.g. nl-BE contains only specific overrides on nl).
Weblate is showing a lot of untranslated strings as part of this (and also doesn't seem to have an easy method to remove a duplicate)

Describe the solution you'd like
Allow an option/flag to take into account the base language (i.e. nl) when providing insights for a country-specific variant (like nl-BE).
I believe that this should ideally mark translations as needing verification, and then marking it as translated internally (without adding the key to the country-specific file)

Describe alternatives you've considered
Using secondary language to at least see them, however the secondary language will depend on which language is being translated, additionally this shows a lot of keys as not translated, which can be confusing.

Additional context

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Waiting for: DemandLow priority for development. Pull requests welcome. Can be prioritized by sponsorship.enhancementAdding or requesting a new feature.

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions