OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

xliff message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [xliff] Java profile feedback


Hi Florian: 

Replaceables are a pretty important issue for Java Resource Bundles and I
think must remain. So the question then is do we include the recommendation
in the other profiles...  or do we just leave them all as is? 
 
How much work would be required to include this in the .NET & RCDATA
representation guides?  The concept is the same so what more work would
there be other than cut/paste, and adding a couple tags to the examples?
The examples don't have to include very complex / multiple replaceables -
just a basic one would do and I see the .NET profile has a replaceable in
its sample code already.  So this should be pretty simple to normalize
across all profiles - or am I missing something?

Regards,
Tony


-----Original Message-----
From: Florian Sachse [mailto:florian@passolo.com] 
Sent: 21 September 2005 16:53
To: xliff@lists.oasis-open.org
Subject: [xliff] Java profile feedback

Dear all,

Section 2.7 in the Java profile recommends to MessageFormat replaceables
with <ph> like this:

property file:
template = At {2,time,short} on {2,date,long}, we detected \
{1,number,integer} spaceships on the planet {0}.

XLIFF:
<trans-unit id="1" restype="string" resname="template" >
<source>At <ph id="1">{2,time,short}</ph> on <ph id="2">{2,date,long}</ph>,
we detected <ph id="3">{1,number,integer}</ph> spaceships on the planet <ph
id="4">{0}</ph>.</source>
</trans-unit>

Currently this mechanism is defined only for Java but could also apply to
.NET resources and to WinRes resources.

I don't feel that we have enough time to implement this mechanism in the
other profile. The question is now if we kee it as it is for Java, of if we
drop this mechanism for consistency accross the profile. I realize that Java
replacebles can be very complicated so that this feature can be helpful.

Any opinions?

Best regards from Bonn,
Florian



---------------------------------------------------------------------
To unsubscribe from this mail list, you must leave the OASIS TC that
generates this mail.  You may a link to this group and all your TCs in OASIS
at:
https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php 




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]