- support RTL/LTR language
- support localization from StoryBoard
- support Image RTL from StoryBoard
- change Language without Restarting Application
- localize Fonts by substitute font
using pods
pod 'LocalizableLib'
import LocalizableLib
// for left to right language
MoLocalization.set(lang: "ar",
isRightToLeft: true,
forceReset: true,
startStoryBorad: "Main",
startViewController: "ViewController")
// for right to left language
MoLocalization.set(lang: "en",
isRightToLeft: false,
forceReset: true,
startStoryBorad: "Main",
startViewController: "ViewController")
MoLocalization.currentAppleLanguage()
// localizable programmatically
lbl.text = "changeLanguage".localized()
import LocalizableLib
if MoLocalization.currentAppleLanguage() == "ar" {
UITextField.appearance().substituteFontName = "Arial"
UILabel.appearance().substituteFontName = "Arial"
UILabel.appearance().substituteFontNameBold = "Arial-Bold"
UITextField.appearance().substituteFontNameBold = "Arial-Bold"
}