We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 33998
    • 12 Posts
    I'm trying to change the language used inside Archivist. I want to display Dutch month names instead. This is the code I'm using.

    System settings

    • cultureKey nl
    • locale nl_NL

    Archivist settings
    [[!Archivist? &target=`28` &tpl=`news_link` &parents=`29`]]
    


    tpl news_link
    <li class="[[+cls]]"><a href="[[+url]]" title="[[+date]]">[[+date]]</a></li>
    


    getArchives settings
    [[!getPage?
      &element=`getArchives`
      &tpl=`article_overview`
      &parents=`29`
      &includeTVs=`1`
      &showHidden=`1`
      &includeContent=`1`
      &processTVs=`1`
      &tvPrefix=``
      &toPlaceholder=`archives`
      &cache=`0`
    ]]
    <h1>Archief [[+arc_month_name]] [[+arc_year]]</h1>
    [[+archives]]
    <p class="page_nav">[[!+page.nav]]</p>
    


    The thing is: it pretty much works. But I don't want any English months. I want them Dutch. I can't figure out how to change this. Can anyone help me out please? [ed. note: Martijn1981 last edited this post 12 years, 2 months ago.]
      • 33998
      • 12 Posts
      Ah, I found the solution.

      locale shouldn't be nl_NL, but nl_NL.UTF-8. It works fine that way!

      -- EDIT --

      This isn't mentioned in the docs anywhere! Bit of a pity though. [ed. note: Martijn1981 last edited this post 12 years, 2 months ago.]