ncrossland/modx-autofolders-revo — Issue #1: Feature Request: I18N
Author: boundaryfunctions
Created: 2011-12-15 13:33:51+00:00
State: open

Hi Nick,
thanks for popping this on github, first!

I had some things in mind for this plugin, since I need them for a current project. First would be Internationalization of the plugin, since it would be nice to have month names in your own language (even if your on shared hosting and can't directly make modifications to php.ini).

I did a quick and dirty workaround by putting `setlocale(LC_TIME, "de_DE");` into the second line of autofolders.inc.php to get german month names. It wouldn't be that big of a problem to make this variable by using a modX plugin setting. But I'm not a i18n specialist and suppose, that there are better ways to handle this. Any suggestions?

If you want, I can integrate the modification using setlocale so far into my fork and send a pull request.