CountryCodePickerProject
CountryCodePickerProject copied to clipboard
ccp_autoDetectLanguage misbehaving when changing language 2 times
Hello I face to the issue and I don't know how to fix it. Please give some help! My app support 2 language English and Chinese. Normally, opening the app and the language is English, ccp's language is also English too. It's correct. But when I change app's language is Chinese and change it back to English -> open ccp dropdown -> the language still is Chinese.
Does this happen when you restart the app after changing language back to English?
On Sun, May 15, 2022 at 09:54 huutuan06 @.***> wrote:
Hi, I face to the issue and I don't know how to fix it. Please give some help! My app support 2 language English and Chinese. Normally, opening the app and the language is English, ccp's language is also English too. It's correct. But when I change app's language is Chinese and change it back to English -> open ccp dropdown -> the language still is Chinese.
— Reply to this email directly, view it on GitHub https://github.com/hbb20/CountryCodePickerProject/issues/541, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABFQ32EG7G7T43KRVCT3JKTVKEM3DANCNFSM5V7IV5GQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
When I restart the app, the language is also back to English (the same language as the app).
Interesting. will look into it but does not look like it's stopping user from doing intended work.
On Sun, May 15, 2022 at 10:05 huutuan06 @.***> wrote:
When I restart the app, the language is also back to English (the same language as the app).
— Reply to this email directly, view it on GitHub https://github.com/hbb20/CountryCodePickerProject/issues/541#issuecomment-1126970638, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABFQ32HNZYCU27M3FO3LOJLVKEOFFANCNFSM5V7IV5GQ . You are receiving this because you commented.Message ID: @.***>
Yes, thank you. It will look nice to be get fixed.
I tried to reproduce this on my sample app but it worked every time. Is there some configuration that you are doing? Can you share some public repository of your sample project where I can reproduce this?
https://user-images.githubusercontent.com/4918760/168503951-96b2f49a-24b4-4712-b74d-f367e0f9d643.mov
I can not reproduce the same error on new sample project. I don't know why. But it still leads to another error like the video below: The language of ccp only changes when we set that one language for the second time
https://user-images.githubusercontent.com/47626041/168622249-a6798ec8-af89-434f-bd88-cd9160d38b96.mp4
For chinese, ccp language always is English (you can check at the next screen by clicking on next button). This is my sample project: https://github.com/huutuan06/ErrorCcp
The video look too fast, I am sorry. The error happen on the video after clicking Vietnamese -> click CCP (show vietnam's language, it's correct) -> click English -> click CCP (still show vietnam's language, ERROR) -> click English (show English, correct)