Localize directly from Storyboard or Xib, it will automatically update all texts after in app language changing, without any line of code.
To run the example project, clone the repo, and run
pod install from the Example directory first.
NSVLocalizationKit is available through CocoaPods. To install
it, simply add the following line to your Podfile:
So basically you will set localizable keys from storyboard and it will localize it, the main idea is when you have language change in app, you will have to subscribe to language change notification to update your UI. This library will automatically update any text set from storyboard, so you will not have to localize it from code, and subscribe to notifications. It is helpful when you have in app language change.
NSVLocalizationKit allows you to localize directly from
Xib, it uses
Localize-Swift and will automatically update all views, when language is changed, without any line of code written in
localized Titles. Because we can't use arrays as a
@IBInspectable, you will have to give string seperated with comma, for each segment. Check the example project.
localized Text for text and
localized Placeholder for placeholder.
Narek1994, [email protected]
Subscribe to iOS Example
Get the latest posts delivered right to your inbox