Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4

The User Agent Library

The User Agent library provides access to information about the user agent string. The following functions are available:

The language Function

The useragent:language returns the natural language version of language.

The following is an example of useragent:language.

pre{
  naturalLanguage = useragent:language();
}
  • No labels