Phantasmal Site > Phantasmal API > API Listing > locale_name_for_language
API Function: locale_name_for_language
- Summary:
- takes a locale number and returns a
name for file formats or technical displays.
- Defined In LPC Object:
- /usr/System/sys/phrased.c
- Prototype:
- string locale_name_for_language(int locale)
- Can Be Called By:
- Anybody
- Description:
-
Takes a Phantasmal locale number and returns a displayable,
name for the locale. Names tend to be things like "enUS".
These names can be recognized by language_by_name, and are
meant for terse, exact, or technical forums. You should
normally not show them to your players, except perhaps in
a column display.
- 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 ,
name_for_language
|