Chat Language Localisation iOS
Language localisation has been integrated my app. We are having English and Arabic.
How to pass arabic language code "ar" to Zendesk iOS SDK?
Hey Gopal C,
Thanks for reaching out!
Here's a link which goes in to detail on how to implement language localization:
If you have any questions at all, feel free to let me know your use case in a bit more detail and I'll be happy to help out further.
Thanks Tipene !!
I am having only one doubt.
How existing SDK working?
They are capturing iPhone device language. If my phone language is in arabic then Zendesk Chat also open in Arabic. If my phone language is in English then Zendesk Chat also open in English.
What do we need?
Without changing iPhone device language, one can change app language alone within their app. Device language in English, but my app can open in Arabic / English / German. This can be achieved by changing language code [en to ar/ru/de].
To Zendesk SDK we are passing VisitorInfo, Client id, Account key from Our App.
Like this, any way to pass Language code [ar/en/ru] to Zendesk SDK?
Hi Gopal C,
The SDKs don't support changing the locale at runtime so you will not be able to programmatically change the UI locale. I've tried on Android which ended in the writing going right to left after switching to Arabic but the element stayed in english.
The only existing function about language is the Help Center Locale Override which doesn't affect the UI but changes which locales are the articles pulled from.
We have this article available that summarise this: https://support.zendesk.com/hc/en-us/articles/4408825038746-How-do-language-translations-work-in-the-mobile-SDK-user-interface-and-HelpCenterActivity
Hope this helps!
Por favor, entrar para comentar.