Phantasmal Site > Phantasmal API > API Listing > name_for_language
API Function: name_for_language
- Summary:
- takes a locale number and returns a
human-readable name for display.
- Defined In LPC Object:
- /usr/System/sys/phrased.c
- Prototype:
- string name_for_language(int locale)
- Can Be Called By:
- Anybody
- Description:
-
Takes a Phantasmal locale number and returns a displayable,
human-readable name for the locale. Names tend to be things
like "US English".
- Return Value:
-
A readable description string for the language, or nil if
the locale number is unrecognized.
- Errors:
- Usually none.
- See Also:
- language_by_name ,
locale_name_for_language
|