Page MenuHomePhabricator

Translation memory is slow to load
Open, Needs TriagePublic

Description

Forwarded by @Johan, reported by translator Vira. Below is a video reproducing the issue,

Video: https://drive.google.com/file/d/1WDTElLmDoMGjIreTJihQsFthemAbymPy/view
Page: https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Tech%2FNews%2F2019%2F30&language=uk&action=page&filter=
Website: Wikimedia MetaWiki

We will need to see the server configuration for TTM.

Event Timeline

abi_ created this task.Jul 24 2019, 8:05 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 24 2019, 8:05 AM
abi_ updated the task description. (Show Details)Jul 24 2019, 8:10 AM
Nikerabbit renamed this task from Translation aids are slow to load to Translation memory is slow to load .Jul 24 2019, 8:15 AM

The API result includes time taken by each aid:

definition: 0
definitiondiff: 0.006
documentation: 0.005
gettext: 0
inotherlanguages: 0
insertables: 0
mt: 0
query_aggregator: 0.06
support: 0
translation: 0.003
ttmserver: 13.348

So it's clearly the translation memory. For tech news this is a known issue. See T101236#4514784 for example.

This bug does not only affect the translation suggestions. As you can see on the video, it also affects the buttons ‘$var’ that helps you to insert variables and HTML blocks by clicking or using Alt+figure. It also affects the message documentation. (And maybe the diffs for obsolete translations, I don’t remember.) All those things appear together.

So the original title ‘Translations aids are slow to load’ was right.

If translation memory is the only element which is slow, then it would technically be good to make the others things appear directly, and the translation memory would be the only long thing to load.