TranslateAPI icon indicating copy to clipboard operation
TranslateAPI copied to clipboard

Invalid input String error

Open n-droidev opened this issue 3 years ago • 0 comments

You wrote this code in library.. But I dont understand why.. If result is a word that has 2 letters library gives this error.. This error occurs when I translate to Chinese:

                if(temp.length()>2)
                {
                    listener.onSuccess(temp);
                }else {listener.onFailure("Invalid Input String");}

Please remove or change 2 to 0 in this code..

n-droidev avatar Nov 23 '21 15:11 n-droidev