Translating date format
-
I’m trying to find a way to change date format depending on the language being used. The problem is if I put get_the_date( ) inside tags (<!–:en–> or [:en]) it will simply print get_the_date( ‘l, j F Y’, null) instead of the date. I also tried
if(qtrans_getLanguage() == 'fr'){}...
and its always false even though I’m in the french version of my website.
- The topic ‘Translating date format’ is closed to new replies.