MoathOthman / MOLH

Localization helper for iOS apps mainly focusing on the LTR/RTL issue
MIT License
117 stars 36 forks source link

Arabic is always the defaults language #23

Closed Ali-Alhasani closed 6 years ago

Ali-Alhasani commented 6 years ago

Hi, could you help me, what is the best way to define Arabic as the default language?

I did this in App delegate MOLH.shared.activate(true) MOLH.setLanguageTo("ar") MOLH.reset()

but the problem with the TextView is not RTL, I have justified and centre text attributed alignment

I need to restart the app to see the correct alignment

MoathOthman commented 6 years ago

@AliHassany can you try to use MOLHLanguage.setDefaultLanguage