"use client"; import { useState } from "react"; import { Plus, ChevronDown } from "lucide-react"; import { initialLanguageValues } from "@/constants/constant"; export default function LanguagePortal() { const [languageValues, setLanguageValues] = useState(initialLanguageValues); return (
{/* --- HEADER SECTION --- */}
PLATFORM LANGUAGE

Language

Manage translation keys across apps, menus and screens — then resolve their values per tenant.

{/* --- FORM SECTION: LANGUAGE KEY MASTER --- */}

Language key master

Scope a translation key to an app, menu and screen

{/* Top Row Selects */}
{/* Bottom Row Inputs & Action Button */}
{/* --- TABLE SECTION: LANGUAGE VALUES --- */}
{/* Table Header Controls */}

Language values

Resolved strings — filtered to the selected tenant's locales

{/* Locale Tag */}
EN
{/* Data Table */}
{languageValues.map((row) => ( ))}
APP MENU SCREEN UI KEY CODE VALUE
{row.app} {row.menu} {row.screen} {row.uiKey} {row.code} {row.value}
); }