Language configuration
Setup language
To restrict the language of the Metamap SDK use fixedLanguage
parameter. The following languages are being supported, By default, the SDK language is the language of the device, but you can change it to add it to the list:
Language | Value |
---|---|
German | de |
English | en |
Spanish | es |
French | fr |
Italian | it |
Portuguese | pt |
Russian | ru |
Turkish | tr |
Polish | pl |
Thai | th |
For example in order to fix Spanish language in the SDK use the code snippet below:
MetaMap.shared.showMetaMapFlow(clientId: "YOUR_CLIENT_ID",
flowId: "YOUR_FLOW_ID",
metadata: ["fixedLanguage": "es"])
MetaMap.shared.showMetaMapFlow(clientId: "YOUR_CLIENT_ID",
flowId: "YOUR_FLOW_ID",
metadata: ["fixedLanguage": "es"])
[MetaMap.shared showMetaMapFlowWithClientId:@"YOUR_CLIENT_ID"
flowId:@"YOUR_FLOW_ID"
metadata:@{@"fixedLanguage":@"es"}];
Updated about 1 year ago