empty array instead of nothing
check sense of auto_locale_pattern
Merge pull request #223 from ElectricMaxxx/fix-di-bug

[WIP] fix bug with setting locales