fastlane-old / snapshot

Automate taking localized screenshots of your iOS app on every device
https://fastlane.tools
1.96k stars 141 forks source link

Open locale from outside of SnapshotHelper #429

Closed sashabelonogov closed 8 years ago

sashabelonogov commented 8 years ago

This helps getting the full locale name from within the UI-Tests. It was critical for the screenshots that are used in my company and probably will be really useful for someone else. We have to take different screenshots for different regions, for example:

For es-MX we show Mexico City on the screenshot, For es-ES we show Barcelona on the screenshot, For es-CH we show something else.

We achieved it this way and I wanted to share this solution with everyone else.

KrauseFx commented 8 years ago

Looks good, thanks for your contribution to fastlane :+1: