Implemented tentative support for the Globalize plugin.

This is a work in progress and may not be ready for merging yet.