19 $title = $this->handle->getTitle();
20 $translation = TranslateUtils::getMessageContent(
21 $this->handle->getKey(),
22 $this->handle->getCode(),
23 $title->getNamespace()
26 Hooks::run(
'TranslatePrefillTranslation', [ &$translation, $this->handle ] );
29 $translation = $translation ??
'';
30 $fuzzy = MessageHandle::hasFuzzyString( $translation ) || $this->handle->isFuzzy();
31 $translation = str_replace( TRANSLATE_FUZZY,
'', $translation );
34 'language' => $this->handle->getCode(),
36 'value' => $translation,