Skip to content

Commit

Permalink
added nepali translation (#772)
Browse files Browse the repository at this point in the history
  • Loading branch information
SumanTwati committed Dec 2, 2023
1 parent f946ce8 commit 4c789bb
Show file tree
Hide file tree
Showing 2 changed files with 1,011 additions and 8 deletions.
17 changes: 9 additions & 8 deletions src/utils/language.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,21 @@ import { systemLanguageRef } from './refs';

// Language: Language Code in books/translations
export const languageCodeMap: Record<string, string> = {
English: 'en',
French: 'fr',
German: 'de',
Portuguese: 'pt',
Arabic: 'ar',
Catalan: 'ca-ES',
Spanish: 'es',
Danish: 'da',
Dutch: 'nl',
English: 'en',
French: 'fr',
German: 'de',
Gujarati: 'gu',
Turkish: 'tr',
Korean: 'ko',
Swedish: 'sv',
Danish: 'da',
Nepali: 'np',
Portuguese: 'pt',
'Simplified Chinese': 'zh-CN',
Spanish: 'es',
Swedish: 'sv',
Turkish: 'tr',
};

export async function setLanguageMap(
Expand Down
Loading

0 comments on commit 4c789bb

Please sign in to comment.