Hi Konstantin!
Great to hear from you.
On Wed, Mar 20, 2002 at 11:37:41AM +0300, Piroumian, Konstantin wrote:
> Hi, Marcus!
>
> How are you, mate?
I'm fine mate. And yourself ?
> So, why not to use String.toUpperCase(Locale)/String.toLowerCase(Locale)
> versions? According to JDK 1.3:
>
> public String toUpperCase(Locale locale)
> Converts all of the characters in this String to upper case using the rules
> of the given locale. Usually, the characters are converted by calling
> Character.toUpperCase. Exceptions to this rule are listed in the following
> table...
>
> The same with toLowerCase().
Good idea. I'll change the code and submit a new patch.
BTW - while we're talking about it, the original syntax I wanted
to implement was something like this:
<i18n:format type="upper">text</i18n:format>
<i18n:format type="lower">text</i18n:format>
or
<i18n:toupper>text</i18n:toupper>
<i18n:tolower>text</i18n:tolower>
Basically using surrounding tags rather than an attribute.
That way we wouldn't be restricted to converting case of just
translated text, but could upper/lower case any text given as
input.
The state model of I18nTransformer proved to be a bit difficult
to change though to add this new tag, hence the format="upper"
attribute.
Your knowledge about I18nTransformer is definitely better than
mine - What do you think ? Is it easier to implement than I
originally thought ?
Cheers,
Marcus
--
.....
,,$$$$$$$$$, Marcus Crafter
;$' '$$$$: Computer Systems Engineer
$: $$$$: ManageSoft GmbH
$ o_)$$$: 82-84 Mainzer Landstrasse
;$, _/\ &&:' 60327 Frankfurt Germany
' /( &&&
\_&&&&'
&&&&.
&&&&&&&:
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]