robot.conf.languages
¶
    
            Languages
¶
Stores languages and unifies translations.
Example::
1 2 3 4 5  |  | 
:param languages: Initial language or list of languages.
    Languages can be given as language codes or names, paths or names of
    language modules to load, or as :class:Language instances.
:param add_english: If True, English is added automatically.
:raises: :class:~robot.errors.DataError if a given language is not found.
:meth:add_language can be used to add languages after initialization.
Source code in src/robot/conf/languages.py
                    
            reset
¶
    
            add_language
¶
Add new language.
:param lang: Language to add. Can be a language code or name, name or
    path of a language module to load, or a :class:Language instance.
:raises: :class:~robot.errors.DataError if the language is not found.
Language codes and names are passed to by :meth:Language.from_name.
Language modules are imported and :class:Language subclasses in them
loaded.
Source code in src/robot/conf/languages.py
              
            Language
¶
    Base class for language definitions.
New translations can be added by extending this class and setting class attributes listed below.
Language :attr:code is got based on the class name and :attr:name
based on the docstring.
            from_name
  
      classmethod
  
¶
    Return language class based on given name.
Name can either be a language name (e.g. 'Finnish' or 'Brazilian Portuguese') or a language code (e.g. 'fi' or 'pt-BR'). Matching is case and space insensitive and the hyphen is ignored when matching language codes.
Raises ValueError if no matching language is found.
Source code in src/robot/conf/languages.py
              
            code
¶
    Language code like 'fi' or 'pt-BR'.
Got based on the class name. If the class name is two characters (or less), the code is just the name in lower case. If it is longer, a hyphen is added and the remainder of the class name is upper-cased.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            name
¶
    Language name like 'Finnish' or 'Brazilian Portuguese'.
Got from the first line of the class docstring.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            En
¶
    
              Bases: Language
English
            from_name
  
      classmethod
  
¶
    Return language class based on given name.
Name can either be a language name (e.g. 'Finnish' or 'Brazilian Portuguese') or a language code (e.g. 'fi' or 'pt-BR'). Matching is case and space insensitive and the hyphen is ignored when matching language codes.
Raises ValueError if no matching language is found.
Source code in src/robot/conf/languages.py
              
            code
¶
    Language code like 'fi' or 'pt-BR'.
Got based on the class name. If the class name is two characters (or less), the code is just the name in lower case. If it is longer, a hyphen is added and the remainder of the class name is upper-cased.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            name
¶
    Language name like 'Finnish' or 'Brazilian Portuguese'.
Got from the first line of the class docstring.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            Cs
¶
    
              Bases: Language
Czech
            from_name
  
      classmethod
  
¶
    Return language class based on given name.
Name can either be a language name (e.g. 'Finnish' or 'Brazilian Portuguese') or a language code (e.g. 'fi' or 'pt-BR'). Matching is case and space insensitive and the hyphen is ignored when matching language codes.
Raises ValueError if no matching language is found.
Source code in src/robot/conf/languages.py
              
            code
¶
    Language code like 'fi' or 'pt-BR'.
Got based on the class name. If the class name is two characters (or less), the code is just the name in lower case. If it is longer, a hyphen is added and the remainder of the class name is upper-cased.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            name
¶
    Language name like 'Finnish' or 'Brazilian Portuguese'.
Got from the first line of the class docstring.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            Nl
¶
    
              Bases: Language
Dutch
            from_name
  
      classmethod
  
¶
    Return language class based on given name.
Name can either be a language name (e.g. 'Finnish' or 'Brazilian Portuguese') or a language code (e.g. 'fi' or 'pt-BR'). Matching is case and space insensitive and the hyphen is ignored when matching language codes.
Raises ValueError if no matching language is found.
Source code in src/robot/conf/languages.py
              
            code
¶
    Language code like 'fi' or 'pt-BR'.
Got based on the class name. If the class name is two characters (or less), the code is just the name in lower case. If it is longer, a hyphen is added and the remainder of the class name is upper-cased.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            name
¶
    Language name like 'Finnish' or 'Brazilian Portuguese'.
Got from the first line of the class docstring.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            Bs
¶
    
              Bases: Language
Bosnian
            from_name
  
      classmethod
  
¶
    Return language class based on given name.
Name can either be a language name (e.g. 'Finnish' or 'Brazilian Portuguese') or a language code (e.g. 'fi' or 'pt-BR'). Matching is case and space insensitive and the hyphen is ignored when matching language codes.
Raises ValueError if no matching language is found.
Source code in src/robot/conf/languages.py
              
            code
¶
    Language code like 'fi' or 'pt-BR'.
Got based on the class name. If the class name is two characters (or less), the code is just the name in lower case. If it is longer, a hyphen is added and the remainder of the class name is upper-cased.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            name
¶
    Language name like 'Finnish' or 'Brazilian Portuguese'.
Got from the first line of the class docstring.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            Fi
¶
    
              Bases: Language
Finnish
            from_name
  
      classmethod
  
¶
    Return language class based on given name.
Name can either be a language name (e.g. 'Finnish' or 'Brazilian Portuguese') or a language code (e.g. 'fi' or 'pt-BR'). Matching is case and space insensitive and the hyphen is ignored when matching language codes.
Raises ValueError if no matching language is found.
Source code in src/robot/conf/languages.py
              
            code
¶
    Language code like 'fi' or 'pt-BR'.
Got based on the class name. If the class name is two characters (or less), the code is just the name in lower case. If it is longer, a hyphen is added and the remainder of the class name is upper-cased.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            name
¶
    Language name like 'Finnish' or 'Brazilian Portuguese'.
Got from the first line of the class docstring.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            Fr
¶
    
              Bases: Language
French
            from_name
  
      classmethod
  
¶
    Return language class based on given name.
Name can either be a language name (e.g. 'Finnish' or 'Brazilian Portuguese') or a language code (e.g. 'fi' or 'pt-BR'). Matching is case and space insensitive and the hyphen is ignored when matching language codes.
Raises ValueError if no matching language is found.
Source code in src/robot/conf/languages.py
              
            code
¶
    Language code like 'fi' or 'pt-BR'.
Got based on the class name. If the class name is two characters (or less), the code is just the name in lower case. If it is longer, a hyphen is added and the remainder of the class name is upper-cased.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            name
¶
    Language name like 'Finnish' or 'Brazilian Portuguese'.
Got from the first line of the class docstring.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            De
¶
    
              Bases: Language
German
            from_name
  
      classmethod
  
¶
    Return language class based on given name.
Name can either be a language name (e.g. 'Finnish' or 'Brazilian Portuguese') or a language code (e.g. 'fi' or 'pt-BR'). Matching is case and space insensitive and the hyphen is ignored when matching language codes.
Raises ValueError if no matching language is found.
Source code in src/robot/conf/languages.py
              
            code
¶
    Language code like 'fi' or 'pt-BR'.
Got based on the class name. If the class name is two characters (or less), the code is just the name in lower case. If it is longer, a hyphen is added and the remainder of the class name is upper-cased.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            name
¶
    Language name like 'Finnish' or 'Brazilian Portuguese'.
Got from the first line of the class docstring.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            PtBr
¶
    
              Bases: Language
Brazilian Portuguese
            from_name
  
      classmethod
  
¶
    Return language class based on given name.
Name can either be a language name (e.g. 'Finnish' or 'Brazilian Portuguese') or a language code (e.g. 'fi' or 'pt-BR'). Matching is case and space insensitive and the hyphen is ignored when matching language codes.
Raises ValueError if no matching language is found.
Source code in src/robot/conf/languages.py
              
            code
¶
    Language code like 'fi' or 'pt-BR'.
Got based on the class name. If the class name is two characters (or less), the code is just the name in lower case. If it is longer, a hyphen is added and the remainder of the class name is upper-cased.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            name
¶
    Language name like 'Finnish' or 'Brazilian Portuguese'.
Got from the first line of the class docstring.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            Pt
¶
    
              Bases: Language
Portuguese
            from_name
  
      classmethod
  
¶
    Return language class based on given name.
Name can either be a language name (e.g. 'Finnish' or 'Brazilian Portuguese') or a language code (e.g. 'fi' or 'pt-BR'). Matching is case and space insensitive and the hyphen is ignored when matching language codes.
Raises ValueError if no matching language is found.
Source code in src/robot/conf/languages.py
              
            code
¶
    Language code like 'fi' or 'pt-BR'.
Got based on the class name. If the class name is two characters (or less), the code is just the name in lower case. If it is longer, a hyphen is added and the remainder of the class name is upper-cased.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            name
¶
    Language name like 'Finnish' or 'Brazilian Portuguese'.
Got from the first line of the class docstring.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            Th
¶
    
              Bases: Language
Thai
            from_name
  
      classmethod
  
¶
    Return language class based on given name.
Name can either be a language name (e.g. 'Finnish' or 'Brazilian Portuguese') or a language code (e.g. 'fi' or 'pt-BR'). Matching is case and space insensitive and the hyphen is ignored when matching language codes.
Raises ValueError if no matching language is found.
Source code in src/robot/conf/languages.py
              
            code
¶
    Language code like 'fi' or 'pt-BR'.
Got based on the class name. If the class name is two characters (or less), the code is just the name in lower case. If it is longer, a hyphen is added and the remainder of the class name is upper-cased.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            name
¶
    Language name like 'Finnish' or 'Brazilian Portuguese'.
Got from the first line of the class docstring.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            Pl
¶
    
              Bases: Language
Polish
            from_name
  
      classmethod
  
¶
    Return language class based on given name.
Name can either be a language name (e.g. 'Finnish' or 'Brazilian Portuguese') or a language code (e.g. 'fi' or 'pt-BR'). Matching is case and space insensitive and the hyphen is ignored when matching language codes.
Raises ValueError if no matching language is found.
Source code in src/robot/conf/languages.py
              
            code
¶
    Language code like 'fi' or 'pt-BR'.
Got based on the class name. If the class name is two characters (or less), the code is just the name in lower case. If it is longer, a hyphen is added and the remainder of the class name is upper-cased.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            name
¶
    Language name like 'Finnish' or 'Brazilian Portuguese'.
Got from the first line of the class docstring.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            Uk
¶
    
              Bases: Language
Ukrainian
            from_name
  
      classmethod
  
¶
    Return language class based on given name.
Name can either be a language name (e.g. 'Finnish' or 'Brazilian Portuguese') or a language code (e.g. 'fi' or 'pt-BR'). Matching is case and space insensitive and the hyphen is ignored when matching language codes.
Raises ValueError if no matching language is found.
Source code in src/robot/conf/languages.py
              
            code
¶
    Language code like 'fi' or 'pt-BR'.
Got based on the class name. If the class name is two characters (or less), the code is just the name in lower case. If it is longer, a hyphen is added and the remainder of the class name is upper-cased.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            name
¶
    Language name like 'Finnish' or 'Brazilian Portuguese'.
Got from the first line of the class docstring.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            Es
¶
    
              Bases: Language
Spanish
            from_name
  
      classmethod
  
¶
    Return language class based on given name.
Name can either be a language name (e.g. 'Finnish' or 'Brazilian Portuguese') or a language code (e.g. 'fi' or 'pt-BR'). Matching is case and space insensitive and the hyphen is ignored when matching language codes.
Raises ValueError if no matching language is found.
Source code in src/robot/conf/languages.py
              
            code
¶
    Language code like 'fi' or 'pt-BR'.
Got based on the class name. If the class name is two characters (or less), the code is just the name in lower case. If it is longer, a hyphen is added and the remainder of the class name is upper-cased.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            name
¶
    Language name like 'Finnish' or 'Brazilian Portuguese'.
Got from the first line of the class docstring.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            Ru
¶
    
              Bases: Language
Russian
            from_name
  
      classmethod
  
¶
    Return language class based on given name.
Name can either be a language name (e.g. 'Finnish' or 'Brazilian Portuguese') or a language code (e.g. 'fi' or 'pt-BR'). Matching is case and space insensitive and the hyphen is ignored when matching language codes.
Raises ValueError if no matching language is found.
Source code in src/robot/conf/languages.py
              
            code
¶
    Language code like 'fi' or 'pt-BR'.
Got based on the class name. If the class name is two characters (or less), the code is just the name in lower case. If it is longer, a hyphen is added and the remainder of the class name is upper-cased.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            name
¶
    Language name like 'Finnish' or 'Brazilian Portuguese'.
Got from the first line of the class docstring.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            ZhCn
¶
    
              Bases: Language
Chinese Simplified
            from_name
  
      classmethod
  
¶
    Return language class based on given name.
Name can either be a language name (e.g. 'Finnish' or 'Brazilian Portuguese') or a language code (e.g. 'fi' or 'pt-BR'). Matching is case and space insensitive and the hyphen is ignored when matching language codes.
Raises ValueError if no matching language is found.
Source code in src/robot/conf/languages.py
              
            code
¶
    Language code like 'fi' or 'pt-BR'.
Got based on the class name. If the class name is two characters (or less), the code is just the name in lower case. If it is longer, a hyphen is added and the remainder of the class name is upper-cased.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            name
¶
    Language name like 'Finnish' or 'Brazilian Portuguese'.
Got from the first line of the class docstring.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            ZhTw
¶
    
              Bases: Language
Chinese Traditional
            from_name
  
      classmethod
  
¶
    Return language class based on given name.
Name can either be a language name (e.g. 'Finnish' or 'Brazilian Portuguese') or a language code (e.g. 'fi' or 'pt-BR'). Matching is case and space insensitive and the hyphen is ignored when matching language codes.
Raises ValueError if no matching language is found.
Source code in src/robot/conf/languages.py
              
            code
¶
    Language code like 'fi' or 'pt-BR'.
Got based on the class name. If the class name is two characters (or less), the code is just the name in lower case. If it is longer, a hyphen is added and the remainder of the class name is upper-cased.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            name
¶
    Language name like 'Finnish' or 'Brazilian Portuguese'.
Got from the first line of the class docstring.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            Tr
¶
    
              Bases: Language
Turkish
            from_name
  
      classmethod
  
¶
    Return language class based on given name.
Name can either be a language name (e.g. 'Finnish' or 'Brazilian Portuguese') or a language code (e.g. 'fi' or 'pt-BR'). Matching is case and space insensitive and the hyphen is ignored when matching language codes.
Raises ValueError if no matching language is found.
Source code in src/robot/conf/languages.py
              
            code
¶
    Language code like 'fi' or 'pt-BR'.
Got based on the class name. If the class name is two characters (or less), the code is just the name in lower case. If it is longer, a hyphen is added and the remainder of the class name is upper-cased.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            name
¶
    Language name like 'Finnish' or 'Brazilian Portuguese'.
Got from the first line of the class docstring.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            Sv
¶
    
              Bases: Language
Swedish
            from_name
  
      classmethod
  
¶
    Return language class based on given name.
Name can either be a language name (e.g. 'Finnish' or 'Brazilian Portuguese') or a language code (e.g. 'fi' or 'pt-BR'). Matching is case and space insensitive and the hyphen is ignored when matching language codes.
Raises ValueError if no matching language is found.
Source code in src/robot/conf/languages.py
              
            code
¶
    Language code like 'fi' or 'pt-BR'.
Got based on the class name. If the class name is two characters (or less), the code is just the name in lower case. If it is longer, a hyphen is added and the remainder of the class name is upper-cased.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            name
¶
    Language name like 'Finnish' or 'Brazilian Portuguese'.
Got from the first line of the class docstring.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            Bg
¶
    
              Bases: Language
Bulgarian
            from_name
  
      classmethod
  
¶
    Return language class based on given name.
Name can either be a language name (e.g. 'Finnish' or 'Brazilian Portuguese') or a language code (e.g. 'fi' or 'pt-BR'). Matching is case and space insensitive and the hyphen is ignored when matching language codes.
Raises ValueError if no matching language is found.
Source code in src/robot/conf/languages.py
              
            code
¶
    Language code like 'fi' or 'pt-BR'.
Got based on the class name. If the class name is two characters (or less), the code is just the name in lower case. If it is longer, a hyphen is added and the remainder of the class name is upper-cased.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            name
¶
    Language name like 'Finnish' or 'Brazilian Portuguese'.
Got from the first line of the class docstring.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            Ro
¶
    
              Bases: Language
Romanian
            from_name
  
      classmethod
  
¶
    Return language class based on given name.
Name can either be a language name (e.g. 'Finnish' or 'Brazilian Portuguese') or a language code (e.g. 'fi' or 'pt-BR'). Matching is case and space insensitive and the hyphen is ignored when matching language codes.
Raises ValueError if no matching language is found.
Source code in src/robot/conf/languages.py
              
            code
¶
    Language code like 'fi' or 'pt-BR'.
Got based on the class name. If the class name is two characters (or less), the code is just the name in lower case. If it is longer, a hyphen is added and the remainder of the class name is upper-cased.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            name
¶
    Language name like 'Finnish' or 'Brazilian Portuguese'.
Got from the first line of the class docstring.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            It
¶
    
              Bases: Language
Italian
            from_name
  
      classmethod
  
¶
    Return language class based on given name.
Name can either be a language name (e.g. 'Finnish' or 'Brazilian Portuguese') or a language code (e.g. 'fi' or 'pt-BR'). Matching is case and space insensitive and the hyphen is ignored when matching language codes.
Raises ValueError if no matching language is found.
Source code in src/robot/conf/languages.py
              
            code
¶
    Language code like 'fi' or 'pt-BR'.
Got based on the class name. If the class name is two characters (or less), the code is just the name in lower case. If it is longer, a hyphen is added and the remainder of the class name is upper-cased.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            name
¶
    Language name like 'Finnish' or 'Brazilian Portuguese'.
Got from the first line of the class docstring.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            Hi
¶
    
              Bases: Language
Hindi
            from_name
  
      classmethod
  
¶
    Return language class based on given name.
Name can either be a language name (e.g. 'Finnish' or 'Brazilian Portuguese') or a language code (e.g. 'fi' or 'pt-BR'). Matching is case and space insensitive and the hyphen is ignored when matching language codes.
Raises ValueError if no matching language is found.
Source code in src/robot/conf/languages.py
              
            code
¶
    Language code like 'fi' or 'pt-BR'.
Got based on the class name. If the class name is two characters (or less), the code is just the name in lower case. If it is longer, a hyphen is added and the remainder of the class name is upper-cased.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            name
¶
    Language name like 'Finnish' or 'Brazilian Portuguese'.
Got from the first line of the class docstring.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            Vi
¶
    
              Bases: Language
Vietnamese
New in Robot Framework 6.1.
            from_name
  
      classmethod
  
¶
    Return language class based on given name.
Name can either be a language name (e.g. 'Finnish' or 'Brazilian Portuguese') or a language code (e.g. 'fi' or 'pt-BR'). Matching is case and space insensitive and the hyphen is ignored when matching language codes.
Raises ValueError if no matching language is found.
Source code in src/robot/conf/languages.py
              
            code
¶
    Language code like 'fi' or 'pt-BR'.
Got based on the class name. If the class name is two characters (or less), the code is just the name in lower case. If it is longer, a hyphen is added and the remainder of the class name is upper-cased.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            name
¶
    Language name like 'Finnish' or 'Brazilian Portuguese'.
Got from the first line of the class docstring.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            Ja
¶
    
              Bases: Language
Japanese
New in Robot Framework 7.0.1.
            from_name
  
      classmethod
  
¶
    Return language class based on given name.
Name can either be a language name (e.g. 'Finnish' or 'Brazilian Portuguese') or a language code (e.g. 'fi' or 'pt-BR'). Matching is case and space insensitive and the hyphen is ignored when matching language codes.
Raises ValueError if no matching language is found.
Source code in src/robot/conf/languages.py
              
            code
¶
    Language code like 'fi' or 'pt-BR'.
Got based on the class name. If the class name is two characters (or less), the code is just the name in lower case. If it is longer, a hyphen is added and the remainder of the class name is upper-cased.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            name
¶
    Language name like 'Finnish' or 'Brazilian Portuguese'.
Got from the first line of the class docstring.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            Ko
¶
    
              Bases: Language
Korean
New in Robot Framework 7.1.
            from_name
  
      classmethod
  
¶
    Return language class based on given name.
Name can either be a language name (e.g. 'Finnish' or 'Brazilian Portuguese') or a language code (e.g. 'fi' or 'pt-BR'). Matching is case and space insensitive and the hyphen is ignored when matching language codes.
Raises ValueError if no matching language is found.
Source code in src/robot/conf/languages.py
              
            code
¶
    Language code like 'fi' or 'pt-BR'.
Got based on the class name. If the class name is two characters (or less), the code is just the name in lower case. If it is longer, a hyphen is added and the remainder of the class name is upper-cased.
This special property can be accessed also directly from the class.
Source code in src/robot/conf/languages.py
              
            name
¶
    Language name like 'Finnish' or 'Brazilian Portuguese'.
Got from the first line of the class docstring.
This special property can be accessed also directly from the class.