WeblateOrg / weblate

Web based localization tool with tight version control integration.

Home Page:https://weblate.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Show string/word numbers on search results

nijel opened this issue · comments

Discussed in #11770

Originally posted by emmapeel2 June 3, 2024
I am still looking for numbers, and generating some stats with the api and gitlabci.

I think it would be great to provide the number of strings and words on the results of the search interface, for example here:

https://hosted.weblate.org/search/tor/community-portal/?q=+added%3A2024-03-06+AND+language%3Aen

In the top we could show '37 strings / 300 words'

This will help evaluate changes in a quicker and more organic way than elaborating reports, and will be available for translators without admin rights.

This issue seems to be a good fit for newbie contributors. You are welcome to contribute to Weblate! Don't hesitate to ask any questions you would have while implementing this.

You can learn about how to get started in our contributors documentation.

Hello, I am quite new to Open source and I do want to contribute to this issue. Can you please give some basic ideas to what does a string and word mean in the context of this issue. I get the gist that we need to quantize the results , but what would be the results and inputs still remain a bit confusing.
Thanks!

String is the number of results, the number of words is available for each string in the database:

num_words = models.IntegerField(default=0)

Hi @nijel ,

Can you please assign it to me if no one is assigned yet. I would like to work on this.

You're welcome to work on this, no need to assign.