WordPress.org

Making WordPress.org

Opened 2 years ago

Last modified 6 months ago

#3155 new enhancement

Add total number of waiting strings within a locale from /locale/slug/default

Reported by: tobifjellner Owned by:
Milestone: Priority: normal
Component: Translate Site & Plugins Keywords:
Cc:

Description (last modified by tobifjellner)

[5955] froze the number of waiting strings for each locale, since the query for count of waiting strings in each language used to time out.
At the same time, partial results seems to cached, so if I reloaded Earlier https://translate.wordpress.org/stats was showing (or trying to show, the query timed out all the time) the total number of waiting strings per locale.

However, this piece of information is important. First of all for the GTE's of each locale.
I suggest that the total number of waiting strings for a specific locale is added to https://translate.wordpress.org/locale/slug/default (where slug is replaced by the locale slug)

Since I hope the count of waiting strings for only ONE locale is a much smaller effort than gathering the same for ALL locales, this should be doable. After all: in order to show correct pagination for the page with waiting projects, a query is already run on that page, to gather all projects with waiting strings and even sort them in descending order by number waiting strings.)

(Updated description on Jan 16 2019 - and reverted prio to Normal)

Change History (17)

#1 @ocean90
2 years ago

  • Priority changed from normal to low

We can’t add caching to something if the query itself times out. This also only affects waiting strings for all plugins and themes. The waiting strings for the main projects are still displayed.

#2 @tobifjellner
2 years ago

In that case we should delete the current columnn with "total waiting strings". As it stands now, it presents stale data that to some extent was incorrect from the start.

And adding this information per locale on the page for each locale shouldn't really time out, since you'll be traversing the data only for one locale.
After all, part of that information is anyway gathered in order to build https://translate.wordpress.org/locale/slug/default
Number of projects is used for pagination. Number of waiting strings is presented per project and is used for sorting. We'd just need to present this piece of information. It could, for example, be added next to the breadcrumb, as "Locales / Swedish / Waiting (3168 strings in 92 projects)"

This ticket was mentioned in Slack in #polyglots by tobifjellner. View the logs.


2 years ago

#4 @xavivars
2 years ago

In the case of Catalan, data is not only stale, but incorrect. Last time I checked (July/August), there were +10k waiting strings (I moved it down from 15k to 10k during the summer). So clearly 12 strings is incorrect :)

#5 @jyourstone
2 years ago

Seconding this, having the amount of waiting strings displayed is very useful for GTE's to see progress.

Last edited 2 years ago by jyourstone (previous) (diff)

This ticket was mentioned in Slack in #polyglots-events by tobifjellner. View the logs.


2 years ago

This ticket was mentioned in Slack in #polyglots by sergey. View the logs.


2 years ago

#8 @Mte90
2 years ago

This page for the GWTD will be very helpful we need to track what will happen on that day...

This ticket was mentioned in Slack in #meta-i18n by mte90. View the logs.


2 years ago

This ticket was mentioned in Slack in #polyglots by nao. View the logs.


2 years ago

This ticket was mentioned in Slack in #polyglots by coachbirgit. View the logs.


2 years ago

This ticket was mentioned in Slack in #polyglots by tobifjellner. View the logs.


22 months ago

This ticket was mentioned in Slack in #polyglots by tobifjellner. View the logs.


19 months ago

This ticket was mentioned in Slack in #meta-i18n by xavivars. View the logs.


8 months ago

#15 @tobifjellner
8 months ago

Since this ticket was created, the number of waiting strings in /stats refers only to the projects that are included in the /stats page, i.e. mainly /meta projects.

But this ticket is still very valid: It would be very good to be able to see the total number of waiting strings for your own locale. That can help the team to keep track during an effort to work through a huge backlog, for instance. (I know it inspired us in the Swedish team when we slashed more that 30k strings in less than 2 months.)

#16 @tobifjellner
8 months ago

  • Description modified (diff)
  • Priority changed from low to normal
  • Summary changed from Move number of waiting strings from /stats to /locale/slug/default to Add total number of waiting strings within a locale from /locale/slug/default

This ticket was mentioned in Slack in #meta by tobifjellner. View the logs.


6 months ago

Note: See TracTickets for help on using tickets.