WordPress.org

Support

Support » Plugins and Hacks » Date Translate » [Resolved] How To?

[Resolved] How To?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Gezim Basha

    @gezimb

    Just go to your functions.php file, and inser the following snippet.

    Let’s assume you’re going to translate the days to English.

    $days = array(Sunday, Monday, Tuesday, Wednesday,Thursday, Friday, Saturday);
    $months = array(January, February, March, April, May, June, July, August, September, October, November, December);
    $months_short = array(Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec);
    
    if(function_exists(qnt_date_translate))
        qnt_date_translate($days,$months,$months_short);

    This will do it. Just remember the week starts with Sunday. Let me know if this helps you.

    Plugin Author Gezim Basha

    @gezimb

    Given that the OP has not replied to this post for a week, I will mark it as resolved, hoping that it has helped him/her. If the problem has persisted, a new post will be welcome.

    dgonier

    @dgonier

    Where in the functions.php do I put this!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] How To?’ is closed to new replies.
Skip to toolbar