Setup localization and other various things.