In #103 Testing Localization Using Launch Arguments, we talked about using launch arguments to run your app to test your app's localization strings against specific languages. Often, when you are developing an app and laying out a screen, you don't have the localized strings for various languages ready yet. Changing layout to accommodate a label for another language later is harder and easy to miss. There's a launch argument that can help. Specify -NSDoubleLocalizedStrings YES
and every string returned by NSLocalizedString
will be doubled in width, effectively stimulating how localized text may look like.
Your feedback is valuable: Do you want more nuggets like this? Yes or No
.
.