Language locale structure.
#include "am_auth.h" typedef struct am_auth_locale { const char *language; const char *country; const char *variant; } am_auth_locale_t;
This structure has the following members:
A valid ISO Language Code. These codes are the lower case, two-letter codes as defined by ISO-639. You can find a full list of these codes at a number of sites, such as:
http://www.ics.uci.edu/pub/ietf/http/related/iso639.txt
A valid ISO Country Code. These codes are the upper-case, two-letter codes as defined by ISO-3166. You can find a full list of these codes at a number of sites, such as:
http://www.chemie.fu-berlin.de/diverse/doc/ISO_3166.html
A vendor or browser-specific code. For example, WIN for Windows, MAC for Macintosh, and POSIX for POSIX.
See am_auth_test.c in the C SDK samples for an example of how to use this structure with the locale callback.