You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
ããã¯i18n対å¿ã®ããã« i18next 㨠react-i18next ã使ã£ã¦ã¿ãåå¿é²ã¨ãªãã ç®æ¬¡ ç®æ¬¡ Reactã¢ããªã§ã®i18n対å¿(å½éå/å¤è¨èªå¯¾å¿)ã«i18nextã使ã£ã¦ã¿ã react-intlã¨i18next ãµã³ãã«ã¢ããªã®éå½¢çæ create-react-appã§ãã©ã¦ã¶ãåæã«ç«ã¡ä¸ãããªãããã«ãã react-i18nextã®ã»ããã¢ãã HOCã§ä½¿ãå ´åã¯withTranslationã使ã hookã§ä½¿ãå ´åã¯useTranslationã使ã namespacesã«ã¤ã㦠translation ã¨ããnamespaceã®æåã«ã¤ã㦠translationãè¨èªã®ããã¹ããã¡ã¤ã«ã«å«ããããªãå ´å è¨èªãåãæ¿ããæ©è½ãå®è£ ãã 翻訳ããè¨èªã®ç®¡çæ¹æ³ Transãç¨ãã¦ãHTMLã¿ã°ã使ããã¦ããç®æãå¤è¨èªåãã addResourceB
å¹´æ«ãå¹´å§ã«ããã¦ãReact with i18n対å¿(å½éå対å¿)ã«ã¤ãã¦èª¿ã¹ã¦ãã¾ããã ä¸æ¸ãã§ãã£ã¨å¡©æ¼¬ãã«ãªã£ã¦ããã®ãæãåºããTODOãªã©ãæ®ããã¾ã¾ä¸æ¦å ¬éãã¾ãã ãã¨ã§ãå°ããã¤å 容ãå å®ããã¦ããããã åæã¨ãã¦ãèªèº«ã¯i18n対å¿ã®çµé¨ãã»ã¨ãã©ãªãåå¿è ã¬ãã«ã§ãããããæ¸ãã¦ããå 容ãåºæ¬çãªãã®ãã»ã¨ãã©ã ã¨æãã¾ãã (æãrailsã¢ããªæ¸ãã¦ããã¨ãã«ã¡ãã£ã¨ãã£ã¦ããç¨åº¦ã§ã...) ã¾ããi18n対å¿ãè¡ãã«ããã£ã¦react-intlã使ç¨ãã¦ãã¾ãããä»ã®æ¹ã®æ¸ãããè¨äºãè¦ã¦ããã¨ãèªåã¨ã¯å¥ã®ããæ¹ããã¦ããããããããã¨ããæ¹ããããããªæãããã¾ããã å®éã«èªèº«ã§ããµã³ãã«ãä½æãã¦ã¿ã¦ãè¨èªãã¡ã¤ã«ã®ç®¡çã®ä»æ¹ä¸ã¤ãã¨ã£ã¦ãè²ã ãªææ³ãåºã¦ããããªæ°ãããã®ã§ããããªããæ¹ããããã ãªã¼ã¨ããæãã§è¦ã¦ããã ããã»ããè¯ãããããã¾
翻訳ãã¯ããã¸ã¼ã®ä¸ççãªã¼ãã¼ Phraseã¯ã翻訳ã®èªååã¨ç®¡çã½ãªã¥ã¼ã·ã§ã³ãæä¾ãããã¨ã§ãã°ãã¼ãã«ãã¸ãã¹ã®æé·ãæ¯æ´ãã¦ãã¾ãã Phrase Localization Platform Phraseã¯ãå¤ãã®ãã¼ã«ããµã¼ãã¹ã¨é£æºã§ããã«ã¹ã¿ãã¤ãºæ§ã®é«ãã¯ã©ã¦ãåã®ãã¼ã«ãªã¼ã¼ã·ã§ã³ãã©ãããã©ã¼ã ã§ããAIæ©è½ãæ´»ç¨ããã¯ã©ã¦ãåã®ãã®ãã©ãããã©ã¼ã ãå©ç¨ãããã¨ã§ãä¸çä¸ã®é¡§å®¢ã«ãèªå½èªã§é²è¦§å¯è½ãªã³ã³ãã³ããæä¾ã§ãã¾ãã é«éãã¤æ£ç¢ºã«å¤§è¦æ¨¡ãªã³ã³ãã³ããèªååãã管çãã翻訳ããçµ±åããããã«æ§ç¯ããããã©ãããã©ã¼ã ã¯ãããå°ãªããªã½ã¼ã¹ã§ãã¸ãã¹ã®æ¡å¤§ãè¿ éã«å®ç¾ãã¾ãã
WAI-ARIAãæ´»ç¨ããããã³ãã¨ã³ãå®è£ 第1å roleå±æ§ãariaå±æ§ã®åºç¤ç¥è Webã³ã³ãã³ãã¢ã¯ã»ã·ããªãã£ã確ä¿ãããã¾ãã¾ãªä»æ§ã®ãã¡ãWebãµã¤ããWebã¢ããªã±ã¼ã·ã§ã³ã§æ´»ç¨ã§ããroleå±æ§ã¨ariaå±æ§ã«ã¤ãã¦åãä¸ãã¾ããã¾ãã両è ã®åºç¤çãªç¥èãã解説ãã¾ãã ã¯ããã« æ å ±ã¢ã¯ã»ã·ããªãã£ã«é¢ããæ³æ´åãªã©ã®èæ¯ããããã¢ã¯ã»ã·ããªãã£ã®ç¢ºä¿ã¯ãä»å¾ãã¨ã³ã¸ãã¢ã¨ãã¦ç¡è¦ã§ããªãæè¡ã¨ãªã£ã¦ãã¾ããã ããªããããã¾ã§ãã¢ã¯ã»ã·ããªãã£ã«å¯¾ãã¦ããã¾ãèå³ã®ãªããã¼ã¯ã¢ããã»ã¨ã³ã¸ãã¢ãããã³ãã¨ã³ãã»ã¨ã³ã¸ãã¢ã ã£ãã¨ãã¦ããHTMLã¨SVGã®è¿½å ä»æ§ã§ããWAI-ARIAï¼ã¦ã§ã¤ã»ã¢ãªã¢ï¼ãç解ããã°ãWebãµã¤ãã®ã¢ã¯ã»ã·ããªãã£ãå¼·åã§ããã®ã¯ãã¡ããã®ãã¨ãCSSè¨è¨ãJavaScriptã§ã®UIå®è£ ã®éã«ããWAI-ARIAã®èãæ¹ãå½¹ç«ã¦ãã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}