Closed
Bug 616377
Opened 15 years ago
Closed 14 years ago
[Meta] Handle locales on Android
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: alexp, Unassigned)
References
Details
Locale-related C functions like setlocale and localeconv on Android are not implemented. Need some workaround.
Reporter | ||
Updated•15 years ago
|
Reporter | ||
Comment 1•15 years ago
|
||
Can everyone who has any info provide a feedback on this subject please?
Which important areas are affected by the unimplemented locale-related functions in C-library on Android?
Thanks.
Reporter | ||
Comment 2•15 years ago
|
||
Time zone is not detected correctly in JS. Is there a bug about this?
Reporter | ||
Comment 3•15 years ago
|
||
(In reply to comment #2)
> Time zone is not detected correctly in JS. Is there a bug about this?
Bug 606074 is linked here.
Comment 4•15 years ago
|
||
I think we should decide on how to fix the broken stuff on a case by case basis. Do we use the C locale library functions on other platforms? (I think we do on Linux, not sure about others.)
Reporter | ||
Comment 5•15 years ago
|
||
(In reply to comment #4)
> I think we should decide on how to fix the broken stuff on a case by case
> basis.
Yes, I'd prefer this approach as well.
After some research on the subject (specifically setlocale bug 616378) it looks like we'll need to implement string formatting functions, which depend on the locale (at least strftime). It is possible, as locale info and related functions in Java layer are usable, but it will be a performance hit calling those functions through Android bridge, so this should be used only when really needed.
That's why asked for a feedback - to find specific cases, which need to be fixed. Right now we already know about a couple of issues in JS (bug 544414 and bug 606074).
Comment 6•14 years ago
|
||
We've been shipping multilocale Android builds for a while now.
Still an issue?
Reporter | ||
Comment 7•14 years ago
|
||
Looks like all real bugs were fixed, so we can close this Meta-bug now.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 8•14 years ago
|
||
Due to comment #7, I'll mark this bug as verified fixed.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•