Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Date input in english automatically gets converted to bengali digits | ||||||
---|---|---|---|---|---|---|---|
Product: | Calc | Reporter: | sayamindu | ||||
Component: | formatting | Assignee: | ooo | ||||
Status: | CLOSED FIXED | QA Contact: | issues@sc <issues> | ||||
Severity: | Trivial | ||||||
Priority: | P3 | CC: | caolanm, issues, issues, ooo | ||||
Version: | OOo 2.2 | ||||||
Target Milestone: | --- | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
URL: | https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236529 | ||||||
Issue Type: | PATCH | Latest Confirmation in: | --- | ||||
Developer Difficulty: | --- | ||||||
Attachments: |
|
Description
sayamindu
2007-04-17 06:27:17 UTC
Hi, as the NatNum feature is set for the Format code, I re-assign this for evaluation to the BN Lang project. IMHO this is not a bug. Frank I think we can remove the [NatNum1] tag from Bengali locale files. It seems bn_BD.xml is using bn_IN.xml's <LC_FORMAT>, so the patch is needed for bn_IN.xml Sayam, can you please submit a patch? Removing [NatNum1] will not resolve the issue completely. Once the [NatNum1] is removed, date typed in bengali will automatically convert to English (as is the case of hi, gu, mr etc). Some additional feature has to be put in place so as to recognise the language of input and retain it. Manually setting [NatNum1] for each cell is not a feasible option either. Created attachment 44822 [details]
patch to remove NatNum1, if that's what you want to do
cmc, thanks for the patch. But we need solution for the issue mentioned by RunaB. I am not sure if that can be done. I'm almost sure that it cannot be "fixed", but even if possible I question if it *should* be fixed as part of this issue. The situation is the same for every language which has "localized number digits", i.e. the rest of the indic languages and CJK ones. I would suggest that this issue restrict itself to what the default number format for Bengali should be. Either the same as the rest of the _IN languages and default to "English" digits or go it's own way and default to Bengali digits as is the current case. Can this issue be raised as a Feature Request or a separate bug. Currently Calc doesn't know anything about what native numerals lead to the recognition of number/date/time, it is all handled in lower layers of the number formatter's number recognition. In the number formatter there's also no mapping between input numerals and display formats. There's a default display format to use if no other format matching the input type was assigned to the cell, which in this case happens to have the [NatNum1] modifier, as do all predefined date/time format codes of the bn_IN locale. The bn_IN community now should decide what the preferred default display format should be: with or without native numerals, you can't have both. Display formats matching the input numerals would be a completely new feature. Can the bn team decide a yes/no for 2.4 if we want to use "western" numerals by default for Bengali like other Indic languages or not. Anyone available from the bengali localization team able to make decision as to which way to lean here ? As there is no answer from the bengali team this task won't make it in time to OOo2.4 => retarget to 3.x Is there anyone at the end of this bug ? I can apply the patch here to align bengali with all the other indic languages to get the same behaviour if you want ? Ok, lets use "western" numerals by default for Bengali - though it is not the desired solution. So cmc's patch can be used now. I'll look after this then Bengali numerals treated the same as all other indic language numerals in cmcfixes44 Thanks, Caolan! Eike cmc->er: Do you think you can verify that this is now the case in cmcfixes44 ? Verified that all NatNum1 modifiers are removed from bn-IN format codes. seen in DEV300_m13 |