File tree Expand file tree Collapse file tree 3 files changed +605
-0
lines changed Expand file tree Collapse file tree 3 files changed +605
-0
lines changed Original file line number Diff line number Diff line change @@ -667,6 +667,16 @@ class Nav extends React.PureComponent {
667667 हिन्दी
668668 </ button >
669669 </ li >
670+ < li className = "nav__dropdown-item" >
671+ < button
672+ onFocus = { this . handleFocusForLang }
673+ onBlur = { this . handleBlur }
674+ value = "ko"
675+ onClick = { ( e ) => this . handleLangSelection ( e ) }
676+ >
677+ 한국어
678+ </ button >
679+ </ li >
670680 < li className = "nav__dropdown-item" >
671681 < button
672682 onFocus = { this . handleFocusForLang }
Original file line number Diff line number Diff line change 11import i18n from 'i18next' ;
22import { initReactI18next } from 'react-i18next' ;
33import Backend from 'i18next-http-backend' ;
4+
45import {
56 enUS ,
67 es ,
78 ja ,
89 hi ,
10+ ko ,
911 ptBR ,
1012 de ,
1113 frCA ,
@@ -23,6 +25,7 @@ const availableLanguages = [
2325 'fr-CA' ,
2426 'hi' ,
2527 'ja' ,
28+ 'ko' ,
2629 'pt-BR' ,
2730 'sv' ,
2831 'uk-UA' ,
@@ -38,6 +41,7 @@ export function languageKeyToLabel(lang) {
3841 'fr-CA' : 'Français' ,
3942 hi : 'हिन्दी' ,
4043 ja : '日本語' ,
44+ ko : '한국어' ,
4145 'pt-BR' : 'Português' ,
4246 sv : 'Svenska' ,
4347 'uk-UA' : 'Українська' ,
@@ -55,6 +59,7 @@ export function languageKeyToDateLocale(lang) {
5559 'fr-CA' : frCA ,
5660 hi,
5761 ja,
62+ ko,
5863 'pt-BR' : ptBR ,
5964 sv,
6065 'uk-UA' : uk ,
You can’t perform that action at this time.
0 commit comments