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 check inheritance #12779

Open
2 tasks done
jaigudess opened this issue Oct 15, 2024 · 3 comments
Open
2 tasks done

Translation check inheritance #12779

jaigudess opened this issue Oct 15, 2024 · 3 comments
Labels
enhancement Adding or requesting a new feature. undecided These features might not be implemented. Can be prioritized by sponsorship.

Comments

@jaigudess
Copy link

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

  • I've read and searched the documentation.
  • I've searched for similar filed issues in this repository.

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
Copy link
Member

nijel commented Oct 15, 2024

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 nijel added enhancement Adding or requesting a new feature. undecided These features might not be implemented. Can be prioritized by sponsorship. labels Oct 25, 2024
@nijel
Copy link
Member

nijel commented Oct 25, 2024

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

Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Adding or requesting a new feature. undecided These features might not be implemented. Can be prioritized by sponsorship.
Projects
None yet
Development

No branches or pull requests

2 participants