Hi All,
We are in process of localizing our application and we wanted to perform some pseudolangugae testing on device. Xcode currently provides a way to test "Double Length Pseudolanguage" and "Show non-localized strings" options under a scheme. And these options work perfectly when I run the application in simulator. Is it possible to have this enabled on the app running on device?
We are using these settings from Scheme --> Edit Scheme --> Run --> Options --> Application language and Localization Debugging. But these setting seem to work only when we run the application in simulator. Is there a way to enable these on device?
Regards,
Bhavik
Let’s split this up. Are you having problems with:
Show non-localized strings
Double Length Pseudolanguage
The combination of both
I just did a quick test of Double Length Pseudolanguage and it worked on my device. It was a really simple test:
Xcode 8.2 on macOS 10.12.2 targeting iOS 10.1.1.
Created a new project from the Single View Application template.
Added a label in the UI and then constrained it to the centre, leaving the text as the default “Label”.
Editing the scheme to Double Length Pseudolanguage.
Ran it on my device.
The label displays as “Label Label”.
One thing I missed pointing out was that I am compiling and building the application through command line and not through Xcode. Does it matter? I guess it would, right?
If you’re building it from the command line, how are you installing it? These options don’t affect the built code, but rather set environment variables to enable the feature. Thus, if you run from outside of Xcode you won’t get the feature.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"