Add the current locale to the smarty variables so that themes can take advantage of it.
Merge pull request #2177 from vanilla/feature/locale-to-smarty

Adds the current locale to the smarty variables so that themes can take advantage of it.