thyrlian/AwesomeValidation

Problem when using another language..

SunilThombare opened this issue · 8 comments

The validation from a-z or A-Z is not working when using another language input. Which does not contain these alphabets.
Please help
SUNIL THOMBARE, INDIA, Pune +91-9423009650

Sorry to hear that. But could you be more specific how to reproduce the issue. Would be great to show some code snippet, or even the project repository if possible. Thanks.

Thanks a lot for your compliment, and I really appreciate your feedback.

Sorry about my knowledge in Marathi, have you tried building your own regex to validate the user input, instead of using the built-in ones? And in order to match Marathi charaters, you need to check specified Unicode block. Please google marathi regex or unicode regex for more examples. This library just helps you build your validation system, the real validation job will be done by Java, as long as you provide a valid regex, it should work. The problem is not on the library side, but you need to build a working regex.

Please try something like:

mAwesomeValidation.addValidation(activity, R.id.edt_name, "[YOUR_MARATHI_REGEX]", R.string.err_name);

Let me know how it works. Thanks.

Good to hear it's working for you :)

Sorry @SunilThombare but that is out of my knowledge and off topic. You should try ask on stackoverflow.