If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

numbers are shown in english when lang="fa" attribute is set for an <input type=number>

VERIFIED FIXED in mozilla29

Status

()

Core
DOM: Core & HTML
VERIFIED FIXED
7 years ago
4 years ago

People

(Reporter: Smartgig, Unassigned)

Tracking

({testcase})

2.0 Branch
mozilla29
All
Windows 7
testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [fixed by Bug 844744], URL)

(Reporter)

Description

7 years ago
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.

Comment 1

7 years ago
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 ?
Version: unspecified → 4.0 Branch
(Reporter)

Comment 2

6 years ago
(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

6 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.

Updated

6 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true

Comment 4

4 years ago
This perhaps solved on recent Nightly version

http://i.imgur.com/jLrjxii.png
Like Bug 679220 this got fixed by Bug 844744 for Firefox 29+.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Component: General → DOM: Core & HTML
Depends on: 844744
Keywords: testcase
Product: Firefox → Core
Resolution: --- → FIXED
Whiteboard: [fixed by Bug 844744]
Target Milestone: --- → mozilla29
Version: 4.0 Branch → 2.0 Branch
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>

Updated

4 years ago
Keywords: verifyme
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.
Status: RESOLVED → VERIFIED
Keywords: verifyme
QA Contact: petruta.rasa
You need to log in before you can comment on or make changes to this bug.