ðHIGãã£ãããŸãšã Foundationsç·š vol. 9 Right to left
Right to leftïŒå³ããå·ŠïŒ
ã¢ã©ãã¢èªãããã©ã€èªãªã©ã®å³ããå·ŠãžèªãèšèªããµããŒããããããå¿ èŠã«å¿ããŠã€ã³ã¿ãŒãã§ãŒã¹ãå転ãããé¢é£ããèšèªã®èªã¿æ¹ãäžèŽãããããšãã§ããŸãã
ã·ã¹ãã æäŸã®UIãã¬ãŒã ã¯ãŒã¯ã¯ããã©ã«ãã§å³ããå·ŠïŒRTLïŒããµããŒãããŠãããã·ã¹ãã æäŸã®UIã³ã³ããŒãã³ãã¯RTLã³ã³ããã¹ãã§èªåçã«å転ããããšãå¯èœã§ãã
ã·ã¹ãã æäŸã®èŠçŽ ãšæšæºçãªã¬ã€ã¢ãŠãã䜿çšããå Žåãã¢ããªã®èªåå転ã€ã³ã¿ãŒãã§ãŒã¹ã«å€æŽãå ããå¿ èŠããªãå ŽåããããŸãã
RTLèšèªã䜿çšããåœã®ããŸããŸãªãã±ãŒã«ã§çºçãåŸãç°ãªãé貚ãæ°åãæ°åŠèšå·ã«é©å¿ããããã«ãã¬ã€ã¢ãŠãã®åŸ®èª¿æŽãç¹å®ã®ããŒã«ã©ã€ãŒãŒã·ã§ã³ã匷åããããã®ã¬ã€ãã©ã€ã³ã§ãã
ããã¹ãã¢ã©ã€ã¡ã³ã
ã€ã³ã¿ãŒãã§ã€ã¹ã®æ¹åã«åãããŠããã¹ãã®é 眮ã調æŽãã
ããšãã°ãå·Šããå³ïŒLTRïŒã³ã³ããã¹ãã®ã³ã³ãã³ãã§ããã¹ããå·Šæãã«ããŠããå ŽåãRTLã³ã³ããã¹ãã§ã®ã³ã³ãã³ãã®ãã©ãŒãªã³ã°äœçœ®ã«åãããŠããã¹ããå³æãã«ããŠãã ããã段èœã¯ãçŸåšã®æèã§ã¯ãªãããã®èšèªã«åºã¥ããŠæŽåãããŸã
段èœïŒ3è¡ä»¥äžã®ããã¹ããæãïŒã®é 眮ãèšèªãšäžèŽããªããšãèªã¿ã«ãããªãããšããããŸãããªã¹ãå ã®ãã¹ãŠã®ããã¹ãã¢ã€ãã ã«äžè²«ããã¢ã©ã€ã¡ã³ãã䜿çšããŸã
ç°ãªãèšèªã§è¡šç€ºãããé ç®ãå«ãããªã¹ãå ã®ãã¹ãŠã®é ç®ã®ã¢ã©ã€ã¡ã³ããéã«ããŸããæ··åšãããªããçŽ æ©ããæ£ç¢ºãªã¢ãã¡ãŒã·ã§ã³ã
軜快ã§éªéã«ãªããªããå¹æçã«æ å ±ãäŒããããšãã§ããããã«ãäžè¬ã«ãé »ç¹ã«çºçããã€ã³ã¿ã©ã¯ã·ã§ã³ã«ã¯åããã€ããªãããã«ããŸããã
æšæºçãªã€ã³ã¿ãŒãã§ã€ã¹èŠçŽ ãšã®ã€ã³ã¿ã©ã¯ã·ã§ã³ã§ã¯ãã·ã¹ãã ã¯ãã§ã«åŸ®åŠãªã¢ãã¡ãŒã·ã§ã³ãæäŸããŠããŸããäœããšã€ã³ã¿ã©ã¯ã·ã§ã³ãããã³ã«ãäžå¿ èŠãªåããèŠãããã«äœåãªæéãè²»ããããããšã¯é¿ããŸãããã
æ°åã»æå
RTLèšèªã§ã¯ãç°ãªãæ°åäœç³»ã䜿çšããããšãã§ããŸãã
æ°åŠçãªæŠå¿µãæ°åãäžå¿ãšãããããã¯ã«çŠç¹ãåœãŠãã¢ããªã®å ŽåããµããŒãããåãã±ãŒã«ã®æ°åã«åãããã®ã¯è¯ãã¢ã€ãã£ã¢ã§ããäžæ¹ãæ°ã«é¢é£ãããããã¯ãéèŠããªãã¢ããªã¯ãäžè¬ã«ã·ã¹ãã ãæäŸããæ°è¡šç€ºã«é Œãããšãã§ããŸãã
ç¹å®ã®çªå·ã®æ°åã®é åºãéã«ããªãããš
çŸåšã®èšèªãåšå²ã®ã³ã³ãã³ãã«é¢ä¿ãªããé»è©±çªå·ãã¯ã¬ãžããã«ãŒãçªå·ãªã©ãç¹å®ã®æ°åã®æ¡ã¯åžžã«åãé åºã§è¡šç€ºãããŸããïŒRTLèšèªã®äžã§ãããããã®æ°åã®éšåã ãã¯LTRã®ãŸãŸã§OKïŒé²æç¶æ³ãã«ãŠã³ãã®æ¹åã瀺ãæ°åã®é çªãéã«ãã決ããŠæ°åãã®ãã®ãå転ãããªãã§ãã ãã
ããã°ã¬ã¹ããŒãã¹ã©ã€ããŒãã¬ãŒãã£ã³ã°ã³ã³ãããŒã«ãªã©ã«ã¯ããã®æå³ãæ確ã«ããããã«æ°åãå«ãŸããŠããããšããããããŸãããã®ãããªå Žåã¯ãå転ããã³ã³ãããŒã«ã®æ¹åãšäžèŽããããã«ãæ°åã®é åºãå転ãããããã«ããŠãã ããã
ãŸããç¹å®ã®é åºãäŒããããã«æ°åã䜿çšããå Žåããæ°åã®äžŠã³ãéã«ããŠãã ããã
ã³ã³ãããŒã«
人ã¯èªãèšèªãšåãæ¹åã«é²ããšèããåŸåããããããRTLã³ã³ããã¹ãã§ã¯ã¹ã©ã€ããŒãããã°ã¬ã¹ã€ã³ãžã±ãŒã¿ãªã©ã®ã³ã³ãããŒã«ãå転ãããããšã¯çã«ããªã£ãŠããŸãããã®å Žåãã³ã³ãããŒã«ã®éå§å€ãšçµäºå€ã瀺ãã°ãªããç»åã®äœçœ®ãå転ãããããã«ããŠãã ããã
äžå®ã®é åºã§é ç®ã移åãããã¢ã¯ã»ã¹ãããããã®ã«åœ¹ç«ã€ããªããã³ã³ãããŒã«
ããšãã°ãRTLç°å¢ã§ã¯ãæ»ããã¿ã³ãå³ãåããŠããå¿ èŠããããç»é¢ã®æµããRTLèšèªã®èªã¿é ãšåãã«ãªããŸããåæ§ã«ãé åºä»ããªã¹ãã®é ç®ã«ã¢ã¯ã»ã¹ããããã®ã次ãžããåãžããã¿ã³ããRTLã³ã³ããã¹ãã§ã¯èªã¿é ãšäžèŽããããã«å転ãããå¿ èŠããããŸããå®éã®æ¹åãåç §ããã³ã³ãããŒã«ããç»é¢äžã®é åãæã瀺ãã³ã³ãããŒã«ã®æ¹åãä¿æãã
äŸãã°ã"å³ "ãæå³ããã³ã³ãããŒã«ãæäŸããå ŽåãçŸåšã®ã³ã³ããã¹ãã«é¢ä¿ãªããåžžã«å³ãæããŠããªããã°ãªããªããå¿ èŠã§ããã°ãé£æ¥ããã©ãã³èªãšRTLã¹ã¯ãªããã®ãã©ã³ã¹ãèŠèŠçã«èª¿æŽãã
ã¢ã©ãã¢èªãããã©ã€èªã«ã¯å€§æåããªãããã倧æåã®æ¬§æããã¹ããšé£ãåããããšãå°ããèŠããããããšããããŸãïŒãã¿ã³ãã©ãã«ãã¿ã€ãã«ãªã©ïŒã
ã¢ã©ãã¢èªãããã©ã€èªã®ããã¹ããšããã¹ãŠå€§æåã§æžãããã©ãã³èªã®ããã¹ããšã®èŠèŠçãªãã©ã³ã¹ããšãã«ã¯ãRTLã®ãã©ã³ããµã€ãºã2ãã€ã³ãã»ã©å€§ãããããšããŸãããããšãå€ãããã§ãã
ç»å
åçãã€ã©ã¹ããäžè¬çãªã¢ãŒãã¯ãŒã¯ãªã©ã®ç»åãå転ãããããšã¯é¿ããŠãã ãã
ç»åãå転ããããšãç»åã®æå³ãå€ãã£ãŠããŸãããšãå€ããèäœæš©ã®ããç»åãå転ããããšéåãšãªãå¯èœæ§ããããŸããç»åã®é åºã«æå³ãããå Žåã¯ãç»åã®äœçœ®ãéã«ãã
äŸãã°ãè€æ°ã®ç»åã幎代é ãã¢ã«ãã¡ãããé ããæ°ã«å ¥ãé ãªã©ã®ç¹å®ã®é åºã§è¡šç€ºããå ŽåãRTLã³ã³ããã¹ãã§ã®é åºã®æå³ãä¿ã€ããã«ãããã®äœçœ®ãéã«ããŸãã
ã€ã³ã¿ãŒãã§ãŒã¹ã¢ã€ã³ã³
SF Symbolsã䜿ã£ãŠã¢ããªã®ã€ã³ã¿ãŒãã§ãŒã¹ã¢ã€ã³ã³ãæäŸãããšãRTL ã³ã³ããã¹ãçšã®ããªãšãŒã·ã§ã³ããã¢ã©ãã¢èªãããã©ã€èªãªã©ã®ããŒã«ã©ã€ãºãããã·ã³ãã«ãå ¥æããããšãã§ããŸãã
ããã¹ããèªæžæ¹åãè¡šãã€ã³ã¿ãŒãã§ãŒã¹ã¢ã€ã³ã³ãå転ããã
äŸãã°ãã€ã³ã¿ãŒãã§ã€ã¹ã¢ã€ã³ã³ãããã¹ããè¡šçŸããããã«å·Šæãã®ããŒã䜿çšããŠããå ŽåãRTL ã³ã³ããã¹ãã§ã¯ããŒãå³æãã«ããŸããããã¹ãã衚瀺ããã€ã³ã¿ãŒãã§ã€ã¹ã¢ã€ã³ã³ã®ããŒã«ã©ã€ãºããŒãžã§ã³ãäœæããããšãæ€èšããŸã
ïŒäŸãã°æåãè¡šãããã«ã ãããAããªã©ãçšããããŠãã¢ã€ã³ã³ïŒåæ¹ãŸãã¯åŸæ¹ã®åãã瀺ãã€ã³ã¿ãŒãã§ãŒã¹ã¢ã€ã³ã³ãå転ãããããš
åæ¹ãŸãã¯åŸæ¹ã«ç§»åãããªããžã§ã¯ããæããã€ã³ã¿ãŒãã§ãŒã¹ã¢ã€ã³ã³ã¯ããã®åãã®æå³ãä¿æããããã«ãRTLã³ã³ããã¹ãã§å転ãããå¿ èŠããããŸãã
äŸãã°ãã¹ããŒã«ãŒã®ã¢ã€ã³ã³ã¯LTRã§ã¯é³æ³¢ã¯å·Šããæ¥ãŠãŸããRTLã³ã³ããã¹ãã§ã¯ãã¢ã€ã³ã³ãå転ããŠãå³ããæ¥ãé³æ³¢ã衚瀺ããå¿ èŠããããŸããããŽããŠãããŒãµã«ãµã€ã³ãããŒã¯ã¯å転ãããªãã§ãã ãã
ããŽã¯ãããšãããã¹ããå«ãŸããŠããŠããåžžã«å ã®åœ¢ã§è¡šç€ºããããã«ããŠãã ããããã§ãã¯ããŒã¯ã®ãããªæ®éçãªèšå·ãããŒã¯ã¯äžè²«ããå€èŠ³ãæã€ããšãæåŸ ãããŠããã®ã§ãå転ãããããšã¯é¿ããŸããããäžè¬ã«ãçŸå®äžçã®ç©äœãæãããã€ã³ã¿ãŒãã§ãŒã¹ã®ã¢ã€ã³ã³ãå転ãããããšã¯é¿ããŠãã ãã
äŸãã°ãæèšã¯ã©ãã§ãåãããã«åãã®ã§ãèšèªã®æ¹åã«é¢ä¿ãªãåãããã«èŠããå¿ èŠããããŸããä»ã«ããã³ã®ããŒã¯ã®ããã«ãå³å©ãçšã«åŸæãããéå ·ã瀺ãã¢ã€ã³ã³ãå転ãããå¿ èŠã¯ãªããæ··ä¹±ãæãå¯èœæ§ããããŸããè€éãªã«ã¹ã¿ã ã€ã³ã¿ãŒãã§ãŒã¹ã®ã¢ã€ã³ã³ãåã«å転ãããåã«ããã®åã ã®ã³ã³ããŒãã³ããšå šäœã®ããžã¥ã¢ã«ãã©ã³ã¹ãèæ ®ããå¿ èŠããããŸãã
å Žåã«ãã£ãŠã¯ããããžãã¹ã©ãã·ã¥ãè«çŒé¡ãªã©ã®ã³ã³ããŒãã³ãã¯ãããŒã«ã©ã€ãŒãŒã·ã§ã³ã«é¢ä¿ãªããããžã¥ã¢ã«ãã¶ã€ã³èšèªãéµå®ããå¿ èŠããããŸãã
ãŸããããŒã«ã©ã€ãºçã®ã¢ã€ã³ã³ãæå³ãæã€ããã«ãã³ã³ããŒãã³ãïŒãŸãã¯ãã®äœçœ®ïŒãå転ãããå¿ èŠãããå ŽåããããŸããUIãå転ãããšãããžãå転ããå¿ èŠããããŸããå€æŽãããæå³ãšã¢ã€ã³ã³ã®å šäœçãªèŠèŠçãã©ã³ã¹ã®äž¡æ¹ãä¿ããããã©ãããæ€èšããŸãã
ææ³
åçŽã«æåãå·Šå³éããã«ãªããšããããšã§ãªããèŠç·ã®åããæå³åããšããŠã®é åºãå·Šå³é転ãããšããã®ããã«ããã§ãããŒã
ããã¬ã€ã¢ãŠãããæã«ZåãæèïŒãšããããã©ãããå転ããã£ãŠããšã§ããã
ã¯ã¬ãžããã«ãŒãçªå·ãé»è©±çªå·ãªã©ã¯éã«ãªããªããã©ãstepãã©ã³ãã³ã°ãã¬ãŒãã£ã³ã°ãªã©ã¯éã«ãã¹ããšããã®ã¯èšãããŠèŠãã確ãã«ãæå³ã«æ³šç®ããŠå€æããŠãããªããã°ãªããªãã
ã次ãžããåãžããã¿ã³ãå·Šå³éã«ãšããã®ã確ãã«ïŒã ãã©ãã¶ã€ã³é£ãããã ãªã»ã»ã»ããŒã«ã©ã€ãºãªãœãã·ã€
ãã®èšäºãæ°ã«å ¥ã£ãããµããŒããããŠã¿ãŸãããïŒ