WordPress.org

Ready to get started?Download WordPress

Forums

Vantage
Translate "posted on" for child theme (3 posts)

  1. Daniel Novoa
    Member
    Posted 2 months ago #

    Hi!

    I want to translate the entry-meta "posted on" for the blog view.
    I've created a child theme and copied the file template-tag.php to child-theme-folder/inc/template-tag.php

    In template-tag.php i've located the function "vantage_posted_on" and translated the $posted_on_parts.

    However, it still displays in english on my website.
    If i make the same translation directly in the vantage theme folder the translation works, but i want to secure the modification by keeping it in my child theme.

    Any ideas?

  2. ellp
    Member
    Posted 2 months ago #

    Hello!

    You can use this plugin to translate whatever you need:

    http://wordpress.org/plugins/codestyling-localization/

    Hope it helps :)

  3. Daniel Novoa
    Member
    Posted 2 months ago #

    Thanks for replying ellp.
    I did try that plugin, but it could not detect my child theme.
    Tried adding my language to Vantage theme but that didn't work out either.

    Any more ideas?

Reply

You must log in to post.

About this Theme

About this Topic