WeblateOrg / weblate

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

Translation check inheritance #12779

Open jaigudess opened 1 month ago

jaigudess commented 1 month ago

Describe the issue

I have requirement, where once the translation is approved user can change the translation but its max-length or max-size should not be greater than then previously approved translation length. So i manually set the mx-size and max-length, but it is getting inherited to other languages with same keys.

How to fix this

I already tried

Steps to reproduce the behavior

  1. Add more than one language to translate, say German and Spanish
  2. Add one key in parent language (English)
  3. When you do the translation in German set the max length
  4. Same will be shown on Spanish key
  5. I want to set this as different values for example German Max-length : 10 and for Spanish Max-length : 12

Expected behavior

flags values getting inherited, which i guess is default but I want to set it manually for each translation

Screenshots

No response

Exception traceback

No response

How do you run Weblate?

Docker container

Weblate versions

No response

Weblate deploy checks

No response

Additional context

No response

nijel commented 1 month ago

The flags are currently set per source string in Weblate. They could be set for individual translations when parsed from the translation files, see https://docs.weblate.org/en/latest/formats.html#translation-flags

nijel commented 1 month ago

12815 is related to this (also wants per-translation flags).

github-actions[bot] commented 1 month ago

This issue has been put aside. It is currently unclear if it will ever be implemented as it seems to cover too narrow of a use case or doesn't seem to fit into Weblate.

Please try to clarify the use case or consider proposing something more generic to make it useful to more users.