Hey there,
Does anyone know which Smarty files I need to edit in order to output the "date_format" modifier in Dutch? It is currently in English.
Thanks for your help.
| SitePoint Sponsor |




Hey there,
Does anyone know which Smarty files I need to edit in order to output the "date_format" modifier in Dutch? It is currently in English.
Thanks for your help.
As far as I know, date_format modifier works with php function strftime so you would need to use setlocale to change the language used, so you don't need to change the modifier. However, if you want to take a look at it, it is located in libs/plugins folder.
-- Jelena --




I have a single file which is included at the top of each PHP document. This file includes my classes and does some other things. All I did was add the line of code below into this include file.
The client is dutch, and the site has to be completely Dutch, though I cannot really understand, speak or write dutch. Been using language files and the Smarty templating system for translation.PHP Code:setlocale(LC_ALL, 'nl_NL');
The moment I tested the system with this line of code, the results were just astonishing.
Bookmarks