Title: Translating date format
Last modified: August 30, 2016

---

# Translating date format

 *  [QuatreReins](https://wordpress.org/support/users/quatrereins/)
 * (@quatrereins)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/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.

## Tags

 * [date](https://wordpress.org/support/topic-tag/date/)
 * [format](https://wordpress.org/support/topic-tag/format/)
 * [get_the_date](https://wordpress.org/support/topic-tag/get_the_date/)

 * 0 replies
 * 1 participant
 * Last reply from: [QuatreReins](https://wordpress.org/support/users/quatrereins/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/translating-date-format/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
