Issue 17754 - Thai native number spellout.
Summary: Thai native number spellout.
Status: CLOSED DUPLICATE of issue 43043
Alias: None
Product: Internationalization
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 RC2
Hardware: All All
: P4 Trivial (vote)
Target Milestone: ---
Assignee: bettina.haberer
QA Contact: issues@l10n
URL: http://www.opentle.org
Keywords: rfe_eval_ok
Depends on:
Blocks: 41707
  Show dependency tree
 
Reported: 2003-08-01 13:19 UTC by hin
Modified: 2013-08-07 15:00 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description hin 2003-08-01 13:19:56 UTC
In current OpenOffice.org has an implement of thai native (NATNUM1). But in
thai, a number can use another method.

Example.
1. Spellout number for Thai currency.
100 -> One hundred Baht.
100.50 -> One hundred Baht Fifty Sa-tang.

2. spellout of thai number 
100 -> One hundred
100.50 -> One hundred dot Five

3. direct spellout of each digit.
100 -> One O O
100.50 -> One O O dot Five O

We want to propose new native number implementations for thai; case 1 will be
native number 4 (NATNUM4), case 2 will be native number 5 (NATNUM5) and last
case will be native number 6 (NATNUM6)

Now we have implemented for internal testing but it is not complete enough for
submitting to OOo.
Comment 1 arthit 2003-08-01 23:45:10 UTC
*may* related issue:

SPELLOUT() number spell out function (multi-lingual)
http://www.openoffice.org/issues/show_bug.cgi?id=3702
Comment 2 samphan 2003-08-04 14:06:12 UTC
For easy reference:-

natnum0 = ascii
natnum1 = char, lower
natnum2 = char, upper
natnum3 = char, fullwidth
natnum4 = text, lower, long
natnum5 = text, upper, long
natnum6 = text, fullwidth
natnum7 = text, upper, short
natnum8 = text, upper, short
natnum9 = char, hangul
natnum10 = text, hangul, long
natnum11 = text, hangul, short

We chose to implement natnum4, natnum5 and natnum6 to follow
the same model as in CJK, i.e. textual representation that are
spellouts of the number in various forms/lengths.
There's a little typo in the first post. The actual assignment
currently are:-

natnum4 = natural number spellout (the one that are used the most)
natnum5 = number spellout in currency
natnum6 = each digit spellout (used less frequently) 

e.g. 106.50
natnum4  -> one hundred and six POINT five
natnum5 -> one hundred and six BAHT fifty SATANG
natnum6 -> one o six POINT five o

Issue:-
1) The assignment. 
I think natnum4 has to be there, right?
natnum5 has a big issue below. 
How about natnum6? Is it ok here?

2) natnum5.  
It may seem that the concept of currency has nothing to do 
with native number spellout. But actually, it make numbers to be read
differently so the textual representation (regardless of currency signs)
differ. We have to insert the currency signs BATH and SATANG
in the output string which limit it use only to currency (not anything
with %100). However, we can't lock the user to use it only in
currecy cell because no format info. reach the natnum functions.
All we can do is put natnum5 in the menu for currency format
but not for number format, but the user can type it in as custom
format anyway (and see BATH and SATANG as a surprise)
So we don't know what to do here?
We can let it be like this (and pray the user not to do the trick)
or send more info to lower level routines? 
Comment 3 Dieter.Loeschky 2003-08-20 11:25:50 UTC
DL->FT: Would you please takeover?
Comment 4 falko.tesch 2003-10-15 10:57:09 UTC
In current OpenOffice.org has an implement of thai native (NATNUM1).
But in
thai, a number can use another method.

Example.
1. Spellout number for Thai currency.
100 -> One hundred Baht.
100.50 -> One hundred Baht Fifty Sa-tang.

2. spellout of thai number 
100 -> One hundred
100.50 -> One hundred dot Five

3. direct spellout of each digit.
100 -> One O O
100.50 -> One O O dot Five O

We want to propose new native number implementations for thai; case 1
will be native number 4 (NATNUM4), case 2 will be native number 5
(NATNUM5) and last case will be native number 6 (NATNUM6)
Comment 5 falko.tesch 2003-10-15 10:57:25 UTC
started
Comment 6 jjc 2005-04-22 04:41:31 UTC
This shouldn't a Thai specific issue. Issue #43043 has an RFE for the general
feature of number spellout, which subsumes this issue.

*** This issue has been marked as a duplicate of 43043 ***
Comment 7 arthit 2005-05-06 11:18:58 UTC
duplicated.
closed.