ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Localised date format

September 07, 2010 6:30am

Subscribe [7]
  • #1 / Sep 07, 2010 6:30am

    robbiepost

    32 posts

    Hi,

    Installed the Dutch language pack into my EE 1.6.9 site. Changed the Default language and Default XML language to Dutch in the System Preferences. Under Localization preferences I have changed the Default Time Formatting to Europe.

    Whenever I render date or time variables on my site whether directly or using Solspace Calendar they are still shown in the English language. What am I doing wrong here?

    Moved to EE 1.x Technical Support by Moderator

  • #2 / Sep 07, 2010 9:25am

    Benjamin

    116 posts

    Have you checked wether your individual member account Localization preferences are also set to Dutch?

  • #3 / Sep 07, 2010 10:31am

    robbiepost

    32 posts

    I’m not talking about members in this case, but site visitors viewing the calendar or date and time related variables.

  • #4 / Sep 07, 2010 10:37am

    Benjamin

    116 posts

    What date format are you using in your templates then?

    {date format="%j %F %Y"}

    Something like that should just read as a Dutch date like: 7 September 2010

    I Haven’t used Solspace’s Calendar before, but is it possible they use different language files to translate months and such?

  • #5 / Sep 07, 2010 11:04am

    robbiepost

    32 posts

    If I use the regular date and time format in any template like the one you used above I’m getting the English date and not the Dutch one. It seems that it has nothing to do with Solspace calendar as they are using EE’s language settings/files.

    That’s why I was testing it out with a variable in a regular EE template (so without the use of the calendar)

  • #6 / Sep 07, 2010 11:13am

    Benjamin

    116 posts

    Then it’s probably a translation issue, are you sure your lang pack is in the right directory?

    Are you using EE 1 or EE 2? They recently changed language file names in EE 2 (don’t know about EE 1), so check if your Dutch language file names are identical to your English language file names.

    In EE 2 they just recently changed it from lang.admin.php to admin_lang.php etc etc

  • #7 / Sep 07, 2010 12:02pm

    robbiepost

    32 posts

    Using EE 1.6.9. I’m getting the Dutch language when I enter the control panel of the site . So the language file seems to be OK. It just relates to the date and time variables.

  • #8 / Sep 07, 2010 12:12pm

    Benjamin

    116 posts

    The only thing I can think of now, is to put your dutch language files in the translations folder, and use the systems translation tool to see wether all dates are translated correctly.

  • #9 / Sep 07, 2010 5:19pm

    Ingmar

    29245 posts

    Are you sure visitors to your site who are not logged in are, in fact, shown the Dutch version? Have you made Dutch the site’s default?

  • #10 / Sep 13, 2010 4:11am

    robbiepost

    32 posts

    The issue is still unsolved. I’ve checked from various systems outside the network but all are getting the English date format. Members though, are getting the correct Dutch language in the CP.

    Both Default language and XML language are set to Dutch, Character set UTF-8. Dutch language file properly installed.

  • #11 / Sep 13, 2010 8:35am

    Sue Crocker

    26054 posts

    First things first.. let’s move this to the right forum.

  • #12 / Sep 16, 2010 8:09am

    robbiepost

    32 posts

    Hi Sue Good that you moved my issue to the right forum, but I’m still waiting for some support! The problem hasn’t solved

  • #13 / Sep 16, 2010 4:46pm

    Brandon Jones

    5500 posts

    Rob Post,

    If you visit your site as a guest (not logged in) are other parts of the site in Dutch? Or is it entirely English?

  • #14 / Sep 16, 2010 5:06pm

    robbiepost

    32 posts

    Nope. All parts of the site where I use a date variable, the EE one or the one pulled from Solspace Calendar, are entirely in English.

  • #15 / Sep 17, 2010 3:39am

    John Henry Donovan

    12339 posts

    Rob,

    The language packs are for the control panel specifically. The translations will not carry forward to your front-end templates.

    You will need to use a plugin or similar for this functionality

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases