nullic / DPLocalizationManager

Provides way to change localization inside application
MIT License
81 stars 21 forks source link

Default to base #6

Closed n1mda closed 9 years ago

n1mda commented 9 years ago

If a key is missing in a certain language, how come DPLocalizationManager prints the key instead of defaulting to the Base language?

nullic commented 9 years ago

If DPLocalizationManager can't find value for given key, then it return value of NSLocalizedStringFromTable macro.

Base internationalization separates user-facing strings from .storyboard and .xib files.

https://developer.apple.com/library/ios/documentation/MacOSX/Conceptual/BPInternational/InternationalizingYourCode/InternationalizingYourCode.html#//apple_ref/doc/uid/10000171i-CH4-SW1