• Resolved tsourounis

    (@tsourounis)


    Hello,

    I am using TranslatePress on my site with Greek as the default language and English as a secondary language.

    When browsing archive pages in English, I want to display only the posts that have been translated into English. Posts that are only in the default language (Greek) but not translated should not appear in the English archive.

    How can I configure or filter the archive queries to show only translated posts for the current language?

    Thank you for your help.

    Best regards,

    Anastasios

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Alex

    (@alexcozmoslabs)

    Hi Anastasios,

    Thank you for reaching out.

    TranslatePress does not create separate posts for each language — all translations are stored within the same post. However, each language version of a post has its own unique URL (e.g., /en/post-name for English).

    By default, all posts will appear in archive pages, regardless of whether they are translated, because the original (Greek) post still exists and TranslatePress displays it even in other languages if no translation is available.

    Best Regards,

    Thread Starter tsourounis

    (@tsourounis)

    Hello,

    Thank you for your reply.

    To confirm, there is currently no built-in way in TranslatePress to show only posts that have been translated into the currently active language on archive pages (e.g., /en/blog). Therefore, unless we manually translate each post, the default language content (Greek) will still be shown in the English archive.

    Please confirm if this is correct, and if there are any recommended workarounds or hooks available to filter out untranslated posts.

    Best regards,
    Anastasios

    Plugin Support Alex

    (@alexcozmoslabs)

    Hi,

    I confirm the above ones.
    Our plugin works at the string level. We don’t create editable posts (in the back-end) in additional language, in order to exclude them from being displayed at the archive page.

    Thank you for understanding.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Display only translated posts in archives’ is closed to new replies.