RALocalization
RALocalization is a simple framework that improves localization in Swift iOS apps - providing cleaner syntax and in-app language switching
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Usage
Import the framework
import RALocalization
Add .swizzleClassesMethods()
in AppDelegate, setter RTL methods
RALocalizer.swizzleClassesMethods()
For change language use .setLanguage(language: *required language*)
Example:
RALanguage.setLanguage(language: .hebrew)
If you have a subview with `UIImageView` just add tag (-1) to it to RTL if your using `Hebrew` or `Arabic`.
Installation
RALocalization is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'RALocalization'
Author
rallahaseh, rallahaseh@gmail.com
License
RALocalization is available under the MIT license. See the LICENSE file for more info.