-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Reusing a file between components #13259
Comments
Likely a bug because using the same file in multiple components was not really expected. You might want to use intermediate language instead and have only one component, see https://docs.weblate.org/en/latest/workflows.html#quality-gateway-for-the-source-strings. |
If I use an intermediate language, do I still need to create two components? |
No |
May I ask, if it is one component, is it recommended to set the intermediate language file to the corresponding en.xliff for masking, or should a separate intermediate language file be specified? |
Reusing filemask does not have to be the only issue, the very same issue can happen when a signle file from one component is reused as source for other component. This also avoids special-casing this single alert and it now uses generic alerts interface. Fixes WeblateOrg#13259
It really depends on you whether you want to use English as an intermediate language directly. #13302 will make Weblate alert on such setup so that it will be clear that something is configured wrongly. |
Thank you for your report; the issue you have reported has just been fixed.
|
1 similar comment
Thank you for your report; the issue you have reported has just been fixed.
|
Describe the issue
There are two components.
Component 1: game_text_cn, source language: Chinese, translating Chinese to English.
Component 2: game_text_en, source language: English (en.xliff from Component 1), translating English to other languages.
The source code repository of Component 2 uses the shared repository weblate://dev/game_text_cn.
I already tried
Steps to reproduce the behavior
Reproduction Steps:
Suppose there are 10 source texts in Component 1. When adding and saving a new translation entry (translated to English) in Component 1, Component 2 continues to show only 10 source texts. This issue persists unless the repository is reset in the management interface.
Expected behavior
Screenshots
No response
Exception traceback
No response
How do you run Weblate?
Docker container
Weblate versions
weblate 5.5.5 in docker
Weblate deploy checks
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: