Apache OpenOffice (AOO) Bugzilla – Issue 43768
Add number formats using Thai digits
Last modified: 2013-08-07 15:03:05 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.
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.
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)
set target to 2.0.1
Patch in issue 43766 also fix this issue by adding a Thai native number format ([natnum1]Standard) to th_TH.xml.
Surely we want more than a single format for Thai native numbers.
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.
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.
Created attachment 30636 [details] Patch to change current th_TH.xml according to the issue
Created attachment 30637 [details] The new th_TH.xml locale data
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
Reassigned to er for integration.
On branch cws_src680_siloch i18npool/source/localedata/data/th_TH.xml 1.13.20.1
.
Reassigning to QA. re-open issue and reassign to oc@openoffice.org
Reassigning I said..
Restoring status.
verified in internal build cws_siloch
closed because fix available in OOo2.0m140