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

Detect moved translation values in the base file and re-add them #8558

Open
rolznz opened this issue Jan 4, 2023 · 2 comments
Open

Detect moved translation values in the base file and re-add them #8558

rolznz opened this issue Jan 4, 2023 · 2 comments
Labels
backlog This is not on the Weblate roadmap for now. Can be prioritized by sponsorship. enhancement Adding or requesting a new feature.

Comments

@rolznz
Copy link

rolznz commented Jan 4, 2023

Describe the problem

If translations are moved to a different place in the base language JSON file due to refactoring, e.g.

{
  "key1": "test"
}

to

{
  "key1": {
    "key2": "test"
  }
}

Is it possible for all the other languages to detect that "test" was moved somewhere else and move the existing translation value, since the value is the same? currently that value is deleted from other languages if the addon to delete unused keys is enabled.

It is not sustainable for a developer to manually fix all the language files when making changes to the base translations.

Describe the solution you'd like

Weblate should detected moved values in the base language and automatically move them in the other languages

Describe alternatives you've considered

No response

Screenshots

No response

Additional context

No response

@bitcoinuser
Copy link

I agree, this is important.

@nijel nijel added enhancement Adding or requesting a new feature. backlog This is not on the Weblate roadmap for now. Can be prioritized by sponsorship. labels Jan 5, 2023
@github-actions
Copy link

github-actions bot commented Jan 5, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog This is not on the Weblate roadmap for now. Can be prioritized by sponsorship. enhancement Adding or requesting a new feature.
Projects
None yet
Development

No branches or pull requests

3 participants