WeblateOrg / weblate

Web based localization tool with tight version control integration.
https://weblate.org/
GNU General Public License v3.0
4.49k stars 993 forks source link

LINGUAS equivalent plugin to update locales lists #12295

Open Jibec opened 3 weeks ago

Jibec commented 3 weeks ago

Describe the problem

depending on the project, a list of languages may be required to allow publication

Here is an example for Fedora website: https://gitlab.com/fedora/websites-apps/fedora-websites/fedora-websites-3.0/-/blob/develop/config/locales.json

[
  { "code": "ar", "iso": "ar", "file": "ar.json", "name": "عربى", "dir": "rtl" },
  { "code": "be", "iso": "be", "file": "be.json", "name": "Беларуская" },
}

I would love to have Weblate automatically updating this kind of files

Describe the solution you would like

I think like a mix between LINGUAS update and Statistics-generator would do the job.

Also, it looks like all required variables are part of https://docs.weblate.org/en/latest/admin/projects.html#template-markup

Describe alternatives you have considered

No response

Screenshots

No response

Additional context

No response

github-actions[bot] commented 3 weeks ago

This issue has been added to the backlog. It is not scheduled on the Weblate roadmap, but it eventually might be implemented.

In case you need this feature soon, please consider helping or push it by funding the development.