P
Picho
Hi group.
This must have come up a few times before but I found no specific resources
regarding this.
the problem is simple: convert the number 55 to the string "Fifty five"
(obviously with any given number...)
The algorithm is quite simple and I would not have bothered you with such a
simple problem.
alas...
must be with Globalization in mind. specificly, the first problem I have is
converting numbers to hebrew strings and as you know, hebrew is not so
simple since there are differences with male/female etc.
my question is simple: What are the guidlines I should follow for this
component to be scaleable, globalized and well designed?
What kind of data source should I use for this component that will be easly
changed (add cultures translation and grammer rules)? where should I keep
this data source (embedded resource?), How shall I design this so that users
(administrators?) could modify/add/remove culture variations?
any specific thoughts about the design and signatures for the convertion
method will be deeply appriciated (should I use CultureInfo with a specific
culture as a parameter etc)
thanx,
Picho
P.S - maybe this can be done by the framework itself and I missed something?
This must have come up a few times before but I found no specific resources
regarding this.
the problem is simple: convert the number 55 to the string "Fifty five"
(obviously with any given number...)
The algorithm is quite simple and I would not have bothered you with such a
simple problem.
alas...
must be with Globalization in mind. specificly, the first problem I have is
converting numbers to hebrew strings and as you know, hebrew is not so
simple since there are differences with male/female etc.
my question is simple: What are the guidlines I should follow for this
component to be scaleable, globalized and well designed?
What kind of data source should I use for this component that will be easly
changed (add cultures translation and grammer rules)? where should I keep
this data source (embedded resource?), How shall I design this so that users
(administrators?) could modify/add/remove culture variations?
any specific thoughts about the design and signatures for the convertion
method will be deeply appriciated (should I use CultureInfo with a specific
culture as a parameter etc)
thanx,
Picho
P.S - maybe this can be done by the framework itself and I missed something?