Language of the SDK texts and its components.
Attribute: language
language
Type: Language | string | object
Language
string
object
Default value: undefined (Spanish by default at runtime)
undefined
es
Spanish.
en
English.
pt
Portuguese.
import { Language } from '@facephi/sdk-web-wc'; provider.language = Language.es;
SDK text language. If not defined, facephi-sdk-provider it uses Spanish at runtime.
facephi-sdk-provider
It also supports string or object for advanced text customization. See the full information in the Customization section.
Last updated 1 month ago
import { Language } from '@facephi/sdk-web-wc'; <facephi-sdk-provider apikey={process.env.FACEPHI_SDK_APIKEY} language={Language.es} />