Issue 43768 - Add number formats using Thai digits
Summary: Add number formats using Thai digits
Status: CLOSED FIXED
Alias: None
Product: Internationalization
Classification: Code
Component: code (show other issues)
Version: 680m79
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: oc
QA Contact: issues@l10n
URL:
Keywords:
Depends on:
Blocks: 41707 42723
  Show dependency tree
 
Reported: 2005-03-01 07:40 UTC by samphan
Modified: 2013-08-07 15:03 UTC (History)
5 users (show)

See Also:
Issue Type: PATCH
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Patch to change current th_TH.xml according to the issue (26.42 KB, patch)
2005-10-19 15:42 UTC, samphan
no flags Details | Diff
The new th_TH.xml locale data (37.21 KB, text/xml)
2005-10-19 15:43 UTC, samphan
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description samphan 2005-03-01 07:40:22 UTC
Thai has its own native number system (writing numbers using Thai digits) which
is sometimes used in formal/governmental documents. OOo supports the native
number formats (in any locale applicable) by using the prefix [natnum?] (e.g.
[natnum1]) in the number format. However, for Thai, the Thai-digit native number
format won't show up in Format->Cell->Numbers->Number->Format list box. The
format code has to be manually typed in by the users.

The native number format should be added to Thai locale data so users can easily
choose it from the number format list box.
Comment 1 arthit 2005-03-01 20:32:06 UTC
Tested with Calc in OOo 2.0 Beta Candidate

1) select Menu: Format -> Cells...
2) select Tab: Numbers
3) in Category list, select Number
4) look at the Format list and Language list

Confirmed.
Comment 2 arthit 2005-03-01 20:34:33 UTC
One possible solution:
offers another option in the Language list, may be "Thai (Thai digit)".

So in the Language list, there will be:
- Thai
- Thai (Thai digit)
Comment 3 Martin Hollmichel 2005-05-11 16:06:15 UTC
set target to 2.0.1
Comment 4 samphan 2005-05-19 03:15:29 UTC
Patch in issue 43766 also fix this issue by adding a Thai native number format
([natnum1]Standard) to th_TH.xml.
Comment 5 jjc 2005-09-18 03:03:00 UTC
Surely we want more than a single format for Thai native numbers.
Comment 6 falko.tesch 2005-09-28 14:51:48 UTC
FT: Please give a complete list of number formats that you require for being
available in Thai digits.
A list like:
Category Number: make all variations available in Thai digits
Category Percent: no Thai digit formats needed
Category Currency: no Thai digit formats needed
Category Date: The first 6 entries need to be available in Thai digits
etc...
would suffice

Pleasse provide such list and add it as an attachment to this issue.
Comment 7 jjc 2005-10-11 13:49:51 UTC
Dates are already handled in the current locale data.

- Thai digits are not needed for scientific formats

+ Thai digits are needed for all fixed formats, with comma used as thousands
separator and decimal point as decimal separator, just as with Arabic digits

+ Thai digits are needed for percent formats

+ Thai digits are needed for fraction formats

+ Thai digits are needed for currency formats; however, the currency is always
spelled out following the number as a space and then the currency name in Thai
(บาท); the baht symbol is not used with Thai digits

Samphan will provide a patch implementing this.
Comment 8 samphan 2005-10-19 15:42:49 UTC
Created attachment 30636 [details]
Patch to change current th_TH.xml according to the issue
Comment 9 samphan 2005-10-19 15:43:49 UTC
Created attachment 30637 [details]
The new th_TH.xml locale data
Comment 10 samphan 2005-10-19 15:51:27 UTC
Summary of changes
- default date format (formatindex 20) and date-time format (formatindex 46) now
use Gregorian calendar instead of Buddhist calendar
- add Thai digit formats for percent-number, fixed-number and currency format
- add currency format using the word 'บาท' (Baht)
- change belowWord from ข้างใ้ต้ to ข้างล่าง
- write new 16 numbering level
- write new 16 outline-numbering level
Comment 11 jjc 2005-10-20 18:06:03 UTC
Reassigned to er for integration.
Comment 12 ooo 2005-10-25 16:15:45 UTC
On branch cws_src680_siloch
i18npool/source/localedata/data/th_TH.xml 1.13.20.1
Comment 13 ooo 2005-10-25 16:18:16 UTC
.
Comment 14 ooo 2005-10-26 14:15:08 UTC
Reassigning to QA.

re-open issue and reassign to oc@openoffice.org
Comment 15 ooo 2005-10-26 19:48:58 UTC
Reassigning I said..
Comment 16 ooo 2005-10-26 19:50:19 UTC
Restoring status.
Comment 17 oc 2005-10-28 11:14:35 UTC
verified in internal build cws_siloch
Comment 18 oc 2005-11-18 10:39:41 UTC
closed because fix available in OOo2.0m140