# AG\_GETLOCALE > [HTML Version](ag_getlocale.htm) _Reviewed and revised December 2023_ **tab(-10, AG\_GETLOCALE); chr(127);** [Tab(-10,x) Syntax Notes](ag_xxx_syntax-notes.htm.md) AG\_getLOCALE (115) retrieves the name of the user's locale on the client workstation. **Parameters** _locale_ the name of the locale on the client, e.g. "en-US," the Windows indication for English language with USA regional settings. **Response** _locale_ CR **Comments** There is not currently an equivalent MX\_ version to get the server locale, but for ATSD connections, you can use the utility function Fn'GetUserDefaultLocaleName\$() in the SOSFUNC:fnwin32utl.bsi module to get the same information. For Linux, the following command will work: xcall HOSTEX, "locale | grep LANG=", status, locale\$ **History** 2023 September, A-Shell 6.5.1742: Function added to A-Shell.