However, if pages include wiki-markup within their translations, they are missing the hasTranslation flag, as in:
"pageStatus": [
"hasTranscript"
]
This is caused by the mark-up adding subject tags (even if subjects are disabled and hidden in the UI), which updates the page.translation_status to Status::INDEXED. The conditional for rendering the hasTranslation flag only looks for Status::TRANSLATED and Status::NEEDS_REVIEW, so it misses these pages.
Pages that have been translated are supposed to have a
pageStatus
that includeshasTranslation
, as in this:However, if pages include wiki-markup within their translations, they are missing the
hasTranslation
flag, as in:This is caused by the mark-up adding subject tags (even if subjects are disabled and hidden in the UI), which updates the
page.translation_status
toStatus::INDEXED
. The conditional for rendering thehasTranslation
flag only looks forStatus::TRANSLATED
andStatus::NEEDS_REVIEW
, so it misses these pages.