ALLocalizables 3.0.1

ALLocalizables 3.0.1

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Nov 2016
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Antoine v.d. Lee.




ALLocalizables

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Localizable labels directly from the interface builder

Set the baseclass of your interface UILabel or UIButton to ALLocalizableLabel or ALLocalizableButton and enter the localization string in the new available property Localize string. This will update the label directly in the interface builder, based on your localization file.

Interface Builder property

Make sure to enable Automatically Refresh Views through the menu: Editor->Automatically Refresh Views when you’re in the interface builder.

Reference

This project is a result of a StackOverflow post: http://stackoverflow.com/a/27418239/1485701

Requirements

  • Xcode 8
  • iOS 8.0+

Installation

ALLocalizables is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "ALLocalizables"

Swift version vs Pod version

Swift version Pod version
3.X >= 3.0.0
2.3 2.0

Author

Antoine van der Lee, [email protected]

License

ALLocalizables is available under the MIT license. See the LICENSE file for more info.