livechat / chat-window-ios

Embeding LiveChat mobile chat window in iOS application
MIT License
24 stars 31 forks source link

Localized string not found #68

Closed rupeshmishra90 closed 3 years ago

rupeshmishra90 commented 4 years ago

I've implemented LiveChat in ios. when I'm going to upload an attachment then got options from where we can upload an attachment. There are showing "localized string not found" on camera and gallery options. like following attachment. Simulator Screen Shot - iPhone 11 Pro Max - 2020-08-24 at 11 29 12

kamil-szostakowski commented 4 years ago

Hi @rupeshmishra90 could you please provide more details on how did you integrate the widget? What are the languages supported by your app? On this screen there are two languages mixed together which is odd. I tested that on our end and the widget in an app supporting Spanish (if I'm not mistaken) language looks like this. All the options are properly translated.

screen-spanish
rupeshmishra90 commented 4 years ago

Hi @rupeshmishra90 could you please provide more details on how did you integrate the widget? What are the languages supported by your app? On this screen there are two languages mixed together which is odd. I tested that on our end and the widget in an app supporting Spanish (if I'm not mistaken) language looks like this. All the options are properly translated.

screen-spanish

I'm using spanish and english in my application. I' facing issue in case of spanish

rupeshmishra90 commented 4 years ago

I'm using spanish and english in my application. I' facing issue in case of spanish

Please provide me solution.

kamil-szostakowski commented 3 years ago

@rupeshmishra90 could you please provide a minimal example reproducing this issue? It works perfectly fine on our end.

rupeshmishra90 commented 3 years ago

Using following reference to use

https://developers.livechat.com/docs/getting-started/installing-livechat/ios-widget/

rupeshmishra90 commented 3 years ago

Example-Swift.zip

rupeshmishra90 commented 3 years ago

check this

rupeshmishra90 commented 3 years ago

I've put strings key value but not reflected

"Browse" = "Vistazo";

rupeshmishra90 commented 3 years ago

Please provide a solution we are struck on it

kamil-szostakowski commented 3 years ago

@rupeshmishra90 the problem starts with this method Bundle.swizzleLocalization() when you will comment out this part the image selection UI starts working as expected. However I feel like this is not your real issue. You just want to see the entire chat widget translated to Spanish, am I correct?

rupeshmishra90 commented 3 years ago

Yes, I want to see the entire chat widget translated to Spanish

kamil-szostakowski commented 3 years ago

@rupeshmishra90 you can set the widget language in the agent app settings. Please let me know if that solves your problem.

Zrzut ekranu 2021-03-17 o 18 06 39
rupeshmishra90 commented 3 years ago

Can we set multiple language from here?

rupeshmishra90 commented 3 years ago

I have a doubt if there are two users and one using english language and other using spanish then which language we have to set here.

kamil-szostakowski commented 3 years ago

@rupeshmishra90 the dynamic language setting is not currently supported in our widget. Please file a separate ticket with a feature request so we will be able to proceed further.

kamil-szostakowski commented 3 years ago

Closing as clarified.

prabakaran-muthusamy commented 2 years ago

Hi, I'm facing localized string not found issue in chat page I have used 3 languages in my App Added strings in localised file like below

"Photo Library" = "Photo Library";
"Choose Files" = "Choose Files";

"Choose Files" = "Photothèque";
"Choose Files"= "Choisir des fichiers";

"Photo Library" = "फोटो लाइब्रेरी";
"Choose Files" = "फ़ाइलें चुनें";

PFA, please anyone help me Thanks in advance Simulator Screen Shot - iPhone 12 - 2022-01-05 at 15 32 49

rupeshmishra90 commented 2 years ago

Hi,

Is this chat support any third party or created by you.

If it's a third party then please ask them to take title from your side.

On Wed, 5 Jan 2022, 7:29 pm Prabakaran M, @.***> wrote:

Hi, I'm facing localized string not found issue in chat page I have used 3 languages in my App Added strings in localised file like below

"Photo Library" = "Photo Library";

"Choose Files" = "Choose Files";

"Choose Files" = "Photothèque";

"Choose Files"= "Choisir des fichiers";

"Photo Library" = "फोटो लाइब्रेरी";

"Choose Files" = "फ़ाइलें चुनें";

PFA, please anyone help me Thanks in advance [image: Simulator Screen Shot - iPhone 12 - 2022-01-05 at 15 32 49] https://user-images.githubusercontent.com/44673016/148228831-f7abc664-3ca9-4be8-8339-3cf8121bedd7.png

— Reply to this email directly, view it on GitHub https://github.com/livechat/chat-window-ios/issues/68#issuecomment-1005708771, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGF7WHPKCCCXAZJZJDETZRDUURFEXANCNFSM4QJKONWA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

prabakaran-muthusamy commented 2 years ago

Hi @rupeshmishra90 , Can you please let me know what is the issue there, then how to fix it For me still this issue is open

prabakaran-muthusamy commented 2 years ago

Hi @kamil-szostakowski I'm facing that localised string not found issue, how to solve this?

rupeshmishra90 commented 2 years ago

You need to ask with livechat team.

They said that you need to create two channels like one for English and second for other language and redirect accordingly.

On Tue, 18 Jan 2022, 10:30 am Prabakaran M, @.***> wrote:

Hi @kamil-szostakowski https://github.com/kamil-szostakowski I'm facing that localised string not found issue, how to solve this?

— Reply to this email directly, view it on GitHub https://github.com/livechat/chat-window-ios/issues/68#issuecomment-1015072091, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGF7WHOASMYXOZYS42F7A3DUWTXWNANCNFSM4QJKONWA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

prabakaran-muthusamy commented 2 years ago

Okay @rupeshmishra90 Any options to show English only, is this possible I mean if I changed English to French in my App Chat page will show only English

rupeshmishra90 commented 2 years ago

You can change to create Chanel with lagenge French

On Tue, 18 Jan 2022, 2:57 pm Prabakaran M, @.***> wrote:

Okay @rupeshmishra90 https://github.com/rupeshmishra90 Any options to show English only, is this possible I mean if I changed English to French in my App Chat page will show only English

— Reply to this email directly, view it on GitHub https://github.com/livechat/chat-window-ios/issues/68#issuecomment-1015222982, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGF7WHP6SF6UYISW2543FQLUWUW7TANCNFSM4QJKONWA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

prabakaran-muthusamy commented 2 years ago

Okay, in Chat admin panel right?

rupeshmishra90 commented 2 years ago

Yes, that's right.

On Tue, 18 Jan 2022, 3:40 pm Prabakaran M, @.***> wrote:

Okay, in Chat admin panel right?

— Reply to this email directly, view it on GitHub https://github.com/livechat/chat-window-ios/issues/68#issuecomment-1015259057, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGF7WHLQJFWTJ5ETLAUF5KDUWU4CBANCNFSM4QJKONWA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

prabakaran-muthusamy commented 2 years ago

I have removed other language strings from my App, added English text alone like below, but still I'm facing same issue

// ---- Live Chat Bot -----//
"PHOTO_LIBRARY" = "Photo Library";
"Choose Files" = "Choose Files";
prabakaran-muthusamy commented 2 years ago

@rupeshmishra90 I have shared my source code please check below link https://we.tl/t-keQwcehToc