Closed
Bug 662214
Opened 13 years ago
Closed 10 years ago
numbers are shown in english when lang="fa" attribute is set for an <input type=number>
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
VERIFIED
FIXED
mozilla29
People
(Reporter: smartgig, Unassigned)
References
()
Details
(Keywords: testcase, Whiteboard: [fixed by Bug 844744])
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 Build Identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 <input lang="fa" shows numbers in english while it should be in persian ! Reproducible: Always Steps to Reproduce: 1.set lang="fa" for an input box 2.try to write numbers Actual Results: numbers are shown in english Expected Results: numbers should shown in persian Try : http://64.191.99.143/permalink/input.html I have placed 2 pictures which shows results from Internet explorer, Firefox 3 and Firefox 4.
I do not get Persian numbers even in IE 8. What is the font name needed for this? Where can we download the TTF file? Is there anything Persian specific to that must be set in Tools -> Options -> Content -> Advanced ?
Updated•13 years ago
|
Version: unspecified → 4.0 Branch
(In reply to comment #1) > I do not get Persian numbers even in IE 8. What is the font name needed for > this? Where can we download the TTF file? Is there anything Persian specific > to that must be set in Tools -> Options -> Content -> Advanced ? You just need to enable locale persian/farsi support on your windows. Try : For windows 7 : Start -> Control panel -> Region and language -> Formats -> Format:Persian For windows XP Start -> Control panel -> Date, Time, Language, and Regional Options -> Regional and language Options 1-Tab2 (Languages) -> mark the "install files for complex script and right-to-left languages 2-Click on Apply 3-Tab1 (Formats) -> Farsi Then restart your pc and try again ! Thanks Mostafa Ghadamyari
Comment 3•13 years ago
|
||
I could reproduce the issue on the latest Nightly: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0a1) Gecko/20110720 Firefox/8.0a1 I changed the format to Persian (steps in Comment 2) and when I input numbers in the example page http://64.191.99.143/permalink/input.html I got the decimal instead of the specific ones. This issue is reproducible on Fx and Chrome and works with IE.
This perhaps solved on recent Nightly version http://i.imgur.com/jLrjxii.png
Comment 5•10 years ago
|
||
Like Bug 679220 this got fixed by Bug 844744 for Firefox 29+.
Updated•10 years ago
|
Summary: numbers are shown in english when lang="fa" attribute is set for an input tag → numbers are shown in english when lang="fa" attribute is set for an <input type=number>
Comment 6•10 years ago
|
||
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0 Verified as fixed using latest Aurora 29.0a2 (20140305004002). The numbers from the attached testcase are displayed in Persian.
You need to log in
before you can comment on or make changes to this bug.
Description
•