[Critical Bug] Yes/No Logic

My app allowed change of user language.
It allowed English, and Chinese Simplified.

I found a bug where yes/no Logic failed when user using Not English.
Because, the YES/NO logic return in User Language.

I am passing data to external API, so if YES is no longer YES, it create problem.

Currently i remove yes/no when involve external api, switch to using 0/1
But i think, the YES/NO will return following user language = Good?

Screenshots please?


it return "是“ , meaning Yes in chinese.

But, i wanted the return ALWAYS in “yes” only
because it passing data to external db also…

This topic was automatically closed after 70 days. New replies are no longer allowed.