crisp-sdk-ios icon indicating copy to clipboard operation
crisp-sdk-ios copied to clipboard

Problems with Arabic Language iOS SDK

Open iTarek opened this issue 2 years ago • 14 comments

Hello My App works on Arabic no matter the device local, I did not find a way to set the Crisp SDK local, tried CrispSDK.locale = NSLocale(localeIdentifier: "ar") as Locale But it's not working

If I changed the device language to Arabic, the Crisp SDK detect the device local language and works in Arabic but there are few bugs...

The 'Starting Chat...' message always in English IMG_2063

There is a problem with the close button overlap the header text, also the header text not on the correct place it's far on the right without margin like the other LTR languages. IMG_46A275110549-1 Also there is words on English like Tap to set your email

And if you click on the arrow near the set your email, the email field go out of the screen IMG_9DD2CBBA0243-1

Also when long press on a message, the text is not localized, And what is the 'system' name near the moderator icon? Also notice that the date is wrong IMG_992AF5C9D912-1

There is more bugs, but the most important thing is be able to set the Crisp SDK language no matter the device language.

Thank you

iTarek avatar Aug 11 '21 19:08 iTarek

Is this React Native?

baptistejamin avatar Aug 11 '21 20:08 baptistejamin

Is this React Native?

No this is native iOS using Swift

iTarek avatar Aug 11 '21 21:08 iTarek

Can you please send us a screen recording showing the issues?

baptistejamin avatar Aug 11 '21 21:08 baptistejamin

Can you please send us a screen recording showing the issues?

No problem I will do that, Just it's so important to have a way to change the Crisp SDK language away from user device language, is there a way to do that?

iTarek avatar Aug 11 '21 21:08 iTarek

I would need to verify this with the tech team and show the other bugs reported at the same time once screen recording is sent.

baptistejamin avatar Aug 11 '21 21:08 baptistejamin

Here you are a Video for most of the bugs when using Arabic, but I had to change the all device language to Arabic to use the SDK in Arabic, as I said you should have a way to change the SDK language.

https://www.dropbox.com/s/riafpt6jidvo6cd/RPReplay_Final1628719091.MP4?dl=0

Thank you for your help and I wish if you can solve this problem soon and we will recommend your service to all Arabic developer community.

I also can help for free to bring the Contact Form in Arabic, Just send the localize strings in English and I will translate it to Arabic, it's so Important to have Contact From in Arabic to be able use unified inbox in the best way.

iTarek avatar Aug 11 '21 22:08 iTarek

Thank you for all this. We will get back to you with updates asap.

baptistejamin avatar Aug 11 '21 22:08 baptistejamin

I know that you get header background from the backend also get the default welcome message, why not get the language from the backend too?

iTarek avatar Aug 12 '21 13:08 iTarek

Can we have update soon so I can include Crisp with our next update

iTarek avatar Aug 18 '21 12:08 iTarek

Any update?

iTarek avatar Sep 03 '21 15:09 iTarek

Not yet! We'll get back to you once we have an update.

eliottvincent avatar Sep 03 '21 15:09 eliottvincent

I am waiting for an update as well 🤩

abdulazizSi avatar Sep 29 '21 05:09 abdulazizSi

@baptistejamin I have same problem and it's very important for us, please solve this bug ASAP

Thank you

EssamSoft avatar Nov 26 '22 20:11 EssamSoft

Hi, our agents are offline at the moment. Please leave a message and we will get back to you as soon as possible.

baptistejamin avatar Nov 26 '22 20:11 baptistejamin

Hi everyone,

It’s been a while since this issue was reported, and we’ve launched a new major version of the Crisp SDK since then. The updates might have resolved the issue you encountered.

We’d appreciate it if you test the latest version to see if the issue persists. Feel free to reopen this issue with more details if needed.

Thanks for your support!

nesium avatar Aug 07 '23 09:08 nesium

After making 'locale' is deprecated: locale is no longer available CrispSDK.locale = NSLocale(localeIdentifier: "ar") as Locale

is there anyway to force the CrispSDK to use a language?

iTarek avatar Nov 13 '23 18:11 iTarek