https://github.com/lightbuzz/localization-ios
Explicit Localization in iOS
https://github.com/lightbuzz/localization-ios
Last synced: 12 months ago
JSON representation
Explicit Localization in iOS
- Host: GitHub
- URL: https://github.com/lightbuzz/localization-ios
- Owner: LightBuzz
- License: mit
- Created: 2016-12-11T23:51:19.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-12T00:27:11.000Z (over 9 years ago)
- Last Synced: 2025-02-10T03:31:53.553Z (over 1 year ago)
- Language: Swift
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Explicit Localization in iOS
Learn how to localize your iOS (iPhone/iPad) app by selecting the language programmatically.

## Features
### Get the languages supported by the current app
var supportedLanguages = LocalizedResources.supportedLanguages
### Set the language
LocalizedResources.setLanguage(language: "English")
### Localize content
label.text = LocalizedResources.getString(key: "label_text")
picture.image = UIImage(named: LocalizedResources.getString(key: "image_name"))
## Contributors
* [Vangos Pterneas](http://pterneas.com)
* [George Karakatsiotis](http://lightbuzz.com)
## License
Licensed under the [MIT License](https://github.com/LightBuzz/Localization-iOS/blob/master/LICENSE).