WeblateOrg / WeblateOrg/weblate

Support fallback to the "generic" language variant

Open
#3,412 14 comments 6 reactions 0 assignees View on GitHub
enhancement Waiting for: Demand
Dominant language
Python
Stars
6.1k
Forks
1.4k
Avg merge
9h 53m
Merged PRs (30d)
395

Description

**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](https://user-images.githubusercontent.com/932193/72909876-fddf8000-3d37-11ea-8369-b6cd497ecb71.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.