1--- 2title: Update emoji translations & ordering 3--- 4 5SBRS (at the start of the release): 6----- 7 8Where the current version is VV: 9 101. Run unicodetools GenerateEmoji with specific version number, like 14.0 11 121. If you get an error like 13 14 * Exception in thread "main" java.lang.IllegalArgumentException: no name for 1FAF1 200D 1FAF2 15 * at org.unicode.tools.emoji.EmojiData.\_getName(EmojiData.java:1230) 16 * at org.unicode.tools.emoji.EmojiData.getName(EmojiData.java:1194) 17 * at org.unicode.tools.emoji.EmojiDataSourceCombined.getName(EmojiDataSourceCombined.java:156) 18 * at org.unicode.tools.emoji.GenerateEmoji.showCandidateStyle(GenerateEmoji.java:3600) 19 * at org.unicode.tools.emoji.GenerateEmoji.main(GenerateEmoji.java:641) 20 212. Then change the name composition algorithm if necessary (for new emoji zwj sequences) 22 23 1. It may have also been modified during the emoji development. Typically the code that needs changing will be in Annotations.synthesize, to capture yet another special skintone instance 24 2. Ensure that the documentation of composition of names (for new components like hair styles) in LDML is updated to match what is in org.unicode.cldr.util.Annotations. 25 3. Make sure that org.unicode.tools.emoji.unittest.TestAll runs successfully, with -Demoji-beta. 26 273. Copy 28 29 * /emoji/docs/Public/emoji/14.0/emoji-test.txt<br> 30 to 31 * /cldr-code/src/main/resources/org/unicode/cldr/util/data/emoji/emoji-test.txt 32 334. Run unicode tools: org.unicode.tools.emoji.GenerateCldrData 34 35 1. Copy each list of data from the console into (respectively) as per instructions 36 37 1. annotations/root.xml 38 2. annotations/en.xml 39 40 2. Copy emoji-test.txt into org.unicode.cldr.util.data.emoji 41 425. Get the emoji images for the info panel of the survey tool 43 * This used to be done by running org.unicode.tools.emoji.CopyImagesToCldr.java to add images to ... /cldr/tools/cldr-apps/src/main/webapp/images/emoji 44 * They might be delivered from the ESR via a zip file. 457. Update the collation/root.xml using unicode/draft/emoji/charts-VV/emoji-ordering-rules.txt 46 * Note: emoji-ordering-rules.txt should be moved into the repo (there's an issue for that) 47 488. Run tests 49 50 1. You may get an error in testAnnotationPaths. 51 52 1. May need to change org.unicode.cldr.util.Emoji.SPECIALS to have TestAnnotations pass. These are zwj sequences whose names cannot be composed. 53 2. eg "\[{}{}{☠}\]" 54 55 2. You may also get an error in TestNames. Check the names to see what is happening, and whether to change the test or the data. 56 57TODO: test that derived names are complete 58 59BRS (if the UCD files are adjusted after the start of the release): 60---- 61 62As above, except that you only need to 63 641. Run unicodetools GenerateEmoji with the beta options 652. Copy emoji-test.txt into org.unicode.cldr.util.data.emoji 663. update collation/root.xml using unicode/draft/emoji/charts-XX/emoji-ordering-rules.txt 67