@classmethod<EOL><INDENT>def get_idiomatic_name_in_language(cls, name, language):<DEDENT>
if language in cls.idiomatic_methods_cache:<EOL><INDENT>m = cls.idiomatic_methods_cache[language]<EOL>if not m:<EOL><INDENT>return name<EOL><DEDENT>return m(name)<EOL><DEDENT>found, method = load_language_plugins(language, '<STR_LIT>')<EOL>if found:<EOL><INDENT>cls.idiomatic_methods_cache[language] = method<EOL>if method:<EOL><INDENT>return method(name)<EOL><DEDENT>else:<EOL><INDENT>return name<EOL><DEDENT><DEDENT>module = importlib.import_module('<STR_LIT>' % language, package="<STR_LIT>")<EOL>if not hasattr(module, '<STR_LIT>'):<EOL><INDENT>cls.idiomatic_methods_cache[language] = None<EOL>return name<EOL><DEDENT>method = getattr(module, '<STR_LIT>')<EOL>cls.idiomatic_methods_cache[language] = method<EOL>return method(name)<EOL>
Get the name for the given language

            Args:
                name (str): the name to convert
                language (str): the language to use

            Returns:
                a name in the given language

            Example:
                get_idiomatic_name_in_language("EnterpriseNetwork", "python")
                >>> enterprise_network