Localization

SetLocale

Description:

1C:Enterprise calls this method to set add-in locale by locale code. The add-in can configure its environment to ensure correct data presentation.

Syntax:

HRESULT SetLocale(BSTR bstrLocale);

Parameters:

bstrLocale

Type: BSTR. Locale string in the following format: <language>-<REGION>. Example: en-US.

Return value:

  • S_OK


Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.