Comments (5)
Just create The translations and submit a pull request :)
Il 01 ago 2016 12:14 PM, "megadmini" [email protected] ha scritto:
Hi,
I need to show error msg for Arabic users which not supported (
https://github.com/vekexasia/android-edittext-validator/tree/09a1a466e687e9afb4eef0daf3f179cdae8b967f/library/res
)
So I use [whatever:emptyErrorString="@string/msg_invalid_data_empty"] into
my layout xml file.
But it only shows fr msg which is the default language of the phone. Even
I force my app to use Arabic language (all other UI are correctly in
Arabic).
And when I use a Validator from java like thisMultiValidator tmpValidator = new AndValidator();
tmpValidator.enqueue(new
FormAlphaNumericValidator(getResources().getString(R.string.msg_invalid_data_format)));
tmpValidator.enqueue(new
EmptyValidator(getResources().getString(R.string.msg_invalid_data_empty)));
mScannedDocNumber.addValidator(tmpValidator);My FormAlphaNumericValidator extends AlphaNumericValidator show correctly
the error msg in Arabic. But not the EmptyValidator.
Are there a better way to show error msg in Arabic, or should I extends
all needed Validators ?Thanks,
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#46, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAMPS5-YTot2a_ca1Bzh0jBD7BZcbfQ8ks5qbccAgaJpZM4JZcJV
.
from android-edittext-validator.
OK. I will.
But just to confirm, passing a custom string to the constructor do not really change the error msg ?
new EmptyValidator(getResources().getString(R.string.msg_invalid_data_empty)));
from android-edittext-validator.
Depends on the validator. but correct way to localize is to create proper
string values for the desired language
On Mon, Aug 1, 2016 at 1:23 PM, megadmini [email protected] wrote:
OK. I will.
But just to confirm, passing a custom string to the constructor do not
really change the error msg ?
new
EmptyValidator(getResources().getString(R.string.msg_invalid_data_empty)));—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#46 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAMPS14VuIEdJU8kD2NvdDEcRSkCuMuLks5qbdcZgaJpZM4JZcJV
.
Andrea Baccega
[image: Email][email protected]
[image: Hangouts][email protected]
[image: Personal site] http://www.andreabaccega.com/ [image: Linkedin
Profile] http://it.linkedin.com/in/andreabaccega [image: Facebook]
https://www.facebook.com/andrea.baccega [image: Google+]
https://plus.google.com/109217393200753135791 [image: Twitter]
http://twitter.com/veke87 [image: StackOverflow]
http://stackoverflow.com/users/314407/andrea-baccega [image: GitHub]
https://github.com/vekexasia
from android-edittext-validator.
waiting for the pull acceptation :)
from android-edittext-validator.
Done, will release it today :) thank you and sorry for the delay.
from android-edittext-validator.
Related Issues (20)
- min number of characters? HOT 3
- nocheck HOT 1
- How to use it in eclipse HOT 1
- password and confirm password match validation HOT 4
- show error icon on left HOT 1
- two column of one has filled validation HOT 4
- Specific pattern of check HOT 1
- Special Char HOT 3
- Error inflating class com.andreabaccega.widget.FormEditText
- NumericRangeValidator only supports integer values HOT 2
- Error string/exclamation mark not showing on validation fail HOT 9
- How to add formedittext property programmatically HOT 1
- floatNumericRange -> float ranges HOT 1
- api target 25 - not working at all for testTypes HOT 1
- set optional field HOT 1
- using with AutoCompleteTextView HOT 1
- Create ValidatingEditTextPreference for android.support.v7.preference.EditTextPreference HOT 1
- ClassCastException HOT 1
- Failed to resolve: com.andreabaccega:android-edittext-validator:1.3.0 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-edittext-validator.