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

Language filtering not applied on ghost translations #9714

Closed
nijel opened this issue Aug 10, 2023 · 1 comment
Closed

Language filtering not applied on ghost translations #9714

nijel opened this issue Aug 10, 2023 · 1 comment
Assignees
Labels
bug Something is broken.
Milestone

Comments

@nijel
Copy link
Member

nijel commented Aug 10, 2023

Hi,

I’m a maintainer of an Android app (using Hosted Weblate for FOSS projects), which has English as its base language, and also has a French translation, that is my native language. So I know the context of any string better than anyone else and I also have years of experience in translation as a hobby, so I know how to do correct wording in French. For these reasons, I don’t want to open French language to Weblate and I’m not open to suggestions (if someone really thinks something need to be changed, they can still reach me on the project issues page).

So to do that I used the "Language regex":
https://docs.weblate.org/en/latest/admin/projects.html#component-language-regex

As suggested in the doc, it can be used "to limit the list of languages managed by Weblate" and I found no other alternative (but as there are a lot of options, I may have missed it).

However, this approach makes the French language appear as missing (0 % completed), and Weblate even suggests me to add French in the project when I log in (“This translation does not exist yet”).

This issue doesn’t appear with the base language (English). I’m able to check “Edit base file” option to open English to suggestions (as a non-native English speaker, I’m open to it), but if I don’t open it, English language still appears as completed even though it’s not open to translators.

Is there any way to do something similar to what you can do with base language? (that would be the easiest and cleanest for me) Or else, what would you suggest? I’m looking for a “set up once and forget” solution.

Thank you for this wonderful product, it helped our project a lot getting more translations included and updated!

Originally posted by @papjul in #9703

@nijel nijel self-assigned this Aug 10, 2023
@nijel nijel added the bug Something is broken. label Aug 10, 2023
@nijel nijel added this to the 5.0 milestone Aug 10, 2023
@nijel nijel closed this as completed in 84b203e Aug 10, 2023
@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.

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

1 participant