Finding Non-localized Strings in xcode

If you have ever done some localization in xcode, you might already know how hard is it to track the non-localized strings used in the code and in storyboard. From xcode 7, there is an easy way to do that. Let me show you that.

Image for post
Image for post
https://stocksnao.io
Image for post
Image for post
Edit scheme
Image for post
Image for post
scheme editor
calculatorDisplay.text = NSLocalizedString(“Some localized string”, comment: “”)
Image for post
Image for post

Localizable strings in storyboard:

Image for post
Image for post
Storyboard strings file
Image for post
Image for post
error for storyboard objects
Image for post
Image for post
searching storyboard object
Image for post
Image for post
storyboard strings file
“GsZ-Y5–7R1.normalTitle" = "Localized title for button";

Conclusion:

If you enjoyed reading this post, please share and recommend it so others can find it 💚💚💚💚💚💚 !!!!

iOS and tvOS developer, dreamer, photographer 🤨

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store