Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

turkish number format is similar like Germany format #594

Open
suatsuphi opened this issue Nov 30, 2018 · 0 comments
Open

turkish number format is similar like Germany format #594

suatsuphi opened this issue Nov 30, 2018 · 0 comments

Comments

@suatsuphi
Copy link

suatsuphi commented Nov 30, 2018

Hi,
I have tried your library for number and date. date is working but number have a problem that if I use Germany language, Format is 1.234,56 I get this error: "Invalid input."
it is working but There is a validation problem. you get validation error and you cant submit
Could you fix it? type="number"

<input asp-for="Price" class="form-control" type="number"/>

Also I created Turkish Language. could you add it ?
formcfg-tr.zip

Style Countries
1,234,567.89 Canada (English-speaking; unofficial), China, Hong Kong, Ireland, Israel, Japan, Korea, Malaysia, México, New Zealand, Pakistan, Philippines, Singapore, Taiwan, Thailand, United Kingdom, United States.
1234567.89 SI style (English version), Australia, Canada (English-speaking), China, Sri Lanka, Switzerland (officially encouraged for currency numbers only[40]).
1234567,89 SI style (French version), Albania, Belgium (French), Bulgaria, Canada (French-speaking), Czech Republic, Estonia, Finland, France, Hungary, Italy, Kosovo, Latin Europe, Norway, Peru, Poland, Lithuania, Russia, Slovakia, South Africa, Sweden, Switzerland (officially encouraged, except currency numbers[40]), Ukraine.
1,234,567·89 Ireland, Malaysia, Malta, Philippines, Singapore, Taiwan, United Kingdom (older, typically hand written)[41]
1.234.567,89 Argentina, Austria, Belgium (Dutch: most common), Bosnia and Herzegovina, Brazil, Chile, Costa Rica, Croatia,[42][43] Denmark, Germany, Greece, Indonesia, Italy, Netherlands, Portugal, Romania, Slovenia, Spain,[44]Turkey, Vietnam.
12,34,567.89 Bangladesh, India (see Indian Numbering System).
1'234'567.89 Switzerland (computing), Liechtenstein.
1'234'567,89 Switzerland (handwriting).
1.234.567'89 Spain (handwriting).
123,4567.89 China (based on powers of 10 000—see Chinese numerals).

http://www.wikizeroo.net/index.php?q=aHR0cHM6Ly9lbi53aWtpcGVkaWEub3JnL3dpa2kvRGVjaW1hbF9tYXJr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant