Skip to content

Added Bengali Language Support to the editor and Some terms are converted into Korean #2618

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Nov 30, 2023
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
4 changes: 4 additions & 0 deletions client/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { initReactI18next } from 'react-i18next';
import Backend from 'i18next-http-backend';

import {
be,
enUS,
es,
ja,
Expand All @@ -22,6 +23,7 @@ import {
const fallbackLng = ['en-US'];

export const availableLanguages = [
'be',
'de',
'en-US',
'es-419',
Expand All @@ -40,6 +42,7 @@ export const availableLanguages = [

export function languageKeyToLabel(lang) {
const languageMap = {
be: 'Bengali',
de: 'Deutsch',
'en-US': 'English',
'es-419': 'Español',
Expand All @@ -60,6 +63,7 @@ export function languageKeyToLabel(lang) {

export function languageKeyToDateLocale(lang) {
const languageMap = {
be,
de,
'en-US': enUS,
'es-419': es,
Expand Down
Loading