Use application resource path to locate the translation files.

The late initialization does prevent some of the early functions from
being localized (e.g. the command line help).
Allow localization to be enabled/disabled by configuration settings.

This is only the logic to check the settings, no GUI.
Changing the setting requires a restart as disabling localization simply
skips the call to bindtextdomain() at the application start.