RALocalization is a simple framework that improves localization in Swift iOS apps - providing cleaner syntax and in-app language switching
To run the example project, clone the repo, and run pod install
from the Example directory first.
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`.
RALocalization is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'RALocalization'
rallahaseh, rallahaseh@gmail.com
RALocalization is available under the MIT license. See the LICENSE file for more info.