[Unicode]   Common Locale Data Repository : Bug Tracking Home | Site Map | Search
 

Changeset 11225


Ignore:
Timestamp:
02/18/15 02:03:44 (4 years ago)
Author:
pedberg
Message:

cldrbug 4931: add stub segment files for zh[_Hant], update BreakIteratorMapper to handle the alts

Location:
trunk
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/common/bcp47/segmentation.xml

    r11221 r11225  
    88 
    99<ldmlBCP47> 
    10     <version number="$ $"/> 
    11     <generation date="$ $"/> 
     10    <version number="$Revision: $"/> 
     11    <generation date="$Date: $"/> 
    1212    <keyword> 
    1313        <key name="lb" description="Line break type key" since="25"> 
  • trunk/tools/java/org/unicode/cldr/icu/BreakIteratorMapper.java

    r10744 r11225  
    8282                    System.err.println("WARNING: brkiter: in " + locale + ".xml (ICU specials): Malformed path: " + fullPath); 
    8383                } else { 
     84                    final String altValue = xpp.getAttributeValue(-1, "alt"); 
     85                    final String extType = (altValue == null)? type: type.concat("_").concat(altValue); 
    8486                    source.add(filename.substring(0, filename.lastIndexOf('.'))); // "title.brk" -> "title" 
    8587                    icuData.add( 
    86                         MessageFormat.format("/{0}/{1}:process(dependency)", element2.split(":")[1], type), filename); // "Laoo", "laodict.dict" 
     88                        MessageFormat.format("/{0}/{1}:process(dependency)", element2.split(":")[1], extType), filename); // "Laoo", "laodict.dict" 
    8789                } 
    8890            } 
Note: See TracChangeset for help on using the changeset viewer.