Returns the currently active language in the browser if available.
The value is returned from the ACCEPT_LANGUAGES header and this method returns the first value in this list. The format of this value is in standard Locale-SubLocale format. Here are some examples:
en-us
en-gb
de-de
de-at
de-ch
o.GetLocale(@laLanguages)
Return Value
Language ID. If no language can be found en-us is returned.
Parameters
@laLanguages
An optional array passed in by reference that receives all the available languages.
Remarks
This method return en-us if no language definition could be found. The optional array is filled with this value as well.
See also:
Class wwrequest© West Wind Technologies, 1996-2024 • Updated: 10/28/04
Comment or report problem with topic