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:
Language ID. If no language can be found en-us is returned.
An optional array passed in by reference that receives all the available languages.
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
Comment or report problem with topic