Show months in blogposts in the Dutch language

  • Hi,

    I'm using the blog add-on and that works very well. The only thing is that the name of the months that are shown in the blogposts are in the English language. What is the right way to change them to the Dutch language (for example: "March" to "Maart")



  • drewm

    Approved the thread.
  • Hi Robin,

    In your ../perch/config/config.php file add the following line:

    1. setlocale(LC_ALL,'nl_NL') or setlocale(LC_ALL,'nld_NLD');

    And then in your blog template you can use the following format on your field(s):

    1. <perch:blog id="postDateTime" type="date" time="true" format="%d %B %Y" />

    I think this is all you need. Let me know if it is not working.