Set a default locale.

This removes a hard-dep on the intl extension.
Merge branch 'develop' into media_type