Adding functionality to load language files based on application setting