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

Per-language statistics miscalculated on nested categories #11240

Closed
nijel opened this issue Mar 20, 2024 Discussed in #11153 · 3 comments · Fixed by #11241
Closed

Per-language statistics miscalculated on nested categories #11240

nijel opened this issue Mar 20, 2024 Discussed in #11153 · 3 comments · Fixed by #11241
Assignees
Labels
bug Something is broken.
Milestone

Comments

@nijel
Copy link
Member

nijel commented Mar 20, 2024

Discussed in #11153

Originally posted by vanlinh2204 March 8, 2024
The problem arises when observing the statistics in the category ipension-front-office. Here's a breakdown of the issue:

image

Uniform Unfinished String Count: Within the ipension-front-office category, I've noticed that the unfinished string count remains consistent across 4 languages: fr, de, it, en. However, upon closer inspection, this count does not accurately reflect the number of strings requiring translation in each language. For instance, no strings appear for translation when selecting the French (fr) language, despite the reported count.

image

Correct Display in Sub-categories: Conversely, when navigating to the sub-category ipension-front-office/portal-service, the language tab correctly displays the number of unfinished strings, such as 40 in English (en). Further exploration into the components within ipension-front-office/portal-service, such as core-portal-service (10 unfinished in English) and first-portal-services (30 unfinished in English), indicates the accurate count of unfinished strings.

image
image
image

This inconsistency in statistic calculation poses challenges for translators and project managers relying on Weblate's data accuracy for localization efforts.

I kindly request your assistance in addressing this matter and welcome any suggestions or insights you may have regarding this issue. Additionally, if anyone has encountered similar challenges or has insights into potential solutions, please share them here.

Thank you for your attention to this matter, and I look forward to your responses.

@nijel nijel added the bug Something is broken. label Mar 20, 2024
@nijel nijel added this to the 5.5 milestone Mar 20, 2024
@nijel nijel self-assigned this Mar 20, 2024
nijel added a commit to nijel/weblate that referenced this issue Mar 20, 2024
We need to count these based on the language, not only on the category.

Fixes WeblateOrg#11240
@nijel
Copy link
Member Author

nijel commented Mar 20, 2024

#11241 should address this.

@nijel nijel changed the title Concerns with Weblate's Statistic Calculation on Languages Per-language statistics miscalculated on nested categries Mar 20, 2024
@nijel nijel changed the title Per-language statistics miscalculated on nested categries Per-language statistics miscalculated on nested categories Mar 20, 2024
@nijel nijel closed this as completed in 569580a Mar 21, 2024
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.

1 similar comment
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

Successfully merging a pull request may close this issue.

1 participant