To choose a language within the Flatfile importer, use the importer.setLanguage('xx')
method. You can use this method right after importer.setCustomer()
. The code snippet below shows an example of how to choose a language in the Flatfile importer.,
const importer = new FlatfileImporter( licenseKey, settings ) importer.setCustomer(customer); importer.setLanguage("xx"); const importOnClick = () => { importer.requestDataFromUser().then( // do something ) }
Supported languages:
- German -
de
&"de-DE"
- English -
en
,"en-CA"
,"en-GB"
&"en-US"
- Spanish -
es
&"es-ES"
- French -
fr
,"fr-FR"
&"fr-CA"
- Italian -
it
- Japanese -
ja
- Korean -
ko
- Dutch -
nl
- Polish -
pl
- Portuguese -
pt
&"pt-BR"
- Swedish -
sv
- Thai -
th
- Turkish -
tr
- Chinese -
zh
,"zh-Hans"
,"zh-Hant"
&"zh-Hant-TW"
- Indonesian -
id
Comments
0 comments
Please sign in to leave a comment.