I need create user via apex with specific lang and country. For example with lang French and country Switzerland. I am trying create user with fields:
LanguageLocaleKey='fr_CH',
LocaleSidKey='fr_CH',
But using the above values causes this error::
System.DmlException: Insert failed. First exception on row 0; first error: INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST, Language: bad value for restricted picklist field: fr_CH: [LanguageLocaleKey]