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

Automatically add word/translation to other components with same languages #7158

Closed
2 tasks done
GabriFila opened this issue Jan 26, 2022 · 11 comments
Closed
2 tasks done
Assignees
Labels
bug Something is broken.
Milestone

Comments

@GabriFila
Copy link

Describe the issue

Hello, I have a question regarding managing of multiple translation targets

I need to provide translations for 3 frontends:

  • iOS
  • Android
  • web

For each of them I need 3 languages (it,fr,en) the base one is English

Looking around the documentation and GH issues, I found the translation propagation feature.

I already tried

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

Steps to reproduce the behavior

No response

Expected behavior

I noticed that translations get only propagated across components when a key already exists in the same language of another component. I would like that when I add a new key to a language in a component, the key would automatically transfers to other components.

Is it possible? How?

Thank you very much

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

@GabriFila GabriFila added the question This is more a question for the support than an issue. label Jan 26, 2022
@github-actions
Copy link

This issue looks more like a support question than an issue. We strive to answer these reasonably fast, but purchasing the support subscription is not only more responsible and faster for your business but also makes Weblate stronger.

In case your question is already answered, making a donation is the right way to say thank you!

@nijel
Copy link
Member

nijel commented Jan 26, 2022

The propagation works only while translating. For other cases you can use automatic translation. Either manually or via add-on.

@GabriFila
Copy link
Author

GabriFila commented Jan 26, 2022

Thank you for the fast response, can you please tell me how to implement the behaviour I described above using automatic translation add-on or point somewhere to find out how?

Thank you again

@nijel
Copy link
Member

nijel commented Jan 26, 2022

Enable the add-on to translate untranslated strings and taking strings from other components.

@GabriFila
Copy link
Author

I have the following configuration (image) set in each component, but when I add a translastion from the UI on english language on one component I do not see the updated data on english languages of other components.
Am i missing something?

Thank you

weblateAddonCOnfig

@nijel
Copy link
Member

nijel commented Jan 26, 2022

I think it does not happen immediately, it runs nightly

@GabriFila
Copy link
Author

GabriFila commented Jan 27, 2022

Hello, I waited the night but nothing has happened, I will check maybe later (24 hours from the update).

But also the docs say the add-on is triggered:

  • When new strings appear in a component.
  • Once in a month for every component, this can be configured using BACKGROUND_TASKS.

So I guess it should be triggered right after a new string is added. is this a bug? How can I solve it?

Thank you

@nijel nijel self-assigned this Jan 27, 2022
@nijel nijel added bug Something is broken. and removed question This is more a question for the support than an issue. labels Jan 27, 2022
@nijel nijel added this to the 4.11 milestone Jan 27, 2022
@nijel nijel closed this as completed in 30e2477 Jan 27, 2022
@nijel
Copy link
Member

nijel commented Jan 27, 2022

Yes, it's a bug, I've just fixed it in 30e2477.

@github-actions
Copy link

Thank you for your report; the issue you have reported has just been fixed.

  • In case you see a problem with the fix, please comment on this issue.
  • In case you see a similar problem, please open a separate issue.
  • If you are happy with the outcome, don’t hesitate to support Weblate by making a donation.

@GabriFila
Copy link
Author

Thank you!
How can I get the new version? Do I need to wait for the official release or I can specify to get a commit-specific image? In the case of the former, when will it be released?

@nijel
Copy link
Member

nijel commented Jan 27, 2022

If you installed using pip, you can install from Git right now. The Docker images are built nightly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken.
Projects
None yet
Development

No branches or pull requests

2 participants