Title: Semiologic language problem
Last modified: August 18, 2016

---

# Semiologic language problem

 *  [karecki](https://wordpress.org/support/users/karecki/)
 * (@karecki)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/semiologic-language-problem/)
 * Hi all
 * I’m having a strange (straight forward for others, I’m sure) thing happening,
   and I have located it to be a theme issue.
 * My site is in danish – except for the month in posts. So when I view a post with
   it’s comments, it says:
 * 23. January, 2006
    (post) 23. januar, 2006. (comment)
 * When changing the theme to anything else there is no problem.
 * [http://www.naargudkalder.dk/?p=1#comments](http://www.naargudkalder.dk/?p=1#comments)
 * Now, I think that’s weird! And since my talents are limited to css and html, 
   I just haven’t got a clue what to look for.
 * Please help 🙂

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

 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/semiologic-language-problem/#post-325919)
 * The file ‘locale.php’ holds month information, so that is probably worth a look.
 * wp-includes/locale.php
 *  [mattman](https://wordpress.org/support/users/mattman/)
 * (@mattman)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/semiologic-language-problem/#post-325922)
 * Pardon my bluntness(or ignorance),
 * but what does this have to do with Semiologic?
 *  Thread Starter [karecki](https://wordpress.org/support/users/karecki/)
 * (@karecki)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/semiologic-language-problem/#post-325930)
 * That’s the theme I’m using. When changing from the Semiological theme to any 
   other theme, the problem disappears.
 *  Thread Starter [karecki](https://wordpress.org/support/users/karecki/)
 * (@karecki)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/semiologic-language-problem/#post-325933)
 * Just tried to alter the text in locale.php – doesn’t make a difference.
 *  [Denis de Bernardy](https://wordpress.org/support/users/denis-de-bernardy/)
 * (@denis-de-bernardy)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/semiologic-language-problem/#post-325938)
 * i imagine that a filter is not applied where it should be.
 *  Thread Starter [karecki](https://wordpress.org/support/users/karecki/)
 * (@karecki)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/semiologic-language-problem/#post-326102)
 * Sorry, but you lost me there. Where do I look for a filter and what do I do with
   it.
 * As mentioned earlier I know absolutely nothing about php – I love the way it 
   works, though.
 * And I’m very keen on your theme. It’s extremely cooperative with someone like
   me 😉
 *  [Denis de Bernardy](https://wordpress.org/support/users/denis-de-bernardy/)
 * (@denis-de-bernardy)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/semiologic-language-problem/#post-326152)
 * i’m afraid there’s not much i can do short of spending an hour or two on it. 
   fixing this means adding code to work around a bug that is introduced by wp code
   meant to fix what looks like an underlying php design flaw.
 * i’m using a $post_date variable in the template, which i define as follows:
 * `$post_date = apply_filters('the_date', date($params['date_format'], strtotime(
   $post->post_date)));`
 * the translation apparently occurs in a function called mysql2date(), which needs
   to be called before the filtering. workflow-wise, this makes no sense, since 
   the filtering can transform the date. the translation should be hooked late into
   the_date and the_time.
 * as for the rational for using mysql2date() rather than strtotime(), it looks 
   as if the purpose is to work around the fact that php does not localize the time
   string.
 *  [davidhouse](https://wordpress.org/support/users/davidhouse/)
 * (@davidhouse)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/semiologic-language-problem/#post-326153)
 * I don’t think strtotime() worked with MySQL dates prior to 4.3.
 *  Thread Starter [karecki](https://wordpress.org/support/users/karecki/)
 * (@karecki)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/semiologic-language-problem/#post-326198)
 * I have found this in template-functions-post.php:
    $output .= ” ” . mysql2date(
   $format, $cur_page[‘ts’]);
 * Does this have anything to do with it?
 * Do I add your code somewhere in relation to this, or will it be much more complicated
   than that…
 * …not feeling less lost 🙁
 *  [Denis de Bernardy](https://wordpress.org/support/users/denis-de-bernardy/)
 * (@denis-de-bernardy)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/semiologic-language-problem/#post-326202)
 * I’m sorry karecki, but as mentionned above, it’s quite hopeless to fix short 
   of spending a non-neglectible time on it. I’ll take care of it eventually if 
   the WP bug I filed doesn’t get fixed, but this will remain low-priority.
 * [@david](https://wordpress.org/support/users/david/): strtotime() has always 
   worked well with mysql datetimes.
 *  [thob](https://wordpress.org/support/users/thob/)
 * (@thob)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/semiologic-language-problem/#post-326357)
 * I’d be more than happy when this date issue will get fixed. It’s a showstopper
   for non-English users/customers.
 * Thanks Thomas
 *  [Rosy](https://wordpress.org/support/users/rosy/)
 * (@rosy)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/semiologic-language-problem/#post-326375)
 * Innovation that regards the fix?
    Thanks Rosy
 *  [charasala](https://wordpress.org/support/users/charasala/)
 * (@charasala)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/semiologic-language-problem/#post-326428)
 * Hello Friends,
    Is there a fix for this issue yet. Even I translate the months
   and weeks in locale.php still my blog shows months and dates in English.
 * Do I need to do anything else?
    Kindly help me.
 * — Prasad
 *  [Denis de Bernardy](https://wordpress.org/support/users/denis-de-bernardy/)
 * (@denis-de-bernardy)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/semiologic-language-problem/#post-326429)
 * I dare hope it works, I’ve been using the WP internal functions for this kind
   of thing since v.4. File the bug for the_date() in trac.wordpress.org if it still
   doesn’t work.
 * D.

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

The topic ‘Semiologic language problem’ is closed to new replies.

## Tags

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

 * 14 replies
 * 8 participants
 * Last reply from: [Denis de Bernardy](https://wordpress.org/support/users/denis-de-bernardy/)
 * Last activity: [19 years, 9 months ago](https://wordpress.org/support/topic/semiologic-language-problem/#post-326429)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
