Device Locale
Set device language and region for localization testing.
Format
{language_code}_{COUNTRY_CODE}
Language: ISO-639-1 (lowercase)
Country: ISO-3166-1 (uppercase)
Usage
To set locale for the whole upload:
# German
dcd cloud ... --device-locale de_DE
# With device selection
dcd cloud ... --android-device pixel-6 --device-locale ja_JPTo override locale for a specific test, pass in the DeviceCloud env variable. This will override the upload setting above, but just for a single test:
# in your test.yaml
appId: my.app
env:
DEVICECLOUD_OVERRIDE_DEVICE_LCOALE: de_DE
---
# test stepsCommon Locales
European
en_GB: English (UK)de_DE: Germanfr_FR: Frenchit_IT: Italian
Asian
zh_CN: Chineseja_JP: Japaneseko_KR: Korean
RTL
ar_SA: Arabiche_IL: Hebrew
Last updated
Was this helpful?