Konstantin Piroumian wrote:
> 
> > -----Original Message-----
> > From: Enke Michael [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, April 03, 2002 5:02 PM
> > To: [EMAIL PROTECTED]
> > Subject: i18n: empty translation in XMLResourceBundle?
> >
> >
> > Hello,
> > I saw in I18nTransformer.java a comment:
> > <li>Introduce empty translation (XMLResourceBundle)
> > How does it work? Or is it only planned?
> 
> Look a little upper: it's in the 'Future work' section. Have no time right
> now to implement it and I've never understood the real use of it. Why don't
> you use 'default' translation possibility?
> 
> Regards,
> Konstantin Piroumian

Hi Konstantin,
the reason for empty translation:
I get the relation, if lower, greater or equal from a database.
Also the DB-column I get from a table in the DB. So I translate:
For relation >=                        "From Department"
For relation <=                        "To Department"
And for relation = I want to translate "Department" (without From, To or anything 
else).

The solution would be very very simple:
Remove the trim() in XMLResourceBundle. This is my proposal.
Than I can write: <message key="="> </message> and this will no longer
result in an untranslated-text.
Anyhow, <message key="="></message> will result in an untranslated-text

Regards,
Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to