圹ã«ç«ããªããšããå°è±¡ãåããããšããããŸããããã®åœ¢åŒã«ã¯åœ¹ç«ã£ãŠããŸãã ãããã£ãŠãããŒã¯ããŠã³irã
-ç§ãã¡ã¯ä»äœãã¹ã±ãŒã«ã«ããããç¥ã£ãŠããŸã
ãããŠä»äœãèµ·ãã£ãŠããã®ãã
åæ°ã®æãç§ãã¡ã®æèšã«åœãããŸããã
ãããŠåæ°ã¯ç§ãã¡ãå»ããŸããã
æ»ãã 匟䞞ã®äžã«æšªãããã®ã¯æããªãã
ã²ã©ãããŒã ã¬ã¹ã®ãŸãŸã«ããªãã§ãã ããã
ãããŠããã·ã¢ã®ã¹ããŒããããªããæããŸã
å倧ãªãã·ã¢èªã
ç§ãã¡ã¯ããªããèªç±ã§çŽç²ã«éã³ãŸã
äž¡æ¹ã®å«ãäžããŠæèããæããŸã-
æ°žé ã«ã
ããã°ãã¯ãåéãç§ã®ååã¯ã»ã«ã²ã€ã»ããã£ããã§ãã ç§ã¯ã¢ã³ãã»ã¢ããããŽã¡ã®è©©ãåæ°ãããå§ããŸããã 倧ç¥åœæŠäºäžã®1942幎ã«æžãããŸããããããã§ã詩人ãã¡ã¯ãæŠäºã®é·å¹Žã«ããã£ãŠæµªè²»ãããå®éã«èžã¿ã«ãããã粟ç¥çãªå¯ãè¿ãããããçæã«ãã£ãŠç Žå£ãããå·¥å Žã埩å ããŠå»ºèšããæ¹ãã¯ããã«ç°¡åã§ããããšãç解ããŠããŸããã
è©©ã¯ãçŸãããšæããããšãåŠã¶ã®ã«åœ¹ç«ã€æ°å°ãªãæ段ã®1ã€ã§ãã ä»æ¥ç§ãã¡ã¯æè¡ææžã«ã€ããŠè©±ããŠãã-ãããªé ãåéã¯è©©ãšã¯éãããã«æããŸãããç¹ã«ãã®åœ¢åŒã§äœæ¥ãããšãã¯ãçŸããã¹ã¿ã€ã«ãç¶æããåäžã®ã¹ã¿ã€ã«ãç¶æããããšãéåžžã«éèŠã§ãã Markdownã¯ããªãŒãã³ãœãŒã¹ã®äžçã§æè¡ææžãäœæããããã®äºå®äžã®æšæºãšãªã£ãŠããŸãã ãããŠãããŸããŸãªå°éåéã®äººã ãå£çµãããŸããã
ç§ã«ã¯å°é£ã§ãããšåæã«æ¥œãã䜿åœããããŸãã Yandexã§Markdownã®ããã¥ã¡ã³ããçµã¿ç«ãŠãæ°æã¡ãååã«æããããŸãéçºããããŒã«ãå ±æããŠã»ããã ããªããããªãã®ãããžã§ã¯ãã§ãããã䜿ãããšãæã¿ãŸãã
Yandexã®JavaScriptã倧奜ããªã®ã§ãéçºãããããŒã«ã¯JSã§æžãããŠããŸãã ãããŠããã¹ãŠã®éçºã¯ãã®èšèªãäžå¿ã«è¡ãããŸãã å¥ã®éçºç°å¢ãèªå€§åºåReactãããå Žåãåæºããå¿ èŠã¯ãããŸãã-GitHubã§é¡äŒŒç©ãèŠã€ããããšãã§ãããšæããŸãã
ããããå€ãã®äººãçåã«æã£ãŠããã®ã«ããªãMarkdownã¯ãµãŒã«ãªã£ãã®ã§ããããïŒ ããã¯æ¯metaã§ãããYandexã®ããã»ã¹ãããããåããããšãããšããäºå®ã«é¢é£ããŠããŸãã
Markdownã¯ãå€æ°ã®ããŒã«ãéçºããŠããŸãã çŸåšãŸã§ã«ãç§ãã¡ã¯ãã§ã«å€ãã®ããŒã«ãéçºããŠãããéçºãç¶ããŠããŸãã 圹ã«ç«ããªããšããå°è±¡ãåããããšããããŸããããã®åœ¢åŒã«ã¯åœ¹ç«ã£ãŠããŸãã ãããã£ãŠãããŒã¯ããŠã³irã
æåã®ã°ããŒãã«ããŒãã§ã¯ããªããã®åœ¢åŒã§æžããŠããã®ãããªããã®ããã®ããŒã«ãéçºããŠããã®ãã«ã€ããŠã話ããŸãã 第äºéšã§ã¯ãã³ã³ãã³ãã®å質ãç¶æããæ¹æ³ã翻蚳æ¹æ³ãå€ãã®ãªããžããªãã1ã€ã®ãµã€ããæ§ç¯ããæ¹æ³ã«ã€ããŠãã©ã€ãã©ãªã®äŸã«ã€ããŠè©³ãã説æããŸãã
Markdownã¯ã2004幎ã«John GruberãšAaron Schwartzã«ãã£ãŠäœæãããŸããã ãã®èãã¯ãåçŽãªããã¹ãæ§æã䜿çšããŠãããããããªããã§ããæå¹ãªHTMLã«å€æããããšã§ããã
ããã¹ãã®ç¬¬1ã¬ãã«ã第2ã¬ãã«ãããã³ããã€ãã®æ®µèœã®èŠåºãããããŸãã
è±å¯ãªããŒã«ãåããDITAãããã®ã«ããªãæ°ãããã©ãŒããããå¿ èŠãªã®ã§ããïŒ Markdownçšã®æ°ããããŒã«ãäœæããçç± äžç·ã«çããŠã¿ãŸãããã
DITAã®æ§æã¯ããè€éã§ããããããšé£æºããç¹å®ã®éçºç°å¢ãçšæããããšããå§ãããŸãã ãããXML圢åŒã§ããããšã¯æããã§ãããããã¹ããšãã£ã¿ãŒã§ãéããŸãã ãã ããSVGãéããŸããã誰ãããã«æç»ããŸããã誰ããPhotoshopãŸãã¯Sketchã䜿çšããŸãã
ããã©ããããMarkdownã¯ãã軜ãæ§æãæã£ãŠãããããå€ãã®éçºè ãMarkdownããšãŠãæ°ã«å ¥ã£ãŠããŸãã ãã®çµæãMarkdownã®ããã¥ã¡ã³ãã¯ãå¯çš¿è ãšéçºè ãç©æ¥µçã«åå ãããã¯ãã«ã«ã©ã€ã¿ãŒã«ãã£ãŠäœæããã³ä¿å®ãããDITAã®ããã¥ã¡ã³ãã¯å€ãã®å Žåããã¯ãã«ã«ã©ã€ã¿ãŒã«ãã£ãŠã®ã¿éçºãããŸããéçºè ãšå¯çš¿è ã¯ç©æ¥µçã«åå ããŸããã
Markdownã®ããã¥ã¡ã³ããå«ããµã€ãã®é®®ãããªäŸã¯npmãµã€ãã§ããä»æ¥ã§ã¯475åã®ã¢ãžã¥ãŒã«ãå«ãŸããŠãããæ¯æ¥ãŸããŸãå¢ããŠããŸãã
æã人æ°ã®ãããã®ã次ã«ç€ºããŸãã Gulpãªã©ã®èª°ãã®ãµã€ãã«ã¢ã¯ã»ã¹ããŠããã¥ã¡ã³ãã»ã¯ã·ã§ã³ã«ç§»åãããšãããã«GitHubã«ç§»åããŸããããã§ãgulp.js APIãMarkdownã§èª¬æãããŠããããšãããããŸãã
ãããã£ãŠãäœããã®çç±ã§MarkdownããŸã 䜿çšããŠããªãå ŽåããŸãã¯ãã€ãã¹ããå Žåã¯ã䜿çšããŠéçºè ãæºè¶³ãããŠãã ããã
ã¹ã¿ã€ã«ãšæ§æã æé«æ©å¯ã§ããã¬ãŽã®å éšã©ã€ãã©ãªã®äŸãæ€èšããããšãææ¡ããŸãã 次ã«ããã¢ãè¡ããŸãã
æå€ãšããã§ããïŒ ãããã®ãããã¯ã¯ãã¹ãŠç°ãªããŸãã ããŽãããã¯ããã£ãŒã¶ãŒãªã©ããããŸãããããã¯ãäºå®äžã®æšæºã§ããGitHubã«ä¿åãããŠããŸãã
ããã«ã¯ã©ã€ãã©ãªã®äžè¬çãªèª¬æãããããããã¯ãã£ã¬ã¯ããªããããŸããåãã£ã¬ã¯ããªã«ã¯ãã®ãããã¯ã®èª¬æããããŸãã ããã¥ã¡ã³ãã¯ã³ãŒãã®äžéšãšèŠãªããããããé©åãªååã§ããã¥ã¡ã³ããåŒã³åºããŸãã 亀æãæ€çŽ¢ã亀æã®å Žåã«ã䟿å©ã§ãã ããããããããã¯ãã«ã«ã©ã€ã¿ãŒãåããã¥ã¡ã³ãã«åãçµã¿ãŸããã 翻蚳è ã¯è±èªçã«ãåãçµã¿ãŸãããçæ³çã«ã¯ãããã¥ã¡ã³ãããã·ã¢èªçãè±èªçã¯äžè²«ããŠããå¿ èŠããããŸããã€ãŸããæ§é ãšå 容ã¯åãã§ããå¿ èŠããããŸãã
ããã¥ã¡ã³ãã¯éçºè èªèº«ã«ãã£ãŠãç©æ¥µçã«éçºãããŠãããå€ãã®ããã¥ã¡ã³ãããããŸãã 瀟å ã§æ§ç¯ããããšããŠããããã»ã¹ã¯æ¬¡ã®ãšããã§ããæ°ããæ©èœãŸãã¯æ°ãããããã¯ãéçºããéçºè ã¯ãããŒã«ãªã¯ãšã¹ããŸãã¯åé¡ã®åœ¢åŒã§ãã¯ãã«ã«ã©ã€ã¿ãŒã®ã¿ã¹ã¯ãèšå®ããŸãã
ãã¯ãã«ã«ã©ã€ã¿ãŒããã®æ©èœã説æããèšèªããŒãžã§ã³ã®ããã¥ã¡ã³ããå¿ èŠãªå Žåã¯ç¿»èš³ãæ念ããŸãã ãããŠèª°ãã幞ãã§ãããããã¯å®ç§ãªäžçã§ãã ããããçŸå®ã®äžçã§ã¯ãç¶æ³ã¯ãã°ãã°æ¬¡ã®ãšããã§ããéçºè èªèº«ãæ¥ãŠãããã¥ã¡ã³ããä¿®æ£ããŸãã
ããã§ãæåã®åé¡-äžè²«æ§ã®åªå€±ã«çŽé¢ããŠããŸãã 次ã®åé¡ã¯ãããã¥ã¡ã³ããæžãã¹ã¿ã€ã«ãå€ããããšã§ããããŸãã
æããã-äž»ãªããšã¯ãæ©èœãèšè¿°ãããŠããããšã§ãã ããã£ããããã ããã¥ã¡ã³ãããã¯ãã«ã«ã©ã€ã¿ãŒã«ãã£ãŠæžãããåŸãéçºè ã¯åãã§ããŸããã
ãããŠãæ°å人ã®éçºè ãã³ãããããŠããã«æ¥ããšãã圌ãã¯ãã§ã«åæºããæçµçã«ã¯æ³£ãåºããŸããã 圌ãã¯èšã-ããªãã¯ææžãæžãçŽãå¿ èŠããããããã¯ç解ã§ããªããªããèªãããšã¯äžå¯èœã§ãããå€ãã®ç°ãªãç解ã§ããªãæ§é ããã³ãžã³ãåé¡ã®ããããã¹ãã®ããŒã«ãŒããããŸãã
ãããã䜿çšãããšãã©ããããããæŠãããšãã§ããå¿ èŠããããŸãã ãã¯ãã«ã«ã©ã€ã¿ãŒã¯ããããç¥ã£ãŠããã察åŠããããšãã§ããŸããéçºè ã¯ããã¥ã¡ã³ãã§ããããèš±å¯ããããšãå€ãããã®ãããªããã¥ã¡ã³ãã¯èªãã®ãäžå¿«ã§ãã
ããšãã°ã誰ããããã§å¿«é©ã§ããïŒ èª°ãããããäœã§ããããç解ããŠããŸããïŒ æããã«ããã¯gitã«ã€ããŠã§ãããããã¯ããã¥ã¡ã³ãã«èšèŒãããŠããŸãã ããç解ãããããªãã·ã§ã³ã次ã«ç€ºããŸãã
GitHubã®çµéšãã»ãšãã©ãªãéçºè ã¯ãéçºã®é人ã«ãã£ãŠæžãããããã¥ã¡ã³ããèªããšãã«å°é£ãæããããšããããŸãã ãããã£ãŠã次ã®åé¡ãè¿œå ããŸã-ã¹ã¿ã€ã«ãšçšèªã®ä¿åã éçºè ã¯å€ãã®ããšãã³ããããããã¯ãã«ã«ã©ã€ã¿ãŒã¯ã»ãšãã©èŠããŸãããã¹ã¿ã€ã«ã®çµ±äžæ§ã¯å£ããŠããŸãã
ãã®ã¢ãããŒãã®æ¬¡ã®åé¡ã¯ãæ§æãå£ããŠããããšã§ãã Markdownã䜿çšãããšããŸã£ããç°ãªãæ¹æ³ã§èšè¿°ããåãçµæãåŸãããšãã§ããŸãã åã±ãŒã¹ã®æè¡ææžã®éçºè ã¯ãèŠåºãããªã¹ãã®äœæãã¹ã¯ãªãŒã³ã·ã§ããã®æ¿å ¥ãªã©ã«ã€ããŠåæããŠããŸãã
å®éãçŸå®ã¯ãã°ãã°æãŸãããã®ãšã¯ç°ãªãããã®åé¡ã«å¯ŸåŠã§ããªããã°ãªããŸããã çµæã¯æåŸ ãããŠããããã«èŠããŸããããã®åé¡ãçŸåšè§£æ±ºãããŠããªãå Žåã¯ãã¢ã»ã³ããªæ®µéã§è§£æ±ºããå¿ èŠããããŸãã å€ãã®å Žåãã¿ã¹ã¯ããããŸã-ããšãã°ã第3ã¬ãã«ã®ãã¹ãŠã®èŠåºããèŠã€ããã«ã¯ bektikamiãš2ãã¯ã»ã«å¢å ããŸãã ã©ã€ãã³ã°æ®µéã§è§£æ±ºããªãå Žå㯠ãã¢ã»ã³ããªæ®µéã§è§£æ±ºãã倧ããªã¹ã¯ãªãããäœæããå¿ èŠããããŸãã
ãããã£ãŠã次ã®åé¡-Markdownæ§æãè¿œå ããŸãã èŠåŽããŠãã3ã€ã®äž»ãªèª²é¡ããããŸããã ãŸãããªãŒãã³ãœãŒã¹ãããžã§ã¯ããç¹ã«BEMããããŸãã éçºè ããã¯ãã«ã«ã©ã€ã¿ãŒã翻蚳è ã«å ããŠããªãŒãã³ãœãŒã¹ãããžã§ã¯ãã«ãè²¢ç®è ãããŸãã è²¢ç®è ã¯ã補åã®æ¹åãæ¯æŽããæè¬ããŠããŸãã ãããããããŸãã 圌ãã¯ç§ãã¡ã«ããŒã«ãªã¯ãšã¹ããéä¿¡ãã質ã®é«ãã³ã³ãã³ãã圌ããšå ±æããŸãã ãã®ãããäœããã®æ¹æ³ã§ãœãªã¥ãŒã·ã§ã³ãæ¢ãå¿ èŠããããŸãã
次ã®ã»ã¯ã·ã§ã³ã§ã¯ãèªåãã¹ãããªã³ãã£ã³ã°ã«ã€ããŠèª¬æããŸãã Markdownæ§æãäžè²«ããŠãã§ãã¯ããææ³ãšã©ãŒãåé¡ã®ããã¹ãã®ããŒã«ãŒãèŠã€ããæ¹æ³ãã©ãã«ãããŠåŠã¶ããã«ã§ããããšã ããã¯ç§ã®ãæ°ã«å ¥ãã®ã»ã¯ã·ã§ã³ã§ãã ãªã³ãã£ã³ã°ã®é²æ©ã¯ããã¯ãã«ã«ã©ã€ã¿ãŒã®é²æ©ã«åœ¹ç«ã€ãšæããŸãã
remark-lintãšããããŒã«ããå§ããŸãããã æ§æãšèšè¿°ã¹ã¿ã€ã«ã確èªã§ããŸãã çºèšèªäœã¯ãããªãã¯ãã¡ã€ã³ã§ãããç§ãã¡ã«ãã£ãŠéçºããããã®ã§ã¯ãªãã䜿çšããŠããŸããç¬èªã®ã«ãŒã«ã»ãããããã50以äžãããŸãããããã®ã«ãŒã«ã«å ããŠãç¬èªã®ã«ãŒã«ãäœæããã¬ã€ããçºèšã«å«ããŸããã
ã©ã®ããã«æ©èœããŸããïŒ ã³ã³ãã³ããå«ããã¹ããã¡ã€ã«ãããã第1ã¬ãã«ã第2ã¬ãã«ãããã³ããã€ãã®ãªã¹ãã®èŠåºãããããšããŸãã
ã¿ãŒããã«ã§ã³ãã³ããå ¥åããŸãã ããã¯ãåŠçäžã®ããŒã ã§ãã ãã¯ãã«ã«ã©ã€ã¿ãŒãGitHubã§ã³ãããããããã¥ã¡ã³ããæ£åžžãªç¶æ ã§ããå Žåããšã©ãŒããªãããšã瀺ãã¡ãã»ãŒãžã衚瀺ãããŸãã ãããŠãã³ãããã¯GitHubã«éãããŸãã ãšã©ãŒããããšããŸã-ããšãã°ãæåã®èŠåºãã®2çªç®ã®ã¬ãã«ã«ãã2çªç®ã®èŠåºãã«ãHelloããšæå笊ãè¿œå ããŸãã åãã³ãã³ããå®è¡ãããšã3ã€ã®ãšã©ãŒãçºçããŸãã
ãªã³ãã£ã³ã°ã®é²è¡ã¯ããã¯ãã«ã«ã©ã€ã¿ãŒã®é²è¡ã«åœ±é¿ããŸãã ãã¯ãã«ã«ã©ã€ã¿ãŒã¯ãèŠåºããèŠåã«æå笊ãä»ããªãããšã«åæããããšãæãåºããŸãããã¹ãŠé 調ã§ãã ãããã®ã«ãŒã«ã¯ã©ã®ããã«é¢ä¿ããŠããŸããïŒ ãããžã§ã¯ãã®ã«ãŒãã«ããremarkrcãã¡ã€ã«ã«ã¯ãç¬èªã®ã«ãŒã«ã®ã»ããïŒç§ã¯ããããåæžããŸããïŒãšãã³ã¡ã³ãèªäœã®åçšã«ãŒã«ã®ã»ãããå®çŸ©ããŸãã
次ã®ããŒã«ã¯yaspellerã§ãã ããã¥ã¡ã³ãã®ææ³ãšã¹ãã«ãã¹ããã§ãã¯ããŸãã ããã¥ã¡ã³ãã¯Yandex.Technologiesã«ãããŸã -ãšããã§ãããã¯gitã§æžãããŠããŸãã ããªãã¯ãããèªãããšãã§ããŸãããã¹ãŠãåãååã«åŸã£ãŠããã§åäœããŸãïŒã¹ãã«ãã¹ããããŸã-ã¡ãã»ãŒãžã衚瀺ãããŸãã è²¢ç®è ãããªããããŒã«ãªã¯ãšã¹ãããããšããŠããéçºè ã¯ãããã€ãã®ä¿®æ£ãéä¿¡ããŸãããã¹ãã«ããŠã³ãMarkdownæ§æã®äžæ£ç¢ºãã§ããããéä¿¡ããããšã¯ã§ããŸããã ãããã£ãŠããããã®ããŒã«ã¯æ¥ç¶ããã®ã«éåžžã«äŸ¿å©ã§ãããprekommitã§æ©èœããŸãã
次ã®ã»ã¯ã·ã§ã³ã¯ç¿»èš³ã«ã€ããŠã§ãã md2xliffããŒã«ãéçºããŸããã ç§ãã¡ã¯å€ãã®ãªãŒãã³ãœãŒã¹ææžãšå°ãã®å éšææžã翻蚳ããŸãã ãªãŒãã³ãœãŒã¹ããã¥ã¡ã³ãã®å ŽåãããŒã«ãªã¯ãšã¹ããéä¿¡ããå¯çš¿è ãããŸããéä¿¡ããããããããã«ãGitHubã€ã³ã¿ãŒãã§ãŒã¹ãŸãã¯æ£æãµãŒãã¹ã䜿çšããŠãªã³ã¯ããã©ãããšãæäŸããWebãµã€ãã§ãµã€ã³ããäœæããŸãã ioã ããšãã°ã圌ããå ¥ããå€æŽãå ãã[OK]ãã¯ãªãã¯ãããšãããŒã«ãªã¯ãšã¹ããå°çããŸãã
ããããã¹ãŠãµããŒãããæ¹æ³ã¯ïŒ ææžããã¯ãã«ã«ã©ã€ã¿ãŒã«ãã£ãŠäœæããã翻蚳è ã翻蚳ãããŠãŒã¶ãŒãæ¥ãŠ-æåã¯ãã·ã¢èªçã§-ããã«äœããä¿®æ£ãããšããŸãã è±èªçãã©ãããŸããïŒ ããã§äœããç·šéããå¿ èŠããããŸããïŒ æ確ã§ã¯ãããŸããã ä¿®æ£ãããã¿ã€ããã¹ãæ¢ãæ¹æ³ãäžæã§ãã ãŸãã¯ãGitHubã«ç§»åããŠãå·®åã®éãã確èªã§ããŸãã ããããããã¯ãŸã ã¿ã¹ã¯ã§ãã翻蚳è ã«ä»»ããå¿ èŠããããŸãã 解決çãèŠã€ããå¿ èŠããããŸãã
2çªç®ã®ç¶æ³ããããŸãã ããšãã°ãéçºè ã¯ã©ã€ãã©ãªã®2çªç®ã®ããŒãžã§ã³ãäœæããããã¥ã¡ã³ãå šäœãååŸããã30ããŒãžãæžãæããªãã£ãåŸããã®éšåãåé€ããŠè¿œå ããŸããã ãããŠåé€ãããå Žå-ããã¯äœããã¹ãããæ確ã§ã¯ãããŸããã GitHubã®å·®åã§ããã確èªããå¿ èŠããããŸãã
ã«ãªãæ¹æ³ ããã¯ãéãéã®ãªãé£ããç¶æ³ã®ããã§ãã ããããããªãã翻蚳ã«æºãã£ãããšãããã°ã圌ã¯ããããå€ãã®æšæºãããããšãç¥ã£ãŠããã§ãããããããŠè©³çŽ°ã«èª¿ã¹ããšããœãªã¥ãŒã·ã§ã³ã¯æ¬¡ã®ããã«ãªããŸãïŒGitHubã«ãããã¹ããã¡ã€ã«ãšäœããã®ããã¥ã¡ã³ãããã¹ãããããŸãã äœãããå¿ èŠããããŸããïŒ ã¹ã±ã«ãã³ãšXLIFF翻蚳ã®2ã€ã®ãã¡ã€ã«ãçæããå¿ èŠããããŸãã
ã¹ã±ã«ãã³ã¯ãããã¯ã®æžåŒèšå®ã§ããã€ãŸããããã¹ãã®äžéšããã®ãããªãã¬ãŒã¹ãã«ããŒã§æ°åã«çœ®ãæããŸãã
XLIFFã¯ç¹å¥ãªåœ¢åŒã§ããã説æãããä»æ§ãããããã¹ãŠãåçŽã§ãã æãéèŠãªããšã¯ãXLIFFã«ãŠããããããããŠãããIDãã¹ã±ã«ãã³ã§çœ®ãæããã»ã°ã¡ã³ãã«å¯Ÿå¿ããŠããããšã§ãã
ãŸããåãŠãããã«ã¯ããœãŒã¹ãšã¿ãŒã²ããã®2ã€ã®ã¿ã°ããããŸãã ãœãŒã¹ã¿ã°ã«ã¯ãã¹ã±ã«ãã³ã§çœ®æããããã¹ããæ£ç¢ºã«å«ãŸããŠãããã¿ãŒã²ãããã£ãŒã«ãã¯æåã¯ç©ºã§ãã ãã®XLIFFã翻蚳è ã«æž¡ããŸãã ããã§ãã¿ãŒã²ãããã£ãŒã«ãã«å ¥åãããŸãã 翻蚳åŸãéçæãè¡ããè±èªçã®ããã¥ã¡ã³ããååŸããŸãã
åæã«ã翻蚳ã¯ã©ãã«ãæ¶ããŸããããç¹å¥ãªæšæºåãããXMLãã¡ã€ã«TMXã«ä¿åãããŸãã ãœãŒã¹ãšã¿ãŒã²ããã®2ã€ã®å€ããããŸãã ããã¯ã©ã®ããã«åœ¹ç«ã¡ãŸããïŒ ä»¥åã®ç¶æ³ã«æ»ããŸãã å¯çš¿è ãéçºè ããŸãã¯å¥ã®ãã¯ãã«ã«ã©ã€ã¿ãŒãæ¥ãŠãå ã®ããã¥ã¡ã³ãã®äœããä¿®æ£ããŸããã ããšãã°ããã·ã¢èªçã§ã¯ã
ãŸã XLIFFãçæããŠç¿»èš³è ã«æž¡ããããã°ã©ã ã«ä¿åãããŠããããŒã¿ããŒã¹ã䜿çšããŠãå€æŽãããã»ã°ã¡ã³ããæ£ç¢ºã«ç¿»èš³ããŸãã 100ããŒã»ã³ãäžèŽããè¡ã¯å€æãããŸããããããèªäœã¯ãªãŒãã³ã¬ã¯ãã«ãã£ãŠçœ®ãæããããŸãã ãããã£ãŠãå€æŽããããã®ãæ¢ãåé¡ã¯ãããããŸããã å°ãªããšãäœããã®åœ¢ã§å€æŽããããã¹ãŠã®è¡ã翻蚳ã«è¡šç€ºãããããšãä¿èšŒããŸãã 次ã«ãããã¥ã¡ã³ãã®è±èªçãçæããŸãããã¹ãŠãç°¡åã§ãã æ¢æã®è§£æ±ºçãããããã§ã-確ãã«ããããã¹ãã ããã§ãã
ABBYYã®smartcat.ai ã Googleã®ãœãªã¥ãŒã·ã§ã³ã MatecatããããŸã ã ãããããããã®ãœãªã¥ãŒã·ã§ã³ã®å šäœçãªæ¬ ç¹ã¯ãMarkdownããµããŒãããŠããªãããšã§ããMarkdownã«ã¯ãäœææ¹æ³ã«é¢ããåäžã®æšæºããããŸããã ãããŠã圌ãã¯ããããã€ãã¹ããæšæºåããããã©ãŒãããããµããŒãããŸãã å é±ãmatecatã§Markdownããã§ãã¯ãããšããããã¹ãŠãèµ€ããªããŸããã ããŒã¯ããŠã³ã¯æ°åããªããã®ã§ãããã
ããšãã°ãè€éãªãã¹ããåããããŒã«ãåãäžããŸãã ã³ãŒããããããã®äžã«3ã€ã®ããã¯ãã¯ã¹ããããããã«JSDocãããã99ïŒ ã§ãã¹ãŠã«å¯ŸåŠããŸãããã¹ãã®ã¬ãã«ã¯ä»»æã§ãã
ãããã®ãµãŒãã¹ã®2çªç®ã®èŽåœçãªæ¬ é¥ã¯ãGitHubãšçµ±åãããªãããšã§ãã ãŠãŒã¶ãŒããªã³ã¯ãä»ããŠç§ãã¡ã®ãšããã«æ¥ãŠãäœããä¿®æ£ãããã®ã§ãããçµ±åãããŸããã
ç§ãã¡ã¯çããã«ã€ããŠè°è«ããŸããã ãã·ã¢èªã®ãœãŒã¹ææžããããå¥ã®èšèªã«ç¿»èš³ãããšãç¹å®ã®ãã¢ãã€ãŸããã·ã¢èªãžã®å åºãªæ·»ä»ãã¡ã€ã«ããããŸãã ãŠãŒã¶ãŒãã©ãããæ¥ãŠãããã®å Žã§TMXãç·šéã§ããããã«ããã®æ·»ä»ãã¡ã€ã«ãåé€ããäœæ¥ãè¡ã£ãŠããŸãã ãã·ã¢èªçãŸãã¯è±èªçããããçæäžã«TMXãçŽæ¥å±éããå¿ èŠããããŸãã ããã¯ãŸã 決å®ãããŠããŸããã
ãµã€ãã®çµã¿ç«ãŠã¯ãå·çãããµã€ãã«æ²èŒãããŸã§ã®Markdownææžã®ãã¹ã®äžè¬çãªã¬ãã¥ãŒã®äžéšãšããŠæ€èšããããšãææ¡ããŸãã
ã¯ãŒã¯ãããŒã¯ã©ã®ããã«èŠããŸããïŒ äœæ¥èšç»ãäœæããããã¹ãŠã®æ å ±ãåéããããšããŸãã Markdownãšèšãã°ãæ§æã®é 眮ã«åŸãããšãéèŠã§ãã ãã®åŸãèªåãã¹ããè¡ââããããªã³ãã£ã³ã°ã®äºåã³ããããè¡ãããŸãã 次ã«ãããã¥ã¡ã³ãã¯GitHubã«éãããŸãã è±èªçãå¿ èŠãªå Žåã¯ãããã¥ã¡ã³ããããŒã«ã©ã€ãºããŸãã ã¢ã»ã³ããªãè¡ãããåŸã2ã€ã®ã¹ããŒãªãŒããããŸãã 1ã€ã¯ã1察1ã®ããã¥ã¡ã³ããããŒãžã«ãããããããšãã§ããã2ã€ç®ã¯ãããŸããŸãªã€ã³ã©ã€ã³äŸãæ§ç¯ããå¿ èŠããããšãã§ãã ããŒãžãªã©ã«iframeãåã蟌ãå¿ èŠããããŸããããããã¹ãŠå®è¡ã§ããããŒã«ããããããããŸãã 圌ã¯ãªã³ã¯ã眮ãæããããšãã§ããããŸããŸãªMarkdownããã¥ã¡ã³ãã1ã€ã«çµåããã€ã³ã©ã€ã³ã®äŸãæ§ç¯ã§ããŸãã 次ã«ããµã€ãã§èšç®ãè¡ãããŸãã
ãªããŠã§ããµã€ããå¿ èŠãªã®ã§ããïŒ gulp.jsã®ããã«ããã¹ãŠã®ããã¥ã¡ã³ããMarkdownã«ä¿åããªãã®ã¯ãªãã§ããïŒ
çãã¯æããã§ããåäžã®ãšã³ããªãã€ã³ããå¿ èŠã§ãã 100ãè¶ ãããªããžããªãããããããã®ããã¥ã¡ã³ãã1ãæã§åéããå¿ èŠããããŸãã æ€çŽ¢ãããã²ãŒã·ã§ã³ãããã³å®äŸãå¿ èŠã§ãã ã©ã€ãã®äŸã¯æ¬¡ã®ããã«ãªããŸãã
GitHubãšãµã€ãäžã®åãããã¥ã¡ã³ãã¯ãç°ãªãæ¹æ³ã§ã¬ã³ããªã³ã°ãããŸãã æ°ãããŠã£ã³ããŠã§éãããã¿ã³ãã¯ãªãã¯ããŠãHTMLã確èªã§ããŸãã ãšãŠã䟿å©ã§ãã
ç§ãã¡ã®ã¬ã·ãã¯äœã§ããïŒ ã©ãããïŒ ãŸã第äžã«-ããŒãºã決å®ããã ããããç§ãã¡ã®ãã®ã«äŒŒãŠããå Žåã¯ãMarkdownæ§æã«å¶éãå°å ¥ããçšèªã«åŸããèªåãã§ãã¯ãè¡ãã翻蚳ã¡ã¢ãªã䜿çšããŸãã ããŒã«ïŒ remark -lint ã yaspeller ã md2xliff ã ããããšã