Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PlugIn > translate Publication date
#1
Hello;
Trying to solve this problem: http://get-simple.info/forum/viewtopic.php?id=342
I have made a plugin that translate publication date to spanish.

To use in template:
- <?php traduce_fecha_pub("l"); ?>
if you want to show the date in format dd/mm/yyyy

- <?php traduce_fecha_pub("n"); ?>
if you want to show the date in format dd de mes de año

If you want to use with other langs, translate array of months.

Regards
Reply


Messages In This Thread
PlugIn > translate Publication date - by cumbe - 2010-05-02, 08:37:34
PlugIn > translate Publication date - by luc - 2011-06-15, 21:06:08
PlugIn > translate Publication date - by mvlcek - 2011-06-15, 21:50:12
PlugIn > translate Publication date - by ccagle8 - 2011-06-15, 22:07:32
PlugIn > translate Publication date - by cumbe - 2011-06-16, 03:36:40
PlugIn > translate Publication date - by yojoe - 2011-06-16, 04:04:57
PlugIn > translate Publication date - by mvlcek - 2011-06-16, 04:06:46
PlugIn > translate Publication date - by cumbe - 2011-06-16, 04:32:51
PlugIn > translate Publication date - by yojoe - 2011-06-16, 04:36:36
PlugIn > translate Publication date - by cumbe - 2011-06-16, 04:43:44
PlugIn > translate Publication date - by cumbe - 2011-06-16, 05:05:31
PlugIn > translate Publication date - by mvlcek - 2011-06-16, 05:05:52



Users browsing this thread: 1 Guest(s)