Need a service to check if lang string is standard or internal use only

ASSIGNED
Assigned to

Status

()

Core
Internationalization
ASSIGNED
17 years ago
9 years ago

People

(Reporter: nhottanscp, Assigned: nhottanscp)

Tracking

Trunk
Future
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

17 years ago
Mozilla uses internal language codes like "x-western".
For example, nsICharsetConverterManager2::GetCharsetLangGroup maps "ISO-8859-1"
to "x-western".
In order to prevent those internal name to be going out from mozilla (e.g. saved
as HTML), we need a way to distinguish those internal names from standard names
(by ISO 639).

Here is link to the HTML spec. The spec does not prohibit using "x-" language.
http://www.w3.org/TR/html4/struct/dirlang.html#langcodes
(Assignee)

Updated

17 years ago
Status: NEW → ASSIGNED
(Assignee)

Updated

17 years ago
Target Milestone: --- → mozilla0.9.8
(Assignee)

Comment 1

17 years ago
Created attachment 61377 [details] [diff] [review]
Added method to check internal lang name (by looking "x-").
(Assignee)

Updated

17 years ago
Target Milestone: mozilla0.9.8 → mozilla1.2
(Assignee)

Updated

16 years ago
Target Milestone: mozilla1.2alpha → Future
QA Contact: teruko → i18n
You need to log in before you can comment on or make changes to this bug.