https://github.com/jjjjaren/uilocalizationkit
Add localization string keys directly to Interface Builder elements
https://github.com/jjjjaren/uilocalizationkit
localisation localization swift swift4
Last synced: about 1 year ago
JSON representation
Add localization string keys directly to Interface Builder elements
- Host: GitHub
- URL: https://github.com/jjjjaren/uilocalizationkit
- Owner: jjjjaren
- License: mit
- Created: 2018-04-24T01:21:03.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-20T07:43:47.000Z (almost 8 years ago)
- Last Synced: 2025-03-06T05:35:05.091Z (over 1 year ago)
- Topics: localisation, localization, swift, swift4
- Language: Swift
- Homepage:
- Size: 39.1 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# UILocalizationKit
[](https://github.com/jjjjaren/UILocalizationKit)
[](https://github.com/CocoaPods/CocoaPods)
[](http://cocoapods.org/pods/UILocalizationKit)
[](http://cocoapods.org/pods/UILocalizationKit)
[](https://swift.org)
[](http://twitter.com/jjjjaren)
## Example
To run the example project, clone the repo, and run `pod install` from the Example directory first.
## Installation
UILocalizationKit is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:
```ruby
pod 'UILocalizationKit'
```
## Usage
UILocalizationKit starts working out of the box, no import statements required!
Once installed, you will see a new ```Localized Key``` field in your Attribute Inspector for many Interface Builder elements.

The value for ```Localized Key``` should correlated to a key specified in your ```Localizable.strings``` file.
## Supported Interface Elements
- [x] ```UIBarItem``` (```title```)
- [x] ```UIButton``` (```title```)
- [x] ```UILabel``` (```text```)
- [x] ```UISearchBar``` (```placeholder```)
- [x] ```UITextField``` (```placeholder```)
- [x] ```UITextView``` (```text```)
- [x] ```UIViewController``` (```title```)
## Author
jjjjaren, jjjjaren@gmail.com
## License
UILocalizationKit is available under the MIT license. See the LICENSE file for more info.