Are you enjoying the extensions? Did you like the support? Help others decide.

Leave a review

file Date in local language

More
11 years 9 months ago #476 by peterspie
Date in local language was created by peterspie
Hello, I like your plugin, it works very easy
I have only one question. Is it possible to show the month in my the correct language?
I would like to show it in Dutch.
The site is not ready yet, but you can see one example here:
www.spiegelenburg.nl/de-avonturen-van/ons

Please Log in or Create an account to join the conversation.

More
11 years 9 months ago - 11 years 9 months ago #479 by admin
Replied by admin on topic Re: Date in local language
Hello,
glad you like the plugin!
The date should automatically use the Dutch language as long as the Dutch language is installed in Joomla!.
There is no hard coded date, the plugin uses keys found in the language files:
$month = JText::_(date('F', strtotime($datetype)).'_SHORT');
where $datetype is the article's date.
Make sure your nl-NL.ini file is installed and that keys such as 'MAY_SHORT' are present.

Olivier.
Last edit: 11 years 9 months ago by admin.

Please Log in or Create an account to join the conversation.

More
11 years 9 months ago #487 by peterspie
Replied by peterspie on topic Re: Date in local language
This is very strange. I have installed Joomla 2.5.3 ONLY with the Ddutch language. Maybe I will install (for example German), and then test if this language willl work. I will be back with the results.

Please Log in or Create an account to join the conversation.

More
11 years 9 months ago #488 by admin
Replied by admin on topic Re: Date in local language
Have you looked through the language file as suggested above?

Olivier.

Please Log in or Create an account to join the conversation.

More
11 years 9 months ago #489 by admin
Replied by admin on topic Re: Date in local language
I just checked your website and it seems to be working now...

Olivier.
The following user(s) said Thank You: peterspie

Please Log in or Create an account to join the conversation.

More
11 years 9 months ago #490 by peterspie
Replied by peterspie on topic Re: Date in local language
Hello Olivier,
I have found the problem. I am using Joomla 2.5.3. The backend language pack was 2.5.3, so OK. But, the frontend language file was 1.5.xx. Very strange. So I have installed the correct version, and the problem is solved.
Thank you very very much, for your quick response.
Regards, Peter

Please Log in or Create an account to join the conversation.