MoathOthman / MOLH

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

Incorrect currentAppleLanguage when setting the default language. #40

Open MVakas opened 5 years ago

MVakas commented 5 years ago

After setting the following in AppDelegate

     MOLHLanguage.setDefaultLanguage("ar")
       MOLH.shared.activate(true)

I'm getting the following

        print(MOLHLanguage.currentAppleLanguage())    // prints en
        print(MOLHLanguage.currentLocaleIdentifier())   // print en_US
MoathOthman commented 4 years ago

@MVakas sorry for the late response, have you tried it on device?

ASamirbadran commented 3 years ago

same here on the first run