Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions client/components/Nav.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -667,6 +667,16 @@ class Nav extends React.PureComponent {
हिन्दी
</button>
</li>
<li className="nav__dropdown-item">
<button
onFocus={this.handleFocusForLang}
onBlur={this.handleBlur}
value="ko"
onClick={(e) => this.handleLangSelection(e)}
>
한국어
</button>
</li>
<li className="nav__dropdown-item">
<button
onFocus={this.handleFocusForLang}
Expand Down
5 changes: 5 additions & 0 deletions client/i18n.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import i18n from 'i18next';
import { initReactI18next } from 'react-i18next';
import Backend from 'i18next-http-backend';

import {
enUS,
es,
ja,
hi,
ko,
ptBR,
de,
frCA,
Expand All @@ -23,6 +25,7 @@ const availableLanguages = [
'fr-CA',
'hi',
'ja',
'ko',
'pt-BR',
'sv',
'uk-UA',
Expand All @@ -38,6 +41,7 @@ export function languageKeyToLabel(lang) {
'fr-CA': 'Français',
hi: 'हिन्दी',
ja: '日本語',
ko: '한국어',
'pt-BR': 'Português',
sv: 'Svenska',
'uk-UA': 'Українська',
Expand All @@ -55,6 +59,7 @@ export function languageKeyToDateLocale(lang) {
'fr-CA': frCA,
hi,
ja,
ko,
'pt-BR': ptBR,
sv,
'uk-UA': uk,
Expand Down
Loading