Demo your apps in local language.
Demonstrating an app with localized setting (geography, language etc) is consistently requested by our developer base. We value it and so rolling out a feature to enable demoing of app in local languages.
Now apps can be demonstrated to the users in localized environment of device. You set a locale for your app and AppSurfer will run the app using the provided locale.
Here are the ways to set locale for you app -Â
 Setting Locale for App -
For all app runs that happen, this locale will be used.
For setting  app locale, you just have to pass locale as specified in app APIs here - https://github.com/RainingClouds/AppSurferApi/blob/master/sections/apps.md#2-create-app
Locale can be set from app create API call or app update API call.
* Currently app specific locale can be set via API only.
 Setting Locale for Widget -
Locale can be set for particular widgets by adding `locale` parameter in widget iframe URL. For e.g. to have 'fr_CA' as locale, you can add `locale=fr_CA` to widget iframe URL.
Locale is set for widget as well as app, widget specific locale will take priority.
Widget API also provide a way to get the widgets with specific locale set. Check API documentation here -Â https://github.com/RainingClouds/AppSurferApi/blob/master/sections/widgets.md#get-widget-code--
 With Javascript API -Â
Javascript API for AppSurfer widgets are coming soon. It will let you set locale, get logs for currently running and app much more. Keep an eye on blog for release news :)
 Here is a link to complete API documentation - https://github.com/RainingClouds/appsurferApi


















