WordPress.org

Making WordPress.org

#4057 closed enhancement (fixed)

i18n: make messages from language pack generation less verbose

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

Description (last modified by tobifjellner)

We use the Slack channel meta-language-packs to follow up on details when language packs are generated.

However, these reports seem to be longer than the maximum length of the generated message in Slack.

Here's an example of such a status message:

_Time: Tue, 15 Jan 2019 22:40:13 +0000_
Language packs for query-monitor in process...
    Skip af, translations below threshold (1%).
(Appr. 150 lines deleted here)
    Skip tuk, translations below threshold (0%).
    Skip twd, translations below threshold (0%).
    Skip ug_CN, transl…

In order to not throw away information, we could either have the integration roll over to a second message after n characters.
But perhaps it would be sufficient to simply make each row less verbose?

Instead of "translations below threshold", we could say "below limit", for instance. (edit add: or just "<95%" )

Change History (6)

#1 @tobifjellner
11 months ago

  • Description modified (diff)

#2 @peexy
11 months ago

Thanks for opening this ticket,

I agree with that.
Do we really need to display all the skipped language?

#3 @tobifjellner
11 months ago

Good point, @peexy
We could just summarize it: "Skipped xx locales below threshold"...

#4 @peexy
11 months ago

Yes, something like that would be great.
I guess if a locale is not on the list one can understand that it has been skipped.

#5 @ocean90
11 months ago

In 8146:

Translate: Don't check for threshold if no current translations exist.

See #4057.

#6 @ocean90
11 months ago

  • Owner set to ocean90
  • Resolution set to fixed
  • Status changed from new to closed

In 8156:

Translate: Use the ts field for timestamps in Slack notifications.

Fixes #4057.

Note: See TracTickets for help on using tickets.