Phantasmal MUD Lib for DGD

Phantasmal Site > Phantasmal API > API Listing > set_locale

API Function: set_locale

Summary:
set the user's locale

Defined In LPC Object:
/usr/System/obj/user.c

Prototype:
void set_locale(int new_locale)

Can Be Called By:
System, Common, Game

Description:

Set the user's locale as an integer. Please be careful that the locale is valid!

Return Value:

None.

Errors:
Normally none.

See Also:
get_locale , name_for_language , language_by_name