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] Plural forms and XLIFF


The "XLIFF 1.2 Representation Guide for Java Resource Bundles" (http://docs.oasis-open.org/xliff/v1.2/xliff-profile-java/xliff-profile-java-v1.2-cd02.html) has this PropertyResourceBundle example:


I would expect that the proper way to translate this would be as 3 separate segments:

Some languages would need a different number of segments to translate based on their CLDR "Language Plural Rules" (http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html).


In the 1st XLIFF example, the translator would basically be translating these words as separate segments, especially if the subflow text were defined as separate <trans-unit> elements.

In the 2nd XLIFF example, I doubt that a translator would be technical enough to handle this subflow text since it is a mixture of code and text:   <sub>0#no files|1#one file|1&lt;{2,number,integer} files</sub>


Handling plural situations was important enough that Android XML created unique support (see http://developer.android.com/guide/topics/resources/string-resource.html#Plurals).  So XLIFF 2.0 should probably consider how plurals could be handled in the future.


David

Corporate Globalization Tool Development
EMail:  waltersd@us.ibm.com          
Phone: (507) 253-7278,   T/L:553-7278,   Fax: (507) 253-1721

CHKPII:                    http://w3-03.ibm.com/globalization/page/2011
TM file formats:     http://w3-03.ibm.com/globalization/page/2083
TM markups:         http://w3-03.ibm.com/globalization/page/2071


Inactive hide details for "Rodolfo M. Raya" ---01/10/2012 11:56:02 AM---Hi again,   Plurals in Java .properties files can be ha"Rodolfo M. Raya" ---01/10/2012 11:56:02 AM---Hi again,   Plurals in Java .properties files can be handled via subflows. The proposed mechanism th

From: "Rodolfo M. Raya" <rmraya@maxprograms.com>
To: xliff@lists.oasis-open.org
Date: 01/10/2012 11:56 AM
Subject: RE: [xliff] Plural forms and XLIFF
Sent by: <xliff@lists.oasis-open.org>




Hi again,
 
Plurals in Java .properties files can be handled via subflows. The proposed mechanism that you included in the specification draft is fine for me.
Plurals in PO files are rare; files that use plural forms are a very small minority in a Linux distribution. They can be handled properly in XLIFF 1.2 and support for this feature has been implemented in XLIFF 1.2 based tools.
 
Linux developers have not opted for using XLIFF in their localization workflow. They still rely on PO and the myriad of free tools that handle PO, including plurals. I don't expect Linux localization workflow to be based on PO -> XLIFF 2.0 -> PO transformations.
 
IMHO, I would not include support for plural forms in XLIFF 2.0. Those that need it can keep using XLIFF 1.2.

Regards,

Rodolfo
--
Rodolfo M. Raya
Maxprograms
http://www.maxprograms.com
 
  --------------------------------------------------------------------- To unsubscribe, e-mail: xliff-unsubscribe@lists.oasis-open.org For additional commands, e-mail: xliff-help@lists.oasis-open.org


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