LogoLogo
🚀 Run Maestro tests in the cloud →
  • Home
  • Star us on GitHub
  • Getting Started
    • What is Maestro?
    • Installing Maestro
      • macOS
      • Windows
      • Linux
    • Build and Install your App
      • Android
      • iOS
    • Run a Sample Flow
    • Writing Your First Flow
    • Maestro Studio
    • Running Flows on CI
  • Cloud
    • Run Maestro tests in the cloud
    • Cloud Quickstart
    • CI Integration
      • GitHub Actions
        • Maestro GitHub Action for Android
        • Maestro GitHub Action for iOS
        • Maestro GitHub Action for Flutter
      • Bitrise
      • Bitbucket Pipelines
      • CircleCI
      • Integration with any CI platform
    • Pull Request Integration
    • Cloud Reference
      • Build your app for the cloud
      • Configuring OS Version
      • Configuring device locale
      • Device timezones
      • Email Notifications
      • Slack Notifications
      • Webhook Integration
      • Managing Secrets
      • Limits
      • Reusing App Binary
      • IP Allowlist
      • System Status
  • Platform Support
    • Supported Platforms
    • Android - Views
    • Android - Jetpack Compose
    • iOS - UIKit
    • iOS - SwiftUI
    • React Native
    • Flutter
    • Web Views
    • Web (Desktop Browser)
  • Examples
    • Android contacts flow automation
    • Facebook signup flow automation
    • Advanced: Wikipedia Android
    • Page Object Model
  • CLI
    • Cloud
    • Test Suites & Reports
    • Tags
    • Record Your Flow
    • Continuous Mode
    • View Hierarchy
    • Start Device
  • API Reference
    • Commands
      • addMedia
      • assertVisible
      • assertNotVisible
      • assertTrue
      • assertWithAI
      • assertNoDefectsWithAi
      • back
      • clearKeychain
      • clearState
      • copyTextFrom
      • evalScript
      • eraseText
      • extendedWaitUntil
      • extractTextWithAI
      • hideKeyboard
      • inputText
      • killApp
      • launchApp
      • openLink
      • pressKey
      • pasteText
      • repeat
      • retry
      • runFlow
      • runScript
      • scroll
      • scrollUntilVisible
      • setAirplaneMode
      • setLocation
      • startRecording
      • stopApp
      • stopRecording
      • swipe
      • takeScreenshot
      • toggleAirplaneMode
      • tapOn
      • doubleTapOn
      • longPressOn
      • travel
      • waitForAnimationToEnd
    • Common command arguments
    • Selectors
    • Configuration
      • Workspace configuration
      • Flow configuration
      • AI configuration
  • Advanced
    • Nested Flows
    • Wait
    • Loops
    • Conditions
    • Parameters & Constants
    • JavaScript
      • Run JavaScript
      • Outputs
      • Logging
      • Access element text
      • Make HTTP requests
      • GraalJS support
      • JavaScript announcement blog
    • Specify a Device
    • Configure Permissions
    • Detect Maestro in your app
    • Configure Maestro driver timeout
    • onFlowStart / onFlowComplete hooks
    • Test in different locales
    • Structuring your test suite
  • Troubleshooting
    • Known Issues
    • Frequently Asked Questions
    • Bug Report
    • Rollback Maestro
    • Debug Output
    • HOWTOs
      • Arrange your repository for Maestro tests
      • scrollUntilVisible for fragments
  • Community
    • Contributions
    • Articles & Tutorials
    • Case Studies
    • Resources
Powered by GitBook

Read to wire into CI or scale up your testing?

  • Run Maestro tests in the cloud →
On this page
  • Supported device locales on Android
  • Supported device locales on iOS

Was this helpful?

Edit on GitHub
  1. Advanced

Test in different locales

PreviousonFlowStart / onFlowComplete hooksNextKnown Issues

Last updated 3 months ago

Was this helpful?

It is possible to use maestro start-device command to create a new device with a custom locale. This functionality enables an option to write and test Maestro flows for different languages. The parameter --device-locale is a combination of + , separated by an underscore _ symbol in between them.

Let's see some examples:

Create a new iOS simulator with locale set to Italy (Italian)
maestro start-device \
  --platform ios \
  --device-locale it_IT
Create a new Android emulator with locale set to France (French)
maestro start-device \
  --platform android \
  --device-locale fr_FR

Below you can find a full list of supported device locales per platform.

Supported device locales on Android

Language code
Language name

ar

Arabic

bg

Bulgarian

ca

Catalan

zh

Chinese

hr

Croatian

cs

Czech

da

Danish

nl

Dutch

en

English

fi

Finnish

fr

French

de

German

el

Greek

he

Hebrew

hi

Hindi

hu

Hungarian

id

Indonesian

it

Italian

ja

Japanese

ko

Korean

lv

Latvian

lt

Lithuanian

nb

Norwegian-Bokmol

pl

Polish

pt

Portuguese

ro

Romanian

ru

Russian

sr

Serbian

sk

Slovak

sl

Slovenian

es

Spanish

sv

Swedish

tl

Tagalog

th

Thai

tr

Turkish

uk

Ukrainian

vi

Vietnamese

Country code
Country name

AU

Australia

AT

Austria

BE

Belgium

BR

Brazil

GB

Britain

BG

Bulgaria

CA

Canada

HR

Croatia

CZ

Czech Republic

DK

Denmark

EG

Egypt

FI

Finland

FR

France

DE

Germany

GR

Greece

HK

Hong-Kong

HU

Hungary

IN

India

ID

Indonesia

IE

Ireland

IL

Israel

IT

Italy

JP

Japan

KR

Korea

LV

Latvia

LI

Liechtenstein

LT

Lithuania

NL

Netherlands

NZ

New Zealand

NO

Norway

PH

Philippines

PL

Poland

PT

Portugal

CN

PRC

RO

Romania

RU

Russia

RS

Serbia

SG

Singapore

SK

Slovakia

SI

Slovenia

ES

Spain

SE

Sweden

CH

Switzerland

TW

Taiwan

TH

Thailand

TR

Turkey

UA

Ukraine

US

USA

VN

Vietnam

ZA

Zimbabwe

Supported device locales on iOS

Locale code
Locale name

en_AU

Australia (English)

nl_BE

Belgium (Dutch)

fr_BE

Belgium (French)

ms_BN

Brunei Darussalam

en_CA

Canada (English)

fr_CA

Canada (French)

cs_CZ

Czech Republic

fi_FI

Finland

de_DE

Germany

el_GR

Greece

hu_HU

Hungary

hi_IN

India (Hindi)

id_ID

Indonesia

he_IL

Israel

it_IT

Italy

ja_JP

Japan

ms_MY

Malaysia

nl_NL

Netherlands

en_NZ

New Zealand

nb_NO

Norway

tl_PH

Philippines

pl_PL

Poland

zh_CN

PRC

ro_RO

Romania

ru_RU

Russia

en_SG

Singapore

sk_SK

Slovakia

ko_KR

Korea

sv_SE

Sweden

zh_TW

Taiwan

th_TH

Thailand

tr_TR

Turkey

en_GB

UK (English)

uk_UA

Ukraine

es_US

USA (Spanish)

en_US

USA (English)

vi_VN

Vietnam

pt-BR

Brazil (Portuguese)

zh-Hans

China (Simplified)

zh-Hant

China (Traditional)

zh-HK

Hong Kong

en-IN

India (English)

en-IE

Ireland

es-419

Latin America (Spanish)

es-MX

Mexico (Spanish)

en-ZA

South Africa (English)

es_ES

Spain

fr_FR

France

ISO-639-1
ISO-3166-1