GetUserLanguages
Returns a string array of language locale codes for the user’s browser. You can use this information to send language- and country-appropriate to a microsite.
This function doesn’t work with CloudPages. To retrieve language information for CloudPages, use the Platform.Request.GetRequestHeader() function to retrieve the Accept-Language
header.
Platform.Request.GetUserLanguages()
To execute this function, call it without any parameters.
The code example returns a locale code derived from the user’s browser headers.