Skip to main content
Transform your testing process with: Real Device Features, Company-wide Licences, & App Percy
No Result Found
Get your setup working faster. Join our Discord for optimisation tips from elite testers. Join our DiscordJoin our Discord

Use localization options for Flutter integration tests

Test a localized version of your apps by changing the language and locale settings for your Flutter test executions on BrowserStack App Automate.

To test a localized version of your app, you can configure language and locale settings on the device. To achieve this, you need to set the language or locale parameter in the builds REST API (Android or iOS) and start the Flutter test execution.

You can pass these parameters as a group or individually.

Parameter Description Values
language Set the language of the app. Example: ‘fr’
You can view the complete list of languages on Wikipedia.
locale Set the locale of your app. Example: CA
Format: Country name abbreviation
You can view the complete list of locale on Wikipedia.

Example cURL request to set all the parameters:

Terminal
Copy icon Copy
Terminal
Copy icon Copy
  • language and locale change settings at an app level.

  • BrowserStack’s paid plans offer access to language and locale features. You can check the available paid plans.

  • Manage your uploaded apps or test packages using our REST API (Android or iOS).

  • Use the list recent builds API (Android or iOS) to list your recently uploaded apps.

  • Delete your uploaded apps or test packages using the delete API endpoint (Android or iOS).

  • If you have any queries, get in touch with us.

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback!

Talk to an Expert
Download Copy Check Circle