App locales and device timezones
Configure app locales and understand default device timezones in Maestro Cloud to test internationalization and time-dependent features.
Maestro Cloud allows you to configure specific app locales and understand the default timezone settings for its cloud environments. This is essential for testing internationalization (i18n) and features that depend on localized data or time.
Configure app locale
Use the --device-locale parameter with the maestro cloud command to automatically change the device locale for an upload.
The parameter value must follow the format [ISO-639-1 language code]_[ISO-3166-1 country code]. Below you find two examples:
# Set device locale to German (Germany)
maestro cloud --device-locale de_DE --app-file <APP_FILE> --flows <WORKSPACE>
# Set device locale to Japanese (Japan)
maestro cloud --device-locale ja_JP --app-file <APP_FILE> --flows <WORKSPACE>If the parameter is omitted, the default locale is en_US.
Default device timezones
All Maestro Cloud instances are physically located in Las Vegas, USA. While the physical location is the same for all devices, the default timezones differ between platforms:
Android
UTC
+00:00
iOS
Pacific Time
GMT -7
It is important to note that these timezones are fixed and cannot currently be configured via CLI flags or configuration files. If your tests depend on specific time-of-day logic, ensure your assertions account for these offsets.
Android: Regardless of the physical host region, the Android emulator defaults to UTC.
iOS: iOS simulators inherit the system time of the host macOS instance, which is set to GMT -7.
Related content
Now that you understand how locales and timezones work in the Maestro Cloud, explore other ways to customize your test environment:
Configure the OS: Run your tests on specific Android API levels or iOS versions.
Last updated