- Posts: 7
Postings
You can freely browse the forum and post in the community forum.
However, you need a valid license to write posts for support (own a valid commercial software license or have purchased a support membership).
Posts only show once reviewed. This is mainly preventive to keep spam away. Thank you for your understanding!
Date in local language
- peterspie
-
Topic Author
- New Member
-
Less
More
IP: 84.245.10.155
14 years 5 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
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
- admin
-
- Administrator
-
Less
More
- Posts: 1931
IP: 90.59.24.80
14 years 5 months ago - 14 years 5 months ago #479
by admin
Olivier.
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:
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.
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:
Code:
$month = JText::_(date('F', strtotime($datetype)).'_SHORT');
Make sure your nl-NL.ini file is installed and that keys such as 'MAY_SHORT' are present.
Olivier.
Last edit: 14 years 5 months ago by admin.
- peterspie
-
Topic Author
- New Member
-
Less
More
- Posts: 7
IP: 84.245.10.155
14 years 5 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.
- admin
-
- Administrator
-
Less
More
- Posts: 1931
IP: 90.59.24.80
14 years 5 months ago #488
by admin
Olivier.
Replied by admin on topic Re: Date in local language
Have you looked through the language file as suggested above?
Olivier.
- admin
-
- Administrator
-
Less
More
- Posts: 1931
IP: 90.59.24.80
14 years 5 months ago #489
by admin
Olivier.
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
- peterspie
-
Topic Author
- New Member
-
Less
More
- Posts: 7
IP: 84.245.10.155
14 years 5 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
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
