import { LanguageCode } from './config';

export interface Translations {
  common: {
    loading: string;
    error: string;
    success: string;
    cancel: string;
    save: string;
    delete: string;
    edit: string;
    create: string;
    search: string;
    filter: string;
    actions: string;
    back: string;
    next: string;
    previous: string;
    submit: string;
    close: string;
  };
  dashboard: {
    title: string;
    systemHealth: string;
    costOverview: string;
    resourceUtilization: string;
    apiUsage: string;
    deployments: string;
    testEnvironments: string;
    apiKeys: string;
    billing: string;
    compliance: string;
    dataPipeline: string;
    integrationStatus: string;
    serviceAdoption: string;
    resourceUsage: string;
    costForecasting: string;
  };
  navigation: {
    home: string;
    dashboard: string;
    resources: string;
    billing: string;
    settings: string;
    admin: string;
    developer: string;
    partner: string;
    docs: string;
    support: string;
  };
  auth: {
    signIn: string;
    signOut: string;
    signUp: string;
    email: string;
    password: string;
    forgotPassword: string;
    rememberMe: string;
    twoFactorAuth: string;
    enable2FA: string;
    disable2FA: string;
    verifyCode: string;
  };
  marketplace: {
    title: string;
    partners: string;
    developers: string;
    api: string;
    browse: string;
    categories: string;
    ratings: string;
    downloads: string;
    subscribe: string;
    unsubscribe: string;
  };
  forum: {
    title: string;
    categories: string;
    posts: string;
    replies: string;
    createPost: string;
    createReply: string;
    pinned: string;
    locked: string;
    views: string;
    solution: string;
  };
  analytics: {
    title: string;
    revenue: string;
    users: string;
    apiUsage: string;
    growth: string;
    period: string;
    total: string;
    active: string;
    new: string;
  };
  onboarding: {
    welcome: string;
    step1: string;
    step2: string;
    step3: string;
    complete: string;
    skip: string;
  };
  errors: {
    notFound: string;
    unauthorized: string;
    forbidden: string;
    serverError: string;
    networkError: string;
    validationError: string;
  };
}

const translations: Record<LanguageCode, Translations> = {
  en: {
    common: {
      loading: 'Loading...',
      error: 'Error',
      success: 'Success',
      cancel: 'Cancel',
      save: 'Save',
      delete: 'Delete',
      edit: 'Edit',
      create: 'Create',
      search: 'Search',
      filter: 'Filter',
      actions: 'Actions',
      back: 'Back',
      next: 'Next',
      previous: 'Previous',
      submit: 'Submit',
      close: 'Close',
    },
    dashboard: {
      title: 'Dashboard',
      systemHealth: 'System Health Overview',
      costOverview: 'Cost Overview',
      resourceUtilization: 'Resource Utilization',
      apiUsage: 'API Usage',
      deployments: 'Deployments',
      testEnvironments: 'Test Environments',
      apiKeys: 'API Keys',
      billing: 'Billing',
      compliance: 'Compliance Status',
      dataPipeline: 'Data Pipeline',
      integrationStatus: 'Integration Status',
      serviceAdoption: 'Service Adoption',
      resourceUsage: 'Resource Usage',
      costForecasting: 'Cost Forecasting',
    },
    navigation: {
      home: 'Home',
      dashboard: 'Dashboard',
      resources: 'Resources',
      billing: 'Billing',
      settings: 'Settings',
      admin: 'Admin',
      developer: 'Developer',
      partner: 'Partner',
      docs: 'Documentation',
      support: 'Support',
    },
    auth: {
      signIn: 'Sign In',
      signOut: 'Sign Out',
      signUp: 'Sign Up',
      email: 'Email',
      password: 'Password',
      forgotPassword: 'Forgot Password?',
      rememberMe: 'Remember Me',
      twoFactorAuth: 'Two-Factor Authentication',
      enable2FA: 'Enable 2FA',
      disable2FA: 'Disable 2FA',
      verifyCode: 'Verify Code',
    },
    marketplace: {
      title: 'Marketplace',
      partners: 'Partner Marketplace',
      developers: 'Developer Marketplace',
      api: 'API Marketplace',
      browse: 'Browse',
      categories: 'Categories',
      ratings: 'Ratings',
      downloads: 'Downloads',
      subscribe: 'Subscribe',
      unsubscribe: 'Unsubscribe',
    },
    forum: {
      title: 'Community Forum',
      categories: 'Categories',
      posts: 'Posts',
      replies: 'Replies',
      createPost: 'Create Post',
      createReply: 'Create Reply',
      pinned: 'Pinned',
      locked: 'Locked',
      views: 'Views',
      solution: 'Solution',
    },
    analytics: {
      title: 'Analytics',
      revenue: 'Revenue',
      users: 'Users',
      apiUsage: 'API Usage',
      growth: 'Growth',
      period: 'Period',
      total: 'Total',
      active: 'Active',
      new: 'New',
    },
    onboarding: {
      welcome: 'Welcome',
      step1: 'Welcome Step',
      step2: 'Profile Step',
      step3: 'Preferences Step',
      complete: 'Complete',
      skip: 'Skip',
    },
    errors: {
      notFound: 'Not Found',
      unauthorized: 'Unauthorized',
      forbidden: 'Forbidden',
      serverError: 'Server Error',
      networkError: 'Network Error',
      validationError: 'Validation Error',
    },
  },
  es: {
    common: {
      loading: 'Cargando...',
      error: 'Error',
      success: 'Éxito',
      cancel: 'Cancelar',
      save: 'Guardar',
      delete: 'Eliminar',
      edit: 'Editar',
      create: 'Crear',
      search: 'Buscar',
      filter: 'Filtrar',
      actions: 'Acciones',
      back: 'Atrás',
      next: 'Siguiente',
      previous: 'Anterior',
      submit: 'Enviar',
      close: 'Cerrar',
    },
    dashboard: {
      title: 'Panel de Control',
      systemHealth: 'Resumen de Salud del Sistema',
      costOverview: 'Resumen de Costos',
      resourceUtilization: 'Utilización de Recursos',
      apiUsage: 'Uso de API',
      deployments: 'Implementaciones',
      testEnvironments: 'Entornos de Prueba',
      apiKeys: 'Claves de API',
      billing: 'Facturación',
      compliance: 'Estado de Cumplimiento',
      dataPipeline: 'Canalización de Datos',
      integrationStatus: 'Estado de Integración',
      serviceAdoption: 'Adopción de Servicios',
      resourceUsage: 'Uso de Recursos',
      costForecasting: 'Pronóstico de Costos',
    },
    navigation: {
      home: 'Inicio',
      dashboard: 'Panel de Control',
      resources: 'Recursos',
      billing: 'Facturación',
      settings: 'Configuración',
      admin: 'Administrador',
      developer: 'Desarrollador',
      partner: 'Socio',
      docs: 'Documentación',
      support: 'Soporte',
    },
    auth: {
      signIn: 'Iniciar Sesión',
      signOut: 'Cerrar Sesión',
      signUp: 'Registrarse',
      email: 'Correo Electrónico',
      password: 'Contraseña',
      forgotPassword: '¿Olvidaste tu Contraseña?',
      rememberMe: 'Recordarme',
      twoFactorAuth: 'Autenticación de Dos Factores',
      enable2FA: 'Habilitar 2FA',
      disable2FA: 'Deshabilitar 2FA',
      verifyCode: 'Verificar Código',
    },
    marketplace: {
      title: 'Mercado',
      partners: 'Mercado de Socios',
      developers: 'Mercado de Desarrolladores',
      api: 'Mercado de API',
      browse: 'Explorar',
      categories: 'Categorías',
      ratings: 'Calificaciones',
      downloads: 'Descargas',
      subscribe: 'Suscribirse',
      unsubscribe: 'Cancelar Suscripción',
    },
    forum: {
      title: 'Foro de la Comunidad',
      categories: 'Categorías',
      posts: 'Publicaciones',
      replies: 'Respuestas',
      createPost: 'Crear Publicación',
      createReply: 'Crear Respuesta',
      pinned: 'Fijado',
      locked: 'Bloqueado',
      views: 'Vistas',
      solution: 'Solución',
    },
    analytics: {
      title: 'Análisis',
      revenue: 'Ingresos',
      users: 'Usuarios',
      apiUsage: 'Uso de API',
      growth: 'Crecimiento',
      period: 'Período',
      total: 'Total',
      active: 'Activo',
      new: 'Nuevo',
    },
    onboarding: {
      welcome: 'Bienvenido',
      step1: 'Paso de Bienvenida',
      step2: 'Paso de Perfil',
      step3: 'Paso de Preferencias',
      complete: 'Completar',
      skip: 'Omitir',
    },
    errors: {
      notFound: 'No Encontrado',
      unauthorized: 'No Autorizado',
      forbidden: 'Prohibido',
      serverError: 'Error del Servidor',
      networkError: 'Error de Red',
      validationError: 'Error de Validación',
    },
  },
  fr: {
    common: {
      loading: 'Chargement...',
      error: 'Erreur',
      success: 'Succès',
      cancel: 'Annuler',
      save: 'Enregistrer',
      delete: 'Supprimer',
      edit: 'Modifier',
      create: 'Créer',
      search: 'Rechercher',
      filter: 'Filtrer',
      actions: 'Actions',
      back: 'Retour',
      next: 'Suivant',
      previous: 'Précédent',
      submit: 'Soumettre',
      close: 'Fermer',
    },
    dashboard: {
      title: 'Tableau de Bord',
      systemHealth: 'Vue d\'ensemble de la Santé du Système',
      costOverview: 'Aperçu des Coûts',
      resourceUtilization: 'Utilisation des Ressources',
      apiUsage: 'Utilisation de l\'API',
      deployments: 'Déploiements',
      testEnvironments: 'Environnements de Test',
      apiKeys: 'Clés API',
      billing: 'Facturation',
      compliance: 'Statut de Conformité',
      dataPipeline: 'Pipeline de Données',
      integrationStatus: 'Statut d\'Intégration',
      serviceAdoption: 'Adoption de Services',
      resourceUsage: 'Utilisation des Ressources',
      costForecasting: 'Prévision des Coûts',
    },
    navigation: {
      home: 'Accueil',
      dashboard: 'Tableau de Bord',
      resources: 'Ressources',
      billing: 'Facturation',
      settings: 'Paramètres',
      admin: 'Administrateur',
      developer: 'Développeur',
      partner: 'Partenaire',
      docs: 'Documentation',
      support: 'Support',
    },
    auth: {
      signIn: 'Se Connecter',
      signOut: 'Se Déconnecter',
      signUp: 'S\'inscrire',
      email: 'E-mail',
      password: 'Mot de Passe',
      forgotPassword: 'Mot de Passe Oublié?',
      rememberMe: 'Se Souvenir de Moi',
      twoFactorAuth: 'Authentification à Deux Facteurs',
      enable2FA: 'Activer 2FA',
      disable2FA: 'Désactiver 2FA',
      verifyCode: 'Vérifier le Code',
    },
    marketplace: {
      title: 'Marché',
      partners: 'Marché des Partenaires',
      developers: 'Marché des Développeurs',
      api: 'Marché API',
      browse: 'Parcourir',
      categories: 'Catégories',
      ratings: 'Évaluations',
      downloads: 'Téléchargements',
      subscribe: 'S\'abonner',
      unsubscribe: 'Se Désabonner',
    },
    forum: {
      title: 'Forum Communautaire',
      categories: 'Catégories',
      posts: 'Publications',
      replies: 'Réponses',
      createPost: 'Créer une Publication',
      createReply: 'Créer une Réponse',
      pinned: 'Épinglé',
      locked: 'Verrouillé',
      views: 'Vues',
      solution: 'Solution',
    },
    analytics: {
      title: 'Analyses',
      revenue: 'Revenus',
      users: 'Utilisateurs',
      apiUsage: 'Utilisation de l\'API',
      growth: 'Croissance',
      period: 'Période',
      total: 'Total',
      active: 'Actif',
      new: 'Nouveau',
    },
    onboarding: {
      welcome: 'Bienvenue',
      step1: 'Étape de Bienvenue',
      step2: 'Étape de Profil',
      step3: 'Étape de Préférences',
      complete: 'Terminer',
      skip: 'Ignorer',
    },
    errors: {
      notFound: 'Non Trouvé',
      unauthorized: 'Non Autorisé',
      forbidden: 'Interdit',
      serverError: 'Erreur Serveur',
      networkError: 'Erreur Réseau',
      validationError: 'Erreur de Validation',
    },
  },
  de: {
    common: {
      loading: 'Laden...',
      error: 'Fehler',
      success: 'Erfolg',
      cancel: 'Abbrechen',
      save: 'Speichern',
      delete: 'Löschen',
      edit: 'Bearbeiten',
      create: 'Erstellen',
      search: 'Suchen',
      filter: 'Filtern',
      actions: 'Aktionen',
      back: 'Zurück',
      next: 'Weiter',
      previous: 'Zurück',
      submit: 'Absenden',
      close: 'Schließen',
    },
    dashboard: {
      title: 'Dashboard',
      systemHealth: 'Systemzustand Übersicht',
      costOverview: 'Kostenübersicht',
      resourceUtilization: 'Ressourcennutzung',
      apiUsage: 'API-Nutzung',
      deployments: 'Bereitstellungen',
      testEnvironments: 'Testumgebungen',
      apiKeys: 'API-Schlüssel',
      billing: 'Abrechnung',
      compliance: 'Compliance-Status',
      dataPipeline: 'Datenpipeline',
      integrationStatus: 'Integrationsstatus',
      serviceAdoption: 'Service-Adoption',
      resourceUsage: 'Ressourcennutzung',
      costForecasting: 'Kostenprognose',
    },
    navigation: {
      home: 'Startseite',
      dashboard: 'Dashboard',
      resources: 'Ressourcen',
      billing: 'Abrechnung',
      settings: 'Einstellungen',
      admin: 'Administrator',
      developer: 'Entwickler',
      partner: 'Partner',
      docs: 'Dokumentation',
      support: 'Support',
    },
    auth: {
      signIn: 'Anmelden',
      signOut: 'Abmelden',
      signUp: 'Registrieren',
      email: 'E-Mail',
      password: 'Passwort',
      forgotPassword: 'Passwort Vergessen?',
      rememberMe: 'Angemeldet Bleiben',
      twoFactorAuth: 'Zwei-Faktor-Authentifizierung',
      enable2FA: '2FA Aktivieren',
      disable2FA: '2FA Deaktivieren',
      verifyCode: 'Code Verifizieren',
    },
    marketplace: {
      title: 'Marktplatz',
      partners: 'Partner-Marktplatz',
      developers: 'Entwickler-Marktplatz',
      api: 'API-Marktplatz',
      browse: 'Durchsuchen',
      categories: 'Kategorien',
      ratings: 'Bewertungen',
      downloads: 'Downloads',
      subscribe: 'Abonnieren',
      unsubscribe: 'Abonnement Kündigen',
    },
    forum: {
      title: 'Community-Forum',
      categories: 'Kategorien',
      posts: 'Beiträge',
      replies: 'Antworten',
      createPost: 'Beitrag Erstellen',
      createReply: 'Antwort Erstellen',
      pinned: 'Angeheftet',
      locked: 'Gesperrt',
      views: 'Aufrufe',
      solution: 'Lösung',
    },
    analytics: {
      title: 'Analysen',
      revenue: 'Umsatz',
      users: 'Benutzer',
      apiUsage: 'API-Nutzung',
      growth: 'Wachstum',
      period: 'Zeitraum',
      total: 'Gesamt',
      active: 'Aktiv',
      new: 'Neu',
    },
    onboarding: {
      welcome: 'Willkommen',
      step1: 'Willkommensschritt',
      step2: 'Profilschritt',
      step3: 'Präferenzschritt',
      complete: 'Abschließen',
      skip: 'Überspringen',
    },
    errors: {
      notFound: 'Nicht Gefunden',
      unauthorized: 'Nicht Autorisiert',
      forbidden: 'Verboten',
      serverError: 'Serverfehler',
      networkError: 'Netzwerkfehler',
      validationError: 'Validierungsfehler',
    },
  },
  zh: {
    common: {
      loading: '加载中...',
      error: '错误',
      success: '成功',
      cancel: '取消',
      save: '保存',
      delete: '删除',
      edit: '编辑',
      create: '创建',
      search: '搜索',
      filter: '筛选',
      actions: '操作',
      back: '返回',
      next: '下一步',
      previous: '上一步',
      submit: '提交',
      close: '关闭',
    },
    dashboard: {
      title: '仪表板',
      systemHealth: '系统健康概览',
      costOverview: '成本概览',
      resourceUtilization: '资源利用率',
      apiUsage: 'API 使用情况',
      deployments: '部署',
      testEnvironments: '测试环境',
      apiKeys: 'API 密钥',
      billing: '计费',
      compliance: '合规状态',
      dataPipeline: '数据管道',
      integrationStatus: '集成状态',
      serviceAdoption: '服务采用',
      resourceUsage: '资源使用',
      costForecasting: '成本预测',
    },
    navigation: {
      home: '首页',
      dashboard: '仪表板',
      resources: '资源',
      billing: '计费',
      settings: '设置',
      admin: '管理员',
      developer: '开发者',
      partner: '合作伙伴',
      docs: '文档',
      support: '支持',
    },
    auth: {
      signIn: '登录',
      signOut: '登出',
      signUp: '注册',
      email: '电子邮件',
      password: '密码',
      forgotPassword: '忘记密码？',
      rememberMe: '记住我',
      twoFactorAuth: '双因素认证',
      enable2FA: '启用 2FA',
      disable2FA: '禁用 2FA',
      verifyCode: '验证代码',
    },
    marketplace: {
      title: '市场',
      partners: '合作伙伴市场',
      developers: '开发者市场',
      api: 'API 市场',
      browse: '浏览',
      categories: '类别',
      ratings: '评分',
      downloads: '下载',
      subscribe: '订阅',
      unsubscribe: '取消订阅',
    },
    forum: {
      title: '社区论坛',
      categories: '类别',
      posts: '帖子',
      replies: '回复',
      createPost: '创建帖子',
      createReply: '创建回复',
      pinned: '置顶',
      locked: '锁定',
      views: '查看',
      solution: '解决方案',
    },
    analytics: {
      title: '分析',
      revenue: '收入',
      users: '用户',
      apiUsage: 'API 使用情况',
      growth: '增长',
      period: '期间',
      total: '总计',
      active: '活跃',
      new: '新增',
    },
    onboarding: {
      welcome: '欢迎',
      step1: '欢迎步骤',
      step2: '个人资料步骤',
      step3: '偏好设置步骤',
      complete: '完成',
      skip: '跳过',
    },
    errors: {
      notFound: '未找到',
      unauthorized: '未授权',
      forbidden: '禁止',
      serverError: '服务器错误',
      networkError: '网络错误',
      validationError: '验证错误',
    },
  },
  ja: {
    common: {
      loading: '読み込み中...',
      error: 'エラー',
      success: '成功',
      cancel: 'キャンセル',
      save: '保存',
      delete: '削除',
      edit: '編集',
      create: '作成',
      search: '検索',
      filter: 'フィルター',
      actions: 'アクション',
      back: '戻る',
      next: '次へ',
      previous: '前へ',
      submit: '送信',
      close: '閉じる',
    },
    dashboard: {
      title: 'ダッシュボード',
      systemHealth: 'システムヘルス概要',
      costOverview: 'コスト概要',
      resourceUtilization: 'リソース利用率',
      apiUsage: 'API使用状況',
      deployments: 'デプロイメント',
      testEnvironments: 'テスト環境',
      apiKeys: 'APIキー',
      billing: '請求',
      compliance: 'コンプライアンスステータス',
      dataPipeline: 'データパイプライン',
      integrationStatus: '統合ステータス',
      serviceAdoption: 'サービス採用',
      resourceUsage: 'リソース使用',
      costForecasting: 'コスト予測',
    },
    navigation: {
      home: 'ホーム',
      dashboard: 'ダッシュボード',
      resources: 'リソース',
      billing: '請求',
      settings: '設定',
      admin: '管理者',
      developer: '開発者',
      partner: 'パートナー',
      docs: 'ドキュメント',
      support: 'サポート',
    },
    auth: {
      signIn: 'サインイン',
      signOut: 'サインアウト',
      signUp: 'サインアップ',
      email: 'メール',
      password: 'パスワード',
      forgotPassword: 'パスワードを忘れた場合',
      rememberMe: 'ログイン状態を保持',
      twoFactorAuth: '二要素認証',
      enable2FA: '2FAを有効化',
      disable2FA: '2FAを無効化',
      verifyCode: 'コードを確認',
    },
    marketplace: {
      title: 'マーケットプレイス',
      partners: 'パートナーマーケットプレイス',
      developers: '開発者マーケットプレイス',
      api: 'APIマーケットプレイス',
      browse: '閲覧',
      categories: 'カテゴリー',
      ratings: '評価',
      downloads: 'ダウンロード',
      subscribe: '購読',
      unsubscribe: '購読解除',
    },
    forum: {
      title: 'コミュニティフォーラム',
      categories: 'カテゴリー',
      posts: '投稿',
      replies: '返信',
      createPost: '投稿を作成',
      createReply: '返信を作成',
      pinned: 'ピン留め',
      locked: 'ロック',
      views: '閲覧数',
      solution: '解決策',
    },
    analytics: {
      title: '分析',
      revenue: '収益',
      users: 'ユーザー',
      apiUsage: 'API使用状況',
      growth: '成長',
      period: '期間',
      total: '合計',
      active: 'アクティブ',
      new: '新規',
    },
    onboarding: {
      welcome: 'ようこそ',
      step1: 'ウェルカムステップ',
      step2: 'プロフィールステップ',
      step3: '設定ステップ',
      complete: '完了',
      skip: 'スキップ',
    },
    errors: {
      notFound: '見つかりません',
      unauthorized: '認証されていません',
      forbidden: '禁止されています',
      serverError: 'サーバーエラー',
      networkError: 'ネットワークエラー',
      validationError: '検証エラー',
    },
  },
  pt: {
    common: {
      loading: 'Carregando...',
      error: 'Erro',
      success: 'Sucesso',
      cancel: 'Cancelar',
      save: 'Salvar',
      delete: 'Excluir',
      edit: 'Editar',
      create: 'Criar',
      search: 'Pesquisar',
      filter: 'Filtrar',
      actions: 'Ações',
      back: 'Voltar',
      next: 'Próximo',
      previous: 'Anterior',
      submit: 'Enviar',
      close: 'Fechar',
    },
    dashboard: {
      title: 'Painel',
      systemHealth: 'Visão Geral da Saúde do Sistema',
      costOverview: 'Visão Geral de Custos',
      resourceUtilization: 'Utilização de Recursos',
      apiUsage: 'Uso da API',
      deployments: 'Implantações',
      testEnvironments: 'Ambientes de Teste',
      apiKeys: 'Chaves de API',
      billing: 'Cobrança',
      compliance: 'Status de Conformidade',
      dataPipeline: 'Pipeline de Dados',
      integrationStatus: 'Status de Integração',
      serviceAdoption: 'Adoção de Serviços',
      resourceUsage: 'Uso de Recursos',
      costForecasting: 'Previsão de Custos',
    },
    navigation: {
      home: 'Início',
      dashboard: 'Painel',
      resources: 'Recursos',
      billing: 'Cobrança',
      settings: 'Configurações',
      admin: 'Administrador',
      developer: 'Desenvolvedor',
      partner: 'Parceiro',
      docs: 'Documentação',
      support: 'Suporte',
    },
    auth: {
      signIn: 'Entrar',
      signOut: 'Sair',
      signUp: 'Cadastrar',
      email: 'E-mail',
      password: 'Senha',
      forgotPassword: 'Esqueceu a Senha?',
      rememberMe: 'Lembrar-me',
      twoFactorAuth: 'Autenticação de Dois Fatores',
      enable2FA: 'Habilitar 2FA',
      disable2FA: 'Desabilitar 2FA',
      verifyCode: 'Verificar Código',
    },
    marketplace: {
      title: 'Mercado',
      partners: 'Mercado de Parceiros',
      developers: 'Mercado de Desenvolvedores',
      api: 'Mercado de API',
      browse: 'Navegar',
      categories: 'Categorias',
      ratings: 'Avaliações',
      downloads: 'Downloads',
      subscribe: 'Assinar',
      unsubscribe: 'Cancelar Assinatura',
    },
    forum: {
      title: 'Fórum da Comunidade',
      categories: 'Categorias',
      posts: 'Postagens',
      replies: 'Respostas',
      createPost: 'Criar Postagem',
      createReply: 'Criar Resposta',
      pinned: 'Fixado',
      locked: 'Bloqueado',
      views: 'Visualizações',
      solution: 'Solução',
    },
    analytics: {
      title: 'Análises',
      revenue: 'Receita',
      users: 'Usuários',
      apiUsage: 'Uso da API',
      growth: 'Crescimento',
      period: 'Período',
      total: 'Total',
      active: 'Ativo',
      new: 'Novo',
    },
    onboarding: {
      welcome: 'Bem-vindo',
      step1: 'Etapa de Boas-vindas',
      step2: 'Etapa de Perfil',
      step3: 'Etapa de Preferências',
      complete: 'Concluir',
      skip: 'Pular',
    },
    errors: {
      notFound: 'Não Encontrado',
      unauthorized: 'Não Autorizado',
      forbidden: 'Proibido',
      serverError: 'Erro do Servidor',
      networkError: 'Erro de Rede',
      validationError: 'Erro de Validação',
    },
  },
  ar: {
    common: {
      loading: 'جاري التحميل...',
      error: 'خطأ',
      success: 'نجاح',
      cancel: 'إلغاء',
      save: 'حفظ',
      delete: 'حذف',
      edit: 'تعديل',
      create: 'إنشاء',
      search: 'بحث',
      filter: 'تصفية',
      actions: 'إجراءات',
      back: 'رجوع',
      next: 'التالي',
      previous: 'السابق',
      submit: 'إرسال',
      close: 'إغلاق',
    },
    dashboard: {
      title: 'لوحة التحكم',
      systemHealth: 'نظرة عامة على صحة النظام',
      costOverview: 'نظرة عامة على التكلفة',
      resourceUtilization: 'استخدام الموارد',
      apiUsage: 'استخدام API',
      deployments: 'النشرات',
      testEnvironments: 'بيئات الاختبار',
      apiKeys: 'مفاتيح API',
      billing: 'الفوترة',
      compliance: 'حالة الامتثال',
      dataPipeline: 'خط أنابيب البيانات',
      integrationStatus: 'حالة التكامل',
      serviceAdoption: 'اعتماد الخدمة',
      resourceUsage: 'استخدام الموارد',
      costForecasting: 'توقع التكلفة',
    },
    navigation: {
      home: 'الرئيسية',
      dashboard: 'لوحة التحكم',
      resources: 'الموارد',
      billing: 'الفوترة',
      settings: 'الإعدادات',
      admin: 'المسؤول',
      developer: 'المطور',
      partner: 'الشريك',
      docs: 'التوثيق',
      support: 'الدعم',
    },
    auth: {
      signIn: 'تسجيل الدخول',
      signOut: 'تسجيل الخروج',
      signUp: 'التسجيل',
      email: 'البريد الإلكتروني',
      password: 'كلمة المرور',
      forgotPassword: 'نسيت كلمة المرور؟',
      rememberMe: 'تذكرني',
      twoFactorAuth: 'المصادقة الثنائية',
      enable2FA: 'تفعيل 2FA',
      disable2FA: 'تعطيل 2FA',
      verifyCode: 'التحقق من الرمز',
    },
    marketplace: {
      title: 'السوق',
      partners: 'سوق الشركاء',
      developers: 'سوق المطورين',
      api: 'سوق API',
      browse: 'تصفح',
      categories: 'الفئات',
      ratings: 'التقييمات',
      downloads: 'التحميلات',
      subscribe: 'الاشتراك',
      unsubscribe: 'إلغاء الاشتراك',
    },
    forum: {
      title: 'منتدى المجتمع',
      categories: 'الفئات',
      posts: 'المنشورات',
      replies: 'الردود',
      createPost: 'إنشاء منشور',
      createReply: 'إنشاء رد',
      pinned: 'مثبت',
      locked: 'مقفل',
      views: 'المشاهدات',
      solution: 'الحل',
    },
    analytics: {
      title: 'التحليلات',
      revenue: 'الإيرادات',
      users: 'المستخدمون',
      apiUsage: 'استخدام API',
      growth: 'النمو',
      period: 'الفترة',
      total: 'الإجمالي',
      active: 'نشط',
      new: 'جديد',
    },
    onboarding: {
      welcome: 'مرحباً',
      step1: 'خطوة الترحيب',
      step2: 'خطوة الملف الشخصي',
      step3: 'خطوة التفضيلات',
      complete: 'إكمال',
      skip: 'تخطي',
    },
    errors: {
      notFound: 'غير موجود',
      unauthorized: 'غير مصرح',
      forbidden: 'محظور',
      serverError: 'خطأ في الخادم',
      networkError: 'خطأ في الشبكة',
      validationError: 'خطأ في التحقق',
    },
  },
  hi: {
    common: {
      loading: 'लोड हो रहा है...',
      error: 'त्रुटि',
      success: 'सफल',
      cancel: 'रद्द करें',
      save: 'सहेजें',
      delete: 'हटाएं',
      edit: 'संपादित करें',
      create: 'बनाएं',
      search: 'खोजें',
      filter: 'फ़िल्टर',
      actions: 'कार्रवाई',
      back: 'वापस',
      next: 'अगला',
      previous: 'पिछला',
      submit: 'सबमिट करें',
      close: 'बंद करें',
    },
    dashboard: {
      title: 'डैशबोर्ड',
      systemHealth: 'सिस्टम स्वास्थ्य अवलोकन',
      costOverview: 'लागत अवलोकन',
      resourceUtilization: 'संसाधन उपयोग',
      apiUsage: 'API उपयोग',
      deployments: 'तैनाती',
      testEnvironments: 'परीक्षण वातावरण',
      apiKeys: 'API कुंजी',
      billing: 'बिलिंग',
      compliance: 'अनुपालन स्थिति',
      dataPipeline: 'डेटा पाइपलाइन',
      integrationStatus: 'एकीकरण स्थिति',
      serviceAdoption: 'सेवा अपनाना',
      resourceUsage: 'संसाधन उपयोग',
      costForecasting: 'लागत पूर्वानुमान',
    },
    navigation: {
      home: 'होम',
      dashboard: 'डैशबोर्ड',
      resources: 'संसाधन',
      billing: 'बिलिंग',
      settings: 'सेटिंग्स',
      admin: 'व्यवस्थापक',
      developer: 'डेवलपर',
      partner: 'साझेदार',
      docs: 'दस्तावेज़',
      support: 'सहायता',
    },
    auth: {
      signIn: 'साइन इन',
      signOut: 'साइन आउट',
      signUp: 'साइन अप',
      email: 'ईमेल',
      password: 'पासवर्ड',
      forgotPassword: 'पासवर्ड भूल गए?',
      rememberMe: 'मुझे याद रखें',
      twoFactorAuth: 'दो-कारक प्रमाणीकरण',
      enable2FA: '2FA सक्षम करें',
      disable2FA: '2FA अक्षम करें',
      verifyCode: 'कोड सत्यापित करें',
    },
    marketplace: {
      title: 'मार्केटप्लेस',
      partners: 'पार्टनर मार्केटप्लेस',
      developers: 'डेवलपर मार्केटप्लेस',
      api: 'API मार्केटप्लेस',
      browse: 'ब्राउज़ करें',
      categories: 'श्रेणियां',
      ratings: 'रेटिंग',
      downloads: 'डाउनलोड',
      subscribe: 'सदस्यता लें',
      unsubscribe: 'सदस्यता रद्द करें',
    },
    forum: {
      title: 'कम्युनिटी फोरम',
      categories: 'श्रेणियां',
      posts: 'पोस्ट',
      replies: 'उत्तर',
      createPost: 'पोस्ट बनाएं',
      createReply: 'उत्तर बनाएं',
      pinned: 'पिन किया गया',
      locked: 'लॉक किया गया',
      views: 'व्यूज',
      solution: 'समाधान',
    },
    analytics: {
      title: 'विश्लेषण',
      revenue: 'राजस्व',
      users: 'उपयोगकर्ता',
      apiUsage: 'API उपयोग',
      growth: 'वृद्धि',
      period: 'अवधि',
      total: 'कुल',
      active: 'सक्रिय',
      new: 'नया',
    },
    onboarding: {
      welcome: 'स्वागत है',
      step1: 'स्वागत चरण',
      step2: 'प्रोफ़ाइल चरण',
      step3: 'प्राथमिकताएं चरण',
      complete: 'पूर्ण करें',
      skip: 'छोड़ें',
    },
    errors: {
      notFound: 'नहीं मिला',
      unauthorized: 'अनधिकृत',
      forbidden: 'निषिद्ध',
      serverError: 'सर्वर त्रुटि',
      networkError: 'नेटवर्क त्रुटि',
      validationError: 'सत्यापन त्रुटि',
    },
  },
  sw: {
    common: {
      loading: 'Inapakia...',
      error: 'Hitilafu',
      success: 'Mafanikio',
      cancel: 'Ghairi',
      save: 'Hifadhi',
      delete: 'Futa',
      edit: 'Hariri',
      create: 'Unda',
      search: 'Tafuta',
      filter: 'Chuja',
      actions: 'Vitendo',
      back: 'Rudi',
      next: 'Ifuatayo',
      previous: 'Iliyotangulia',
      submit: 'Wasilisha',
      close: 'Funga',
    },
    dashboard: {
      title: 'Dashibodi',
      systemHealth: 'Muhtasari wa Afya ya Mfumo',
      costOverview: 'Muhtasari wa Gharama',
      resourceUtilization: 'Matumizi ya Rasilimali',
      apiUsage: 'Matumizi ya API',
      deployments: 'Uwekaji',
      testEnvironments: 'Mazingira ya Uchunguzi',
      apiKeys: 'Funguo za API',
      billing: 'Utoaji wa Bili',
      compliance: 'Hali ya Uzingatifu',
      dataPipeline: 'Mfumo wa Data',
      integrationStatus: 'Hali ya Ujumuishaji',
      serviceAdoption: 'Kupitishwa kwa Huduma',
      resourceUsage: 'Matumizi ya Rasilimali',
      costForecasting: 'Utabiri wa Gharama',
    },
    navigation: {
      home: 'Nyumbani',
      dashboard: 'Dashibodi',
      resources: 'Rasilimali',
      billing: 'Utoaji wa Bili',
      settings: 'Mipangilio',
      admin: 'Msimamizi',
      developer: 'Msanidi',
      partner: 'Mshirika',
      docs: 'Hati',
      support: 'Msaada',
    },
    auth: {
      signIn: 'Ingia',
      signOut: 'Toka',
      signUp: 'Jisajili',
      email: 'Barua Pepe',
      password: 'Nenosiri',
      forgotPassword: 'Umesahau Nenosiri?',
      rememberMe: 'Nikumbuke',
      twoFactorAuth: 'Uthibitishaji wa Mambo Mawili',
      enable2FA: 'Washa 2FA',
      disable2FA: 'Zima 2FA',
      verifyCode: 'Thibitisha Msimbo',
    },
    marketplace: {
      title: 'Soko',
      partners: 'Soko la Washirika',
      developers: 'Soko la Wasanidi',
      api: 'Soko la API',
      browse: 'Vinjari',
      categories: 'Jamii',
      ratings: 'Ukadiriaji',
      downloads: 'Upakuaji',
      subscribe: 'Jiandikishe',
      unsubscribe: 'Jiondoe',
    },
    forum: {
      title: 'Jukwaa la Jamii',
      categories: 'Jamii',
      posts: 'Machapisho',
      replies: 'Majibu',
      createPost: 'Unda Chapisho',
      createReply: 'Unda Jibu',
      pinned: 'Imebanwa',
      locked: 'Imefungwa',
      views: 'Maoni',
      solution: 'Suluhisho',
    },
    analytics: {
      title: 'Uchambuzi',
      revenue: 'Mapato',
      users: 'Watumiaji',
      apiUsage: 'Matumizi ya API',
      growth: 'Ukuaji',
      period: 'Kipindi',
      total: 'Jumla',
      active: 'Hai',
      new: 'Mpya',
    },
    onboarding: {
      welcome: 'Karibu',
      step1: 'Hatua ya Karibu',
      step2: 'Hatua ya Wasifu',
      step3: 'Hatua ya Mapendeleo',
      complete: 'Kamilisha',
      skip: 'Ruka',
    },
    errors: {
      notFound: 'Haijapatikana',
      unauthorized: 'Haijaidhinishwa',
      forbidden: 'Imepigwa Marufuku',
      serverError: 'Hitilafu ya Seva',
      networkError: 'Hitilafu ya Mtandao',
      validationError: 'Hitilafu ya Uthibitishaji',
    },
  },
};

export function getTranslations(lang: LanguageCode): Translations {
  return translations[lang] || translations.en;
}

export default translations;

