"use client"; import { useState } from "react"; import { Plus, ChevronDown } from "lucide-react"; const initialLanguageValues = [ { id: 1, app: "Web Console", menu: "Tenant", screen: "Tenant List", uiKey: "btn.add_tenant", code: "EN", value: "Add Tenant", }, { id: 2, app: "Web Console", menu: "Site", screen: "Site List", uiKey: "btn.add_site", code: "EN", value: "Add Site", }, { id: 3, app: "Mobile App", menu: "Inspections", screen: "QR Round", uiKey: "lbl.scan_qr", code: "EN", value: "Scan QR to begin round", }, ]; export default function LanguagePortal() { const [languageValues, setLanguageValues] = useState(initialLanguageValues); return (
Manage translation keys across apps, menus and screens — then resolve their values per tenant.
Scope a translation key to an app, menu and screen
Resolved strings — filtered to the selected tenant's locales
| APP | MENU | SCREEN | UI KEY | CODE | VALUE |
|---|---|---|---|---|---|
| {row.app} | {row.menu} | {row.screen} | {row.uiKey} | {row.code} | {row.value} |