All files / app/i18n constants.ts

0% Statements 0/2
100% Branches 0/0
100% Functions 0/0
0% Lines 0/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100                                                                                                                                                                                                       
interface Language {
  name: string;
  flagIconCode: string;
}
 
interface LanguageMap {
  [key: string]: Language;
}
 
export const LANGUAGE_MAP: LanguageMap = {
  cs: {
    name: "Czech",
    flagIconCode: "CZ",
  },
  de: {
    name: "German",
    flagIconCode: "DE",
  },
  en: {
    name: "English",
    flagIconCode: "GB",
  },
  es: {
    name: "Spanish (Spain)",
    flagIconCode: "ES",
  },
  "es-419": {
    name: "Spanish",
    flagIconCode: "MX",
  },
  fr: {
    name: "French (France)",
    flagIconCode: "FR",
  },
  "fr-CA": {
    name: "French (Canada)",
    flagIconCode: "CA",
  },
  hi: {
    name: "Hindi",
    flagIconCode: "IN",
  },
  it: {
    name: "Italian",
    flagIconCode: "IT",
  },
  ja: {
    name: "Japanese",
    flagIconCode: "JP",
  },
  "nb-NO": {
    name: "Norwegian (Bokmål)",
    flagIconCode: "NO",
  },
  pl: {
    name: "Polish",
    flagIconCode: "PL",
  },
  pt: {
    name: "Portuguese",
    flagIconCode: "PT",
  },
  "pt-BR": {
    name: "Portuguese (Brazil)",
    flagIconCode: "BR",
  },
  ru: {
    name: "Russian",
    flagIconCode: "RU",
  },
  zh: {
    name: "Chinese",
    flagIconCode: "CN",
  },
  "zh-CN": {
    name: "Chinese (China)",
    flagIconCode: "CN",
  },
  "zh-Hans": {
    name: "Chinese (Simplified)",
    flagIconCode: "CN",
  },
  "zh-Hant": {
    name: "Chinese (Traditional)",
    flagIconCode: "CN",
  },
  "zh-HK": {
    name: "Chinese (Hong Kong)",
    flagIconCode: "HK",
  },
  "zh-SG": {
    name: "Chinese (Singapore)",
    flagIconCode: "SG",
  },
  "zh-TW": {
    name: "Chinese (Taiwan)",
    flagIconCode: "CN",
  },
};