Localization
By default, the application’s localization is inherited from the OS. To set the language independently of the system locale, use the following property at startup:
DocReader.shared.languageLocaleCode = "es-ES"
[RGLDocReader shared].languageLocaleCode = @"es-ES";
DocumentReader.Instance().locale = "es-ES"
DocumentReader.Instance().locale = "es-ES";
DocumentReader.instance.locale = "es-ES";
DocumentReader.setLocale("es-ES", _ => { }, _ => { })
DocumentReader.setLocale("es-ES")
DocumentReader.setLocale("es-ES", function (m) { }, function (e) { })
// Android
DocumentReader.Instance().Locale = "es-ES";
// iOS
RGLDocReader.Shared.LanguageLocaleCode = "es-ES";
To navigate to the detailed localization guides, pick the platform of interest:
The Document Reader SDK supports the following languages:
| Language name | iOS language code | Android language code |
|---|---|---|
| Arabic | ar |
ar |
| Armenian | hy |
hy |
| Bangla | bn |
bn |
| Czech | cs |
cs |
| Danish | da |
da |
| German | de |
de |
| Greek | el |
el |
| English | en |
en |
| Spanish | es |
es |
| Finnish | fi |
fi |
| French | fr |
fr |
| Hebrew | he |
iw |
| Hindi | hi |
hi |
| Croatian | hr |
hr |
| Hungarian | hu |
hu |
| Indonesian | id |
in |
| Italian | it |
it |
| Japanese | ja |
ja |
| Korean | ko |
ko |
| Kyrgyz | ky |
ky |
| Malay | ms |
ms |
| Norwegian | nb |
nb |
| Dutch | nl |
nl |
| Polish | pl |
pl |
| Portuguese | pt |
pt |
| Romanian | ro |
ro |
| Russian | ru |
ru |
| Slovak | sk |
sk |
| Swedish | sv |
sv |
| Thai | th |
th |
| Turkish | tr |
tr |
| Ukrainian | uk |
uk |
| Uzbek | uz |
uz |
| Vietnamese | vi |
vi |
| Chinese Simplified | zh-Hans |
zh |
Info
Wrappers will retrieve language values directly from the native platforms (iOS and Android).