Opened 5 years ago

Closed 5 years ago

#4057 closed enhancement (fixed)

i18n: make messages from language pack generation less verbose

Reported by: tobifjellner's profile tobifjellner Owned by: ocean90's profile ocean90
Milestone: Priority: normal
Component: Translate Site & Plugins Keywords:

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
5 years ago

  • Description modified (diff)

#2 @peexy
5 years ago

Thanks for opening this ticket,

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

#3 @tobifjellner
5 years ago

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

#4 @peexy
5 years 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
5 years ago

In 8146:

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

See #4057.

#6 @ocean90
5 years 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.