Fixed a bug in the implementation of localization and internationalization.