can i change te% translate?

#42509
  • Resolved frednl
    Rank Math free

    hi im using some posts and pages %date% but it show english and short. can i translate that month name? and can i change the order? For example: Nis 12, 2020 but i want to show: 12 Nisan 2020

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hello,

    Thank you for contacting Rank Math today.

    You can use the option for date with custom formatting pattern to customize your date.

    Hope this help you. Thank you.

    ​​​​​​

    frednl
    Rank Math free

    dear Micheal, how i can do it? i dont see custom formatting pattern anywhere on rank math options. i dont know how i can change date format and language sorry.

    Hi Firat,

    Thanks for the reply.

    You can use the following variable on your post to return a custom date on the frontend depending on the site language that has been set:

    %date(j F Y)%

    Let me know if this works as expected. Thank you.

    frednl
    Rank Math free

    Hi Micheal the same nothing change. i need %currentdate% but shortening the month name … i dont what it. Currentdate= Nis 14, 2020 i need= 14 Nisan 2020

    Hi Firat,

    Thanks for the follow up.

    For the current date, you need to use this instead:
    %currenttime(j F Y)%

    Please note that the value displayed will depend on the default language that has been set in your WP Dashboard > Settings > General. It would help if you could let me know if you would like this displayed in a different language.

    Thank you.

    frednl
    Rank Math free

    Hi Micheal.. why you give me currenttime? its just show time: http://prntscr.com/s042y3

    i need currentdate but like this: 14 April 2020, Not Apr, 14 2020…

    • This reply was modified 4 years, 7 months ago by frednl.
    Todd
    Rank Math free

    Hi Firat,

    Please use this variable to do that:
    %currentdate(j F Y)%

    Even if it doesn’t appear correctly in the search preview, it will show up correctly when you publish the post or preview the draft.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    frednl
    Rank Math free

    Hi Todd, thank you its working when i publish or update post. in admin panel dosent change but as you say working when i look post after update. thank you.

    • This reply was modified 4 years, 7 months ago by frednl.

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

The ticket ‘can i change te% translate?’ is closed to new replies.