Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #380314

    koraykaan
    Participant

    I want to change the date language to Turkish. But couldn’t find a good solution for that.

    Secondly I want to change “View Post” to Turkish too. I could do it on post slider but not on archive posts.

    #380315

    koraykaan
    Participant

    I managed the date language now however i still need help with my second question

    #380399

    Nico
    Moderator

    Hi There,

    Thanks for writing in.

    Would you mind checking the thread below if this is what you have been looking for.

    https://community.theme.co/forums/topic/changing-view-post-language/

    Let us know how it goes.

    Thanks.

    #380712

    koraykaan
    Participant
    This reply has been marked as private.
    #380715

    Rue Nel
    Moderator

    Hello There,

    Since you have your child theme installed, please add the following code in your child theme’s functions.php file

    function translate_view_post($translated) { 
      $translated = str_ireplace('View Post', 'Insert your translation here', $translated);
      return $translated; 
    }
    add_filter('gettext', 'translate_view_post' );

    Hope this helps. Kindly let us know.

    #380880

    koraykaan
    Participant

    This worked smoothly.
    Can you also hep me with another thing?
    I love to use my wordpress in English.
    Since when English is selected I cannot view the dates in Turkish, I am currently using Turkish language.

    Can I somehow change the dates to Turkish while using English language selection?

    #380893

    Zeshan
    Member

    Hi there,

    Regretfully this isn’t a feature offered by X. It could be possible with custom development, but this would be outside the scope of support we can offer. You may wish to consult a developer to assist you with this. X is quite extensible with child themes, so there are plenty of possibilities.

    Thanks for understanding. Take care!