Products Downloads


French version


 


This function is used to retrieve information on the language and country currently in use.  

This information is set out as a string, shown below:  

"lg_CO"

where

 lg is the ISO 639 language code,

 CO is the ISO 3166 country code.


List of language codes and country codes.


By default, the (language/country) pair is that given by the browser. However, it is possible to modify it using the VaToolBxAwsSetLocale function.


Context

  • Adelia Web client (except web services)


Parameters

ALPHA(n)

Language_Country

(n>=5)

BOOL

ReturnCode

Return code for the operation:

*TRUE   if the operation was completed successfully.

*FALSE  if it was not.


Example

ALPHA(5)

l_Locale

BOOL

Returncode


CALL_DLL 'VaToolBx' 'VaToolBxAwsGetLocale' l_Locale Returncode


=> l_Locale contains "en-GB"


List of the VaToolBx functions by topic


↑ Top of page

  • Aucune étiquette