Move the getLanguagePath call up