Titanium module for managing the locale