Testing in different locales

It is possible to start a maestro device in 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 ISO-639-1 + ISO-3166-1 with using underscore _ symbol in between them. Here are some example usages:

maestro start-device --platform ios --device-locale it_IT // sets iOS simulator locale to Italy(Italian)
maestro start-device --platform android --device-locale fr_FR // sets Android emulator locale to France(French)

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

Supported device locales on Android

Supported device locales on iOS

Last updated