refactor LanguageHelper and VersionHelper