-- ============================================================================
-- HDG_Localization.lua - UI Text Localization
-- ============================================================================
-- This file contains all user-facing text strings for the addon.
-- To add a new language: add entries to the LOCALES table below.
-- Missing translations fall back to English automatically.
-- ============================================================================

-- Create the localization table
local L = {}

-- ============================================================================
-- ENGLISH (Default/Fallback)
-- ============================================================================
local ENGLISH = {
    -- Tab Names
    ["TAB_RECIPES"] = "Recipes",
    ["TAB_ACQUIRE"] = "Acquire",
    ["TAB_GOBLIN"] = "Goblin",
    ["TAB_PREVIEW"] = "Preview",
    ["TAB_TRAINERS"] = "Trainers",
    ["TAB_ALTS"] = "Alts",
    ["TAB_DATA"] = "Data",
    ["TAB_CONFIG"] = "Config",

    -- Panel Headers
    ["HEADER_CRAFTING_QUEUE"] = "Crafting Queue",
    ["HEADER_SHOPPING_LIST"] = "Shopping List",
    ["HEADER_MATERIALS"] = "Materials",
    ["HEADER_REQUIRED_MATERIALS"] = "Required Materials",
    ["HEADER_RAW_MATERIALS"] = "Raw Materials",
    ["HEADER_DIRECT_MATERIALS"] = "Direct Materials",
    ["HEADER_LUMBER"] = "Lumber",
    ["HEADER_TRACKED_REAGENTS"] = "Tracked Reagents",
    ["HEADER_CRAFTING_HISTORY"] = "Decor Crafting / Acquisition History",
    ["HEADER_FARMING_HISTORY"] = "Farming History",
    ["HEADER_ACCOUNT_SUMMARY"] = "Account Summary",
    ["HEADER_PROFIT_ANALYSIS"] = "Profit Analysis",

    -- Column Headers
    ["COL_TYPE"] = "Type",
    ["COL_NEEDED"] = "Needed",
    ["COL_IN_STOCK"] = "In Stock",
    ["COL_ALL"] = "All",
    ["COL_TIME"] = "Time",
    ["COL_ITEM"] = "Item",
    ["COL_COST"] = "Cost",
    ["COL_SOURCE"] = "Source",
    ["COL_CHARACTER"] = "Character",
    ["COL_COLLECTED"] = "Collected",
    ["COL_RATE"] = "Rate",
    ["COL_DURATION"] = "Duration",
    ["COL_ZONE"] = "Zone",
    ["COL_SELL_PRICE"] = "Sell",
    ["COL_MAT_COST"] = "Mat Cost",
    ["COL_PROFIT"] = "Profit",
    ["COL_MARGIN"] = "Margin",
    ["COL_LUMBER_VALUE"] = "$/Lum",
    ["COL_TOTAL_LUMBER"] = "Lum Total",
    ["COL_SALE_RATE"] = "Sale Rate",
    ["COL_MARKET_VALUE"] = "Market",
    ["COL_AH_QTY"] = "# AH",

    -- Buttons
    ["BTN_CLEAR"] = "Clear",
    ["BTN_CLOSE"] = "Close",
    ["BTN_EXPORT"] = "Export",
    ["BTN_REFRESH"] = "Refresh",
    ["BTN_ALL"] = "All",
    ["BTN_READY"] = "Ready",
    ["BTN_DIRECT"] = "Direct",
    ["BTN_RAW"] = "Raw",
    ["BTN_FILTER_DECOR"] = "Filter Decor",
    ["BTN_DECOR_GUIDE"] = "Decor Guide",
    ["BTN_END_SESSION"] = "End Session",
    ["BTN_STOP_TRACKING"] = "Stop Tracking",
    ["BTN_SCAN_AH"] = "Scan AH",
    ["BTN_ADD_TO_AUCTIONATOR"] = "Add to Auctionator",
    ["BTN_ADD_ALL_AUCTIONATOR"] = "Add All to Auctionator",
    ["BTN_ADD_ALL_AUCTIONATOR_RAW"] = "Add All to Auctionator (Raw Mats)",
    ["BTN_ADD_TO_TSM"] = "Add to TSM Shopping",
    ["BTN_MY_COLLECTION"] = "My Collection",

    -- Checkboxes / Toggles
    ["CHECK_UNCOLLECTED_ONLY"] = "Uncollected",
    ["CHECK_INCLUDE_MATS"] = "+Mats",
    ["CHECK_HIDE_UNPROFITABLE"] = "Hide Unprofitable",
    ["CHECK_ONLY_KNOWN"] = "My Recipes",
    ["CHECK_KNOWN_BY_ALTS"] = "All Known Recipes",
    ["CHECK_SHOW_PROFESSION_BUTTONS"] = "Show Profession Window Buttons",
    ["CHECK_SHOW_MINIMAP_BUTTON"] = "Show Minimap Button",
    ["CHECK_SHOW_IN_COMPARTMENT"] = "Show in Addon Compartment",
    ["HINT_MINIMAP_BUTTON"] = "(Draggable icon around the minimap)",
    ["HINT_COMPARTMENT"] = "(Minimap drawer menu - requires /reload)",
    ["HINT_COMPARTMENT_UNAVAILABLE"] = "(Not available - requires WoW 10.0+)",

    -- Locale Override
    ["LOCALE_OVERRIDE"] = "Language Override",
    ["LOCALE_AUTO"] = "Auto (Client)",
    ["LOCALE_HINT"] = "Requires /reload to apply",
    ["LOCALE_NOTE"] = "Note: Only affects addon UI text. Recipe and item names match your client's locale.",
    ["TRANSLATE_NOTE"] = "Help translate! Submit corrections via Discord below.",

    -- Filter Labels
    ["FILTER_PROFESSION"] = "Profession",
    ["FILTER_EXPANSION"] = "Expansion",
    ["FILTER_ALL_PROFESSIONS"] = "All Professions",
    ["FILTER_ALL_EXPANSIONS"] = "All Expansions",
    ["FILTER_TAGS"] = "Tags",
    ["FILTER_CATEGORY"] = "Filter",

    -- Preview Tab Categories
    ["CAT_ALL"] = "All",
    ["CAT_CRAFTED"] = "Crafted",
    ["CAT_SIZES"] = "Sizes",
    ["CAT_FACTIONS"] = "Factions",
    ["CAT_STYLES"] = "Styles",
    ["CAT_EXPANSIONS"] = "Expansions",
    ["CAT_OTHER"] = "Other",

    -- Status Messages
    ["STATUS_LOADING"] = "Loading...",
    ["STATUS_NO_DATA"] = "No data available",
    ["STATUS_NO_RECIPES"] = "No recipes found",
    ["STATUS_NO_HISTORY"] = "No crafting/acquisition history yet.",
    ["STATUS_NO_FARMING_HISTORY"] = "No farming sessions recorded yet.",
    ["STATUS_NO_CHARACTER_DATA"] = "No character data yet. Open a profession window to scan skill levels.",
    ["STATUS_ALL_LUMBER_COLLECTED"] = "All lumber collected!",
    ["STATUS_NO_MATERIALS_QUEUED"] = "No materials in crafting queue",
    ["STATUS_HAVE_ALL_MATERIALS"] = "Have all materials!",
    ["STATUS_INSTALL_PRICE_ADDON"] = "Install TSM/Auctionator for prices",

    -- Tab Tooltip Descriptions
    ["TIP_TAB_RECIPES"] = "View all housing decor recipes",
    ["TIP_TAB_ACQUIRE"] = "Vendor shopping guide - find where to buy decorations",
    ["TIP_TAB_GOBLIN"] = "Profit analysis - find the most profitable crafts",
    ["TIP_TAB_PREVIEW"] = "Preview decorations",
    ["TIP_TAB_TRAINERS"] = "Find recipe trainers",
    ["TIP_TAB_ALTS"] = "View profession data across all characters",
    ["TIP_TAB_DATA"] = "View farming history and statistics",
    ["TIP_TAB_CONFIG"] = "Configure addon settings and minimap icon",

    -- Tooltips
    ["TIP_CLICK_TO_PREVIEW"] = "Click to preview",
    ["TIP_CLICK_HEADERS_TO_SORT"] = "Click headers to sort",
    ["TIP_CTRL_CLICK_ADD_QUEUE"] = "Ctrl-click to add to queue",
    ["TIP_SHIFT_CLICK_SEARCH_AH"] = "Shift-click to search AH",
    ["TIP_RIGHT_CLICK_OPTIONS"] = "Right-click for options",
    ["TIP_DRAG_TO_MOVE"] = "Drag to move",
    ["TIP_CLOSE_MAIN_WINDOW"] = "Close Main Window",
    ["TIP_OPEN_MAIN_WINDOW"] = "Open Main Window",
    ["TIP_SHOW_MATERIALS"] = "Show Materials",
    ["TIP_HIDE_MATERIALS"] = "Hide Materials",
    ["TIP_MATERIALS_UNAVAILABLE"] = "Materials Unavailable",
    ["TIP_END_FARMING_SESSION"] = "End Farming Session",
    ["TIP_ENDS_SESSION_TRACKING"] = "Ends the current farming session tracking",
    ["TIP_SELECT_ALL_COPY"] = "Select all (Ctrl+A) then copy (Ctrl+C)",

    -- Export
    ["EXPORT_CRAFTING_TITLE"] = "Export Crafting History",
    ["EXPORT_FARMING_TITLE"] = "Export Farming History",

    -- Crafting Queue
    ["QUEUE_NOT_KNOWN"] = "Not Known",
    ["QUEUE_YOU"] = "(you)",
    ["QUEUE_NEEDS_TRAINING"] = "Not Learned",
    ["QUEUE_KNOWN_BY"] = "Known by",

    -- Farming Tracker
    ["FARM_SESSION_ENDED"] = "farming session ended",
    ["FARM_COLLECTED"] = "collected",
    ["FARM_THIS_SESSION"] = "this session",
    ["FARM_FIRST_TO_LAST"] = "(first to last)",

    -- Materials
    ["MAT_GATHERED"] = "Gathered",
    ["MAT_CRAFTED"] = "Crafted",
    ["MAT_VENDOR"] = "Vendor",
    ["MAT_DROPPED"] = "Dropped",
    ["MAT_SPECIAL"] = "Special",

    -- Material Source Categories
    ["MAT_FROM_VENDOR"] = "From Vendor",
    ["MAT_FROM_GATHERING"] = "From Gathering / AH",
    ["MAT_FROM_CRAFTING"] = "From Crafting / AH",

    -- Acquisition Sources
    ["SOURCE_CRAFTED"] = "Crafted",
    ["SOURCE_LEARNED"] = "Learned",

    -- Collection Status
    ["STATUS_COLLECTED"] = "Collected",
    ["STATUS_COLLECTION"] = "Collection",
    ["STATUS_UNCOLLECTED"] = "Uncollected",
    ["STATUS_NOT_COLLECTED"] = "Not Collected",
    ["TIP_MY_COLLECTION"] = "My Collection",
    ["TIP_SHOW_ALL_DECOR"] = "Show ALL housing decor items from the catalog",
    ["TIP_NOT_JUST_CRAFTABLE"] = "(not just craftable recipes).",
    ["TIP_UNCOLLECTED_ONLY"] = "Uncollected Only",
    ["TIP_HIDE_COLLECTED"] = "Hide items you've already collected",

    -- Skill Thresholds Legend
    ["LEGEND_CAN_LEARN"] = "Can learn decor recipes",
    ["LEGEND_BELOW_THRESHOLD"] = "Below threshold",
    ["LEGEND_NO_DECOR_RECIPES"] = "No decor recipes",

    -- Profession Window
    ["PROF_NOT_LEARNED"] = "Not Learned",

    -- Profession Names (for filters)
    ["PROF_ALL"] = "All",
    ["PROF_ALCHEMY"] = "Alchemy",
    ["PROF_BLACKSMITHING"] = "Blacksmithing",
    ["PROF_COOKING"] = "Cooking",
    ["PROF_ENCHANTING"] = "Enchanting",
    ["PROF_ENGINEERING"] = "Engineering",
    ["PROF_INSCRIPTION"] = "Inscription",
    ["PROF_JEWELCRAFTING"] = "Jewelcrafting",
    ["PROF_LEATHERWORKING"] = "Leatherworking",
    ["PROF_TAILORING"] = "Tailoring",
    ["PROF_HERBALISM"] = "Herbalism",
    ["PROF_MINING"] = "Mining",
    ["PROF_SKINNING"] = "Skinning",
    ["PROF_FISHING"] = "Fishing",

    -- Misc
    ["MISC_UNKNOWN"] = "Unknown",
    ["MISC_ITEMS"] = "items",
    ["MISC_PER_HOUR"] = "/hr",
    ["MISC_ESTIMATED"] = "Est:",
    ["MISC_EXPANSION"] = "Expansion",
    ["MISC_IN_BAGS_BANK"] = "In Bags/Bank",
    ["MISC_TOTAL_NEEDED"] = "Total Needed",
    ["MISC_NEED_MORE"] = "Need %s more",
    ["MISC_HAVE_ENOUGH"] = "Have enough",
    ["MISC_LUMBER_MUST_BE_FARMED"] = "Lumber must be farmed",
    ["MISC_NOT_NEEDED_FOR_QUEUE"] = "Not needed for crafting queue",
    ["MISC_ALL_RECIPES_COLLECTED"] = "All recipes using this collected",
}

-- ============================================================================
-- LOCALE-SPECIFIC TRANSLATIONS
-- ============================================================================
-- Add translations for each locale. Only include strings that differ from English.
-- Missing strings automatically fall back to English.

local LOCALES = {
    -- Spanish (Spain) - Complete
    ["esES"] = {
        -- Tab Names
        ["TAB_RECIPES"] = "Recetas",
        ["TAB_GOBLIN"] = "Goblin",
        ["TAB_PREVIEW"] = "Vista Previa",
        ["TAB_TRAINERS"] = "Instructores",
        ["TAB_ALTS"] = "Alts",
        ["TAB_CONFIG"] = "Config",
        ["TAB_DATA"] = "Datos",

        -- Panel Headers
        ["HEADER_CRAFTING_QUEUE"] = "Cola de Fabricación",
        ["HEADER_SHOPPING_LIST"] = "Lista de Compras",
        ["HEADER_MATERIALS"] = "Materiales",
        ["HEADER_REQUIRED_MATERIALS"] = "Materiales Requeridos",
        ["HEADER_RAW_MATERIALS"] = "Materiales Básicos",
        ["HEADER_DIRECT_MATERIALS"] = "Materiales Directos",
        ["HEADER_LUMBER"] = "Madera",
        ["HEADER_TRACKED_REAGENTS"] = "Reagentes Rastreados",
        ["HEADER_CRAFTING_HISTORY"] = "Historial de Fabricación / Adquisición",
        ["HEADER_FARMING_HISTORY"] = "Historial de Recolección",
        ["HEADER_ACCOUNT_SUMMARY"] = "Resumen de Cuenta",
        ["HEADER_PROFIT_ANALYSIS"] = "Análisis de Ganancias",

        -- Column Headers
        ["COL_TYPE"] = "Tipo",
        ["COL_NEEDED"] = "Necesario",
        ["COL_IN_STOCK"] = "En Stock",
        ["COL_ALL"] = "Todo",
        ["COL_TIME"] = "Hora",
        ["COL_ITEM"] = "Objeto",
        ["COL_COST"] = "Coste",
        ["COL_SOURCE"] = "Fuente",
        ["COL_CHARACTER"] = "Personaje",
        ["COL_COLLECTED"] = "Recolectado",
        ["COL_RATE"] = "Ratio",
        ["COL_DURATION"] = "Duración",
        ["COL_ZONE"] = "Zona",
        ["COL_SELL_PRICE"] = "Venta",
        ["COL_MAT_COST"] = "Coste Mat",
        ["COL_PROFIT"] = "Beneficio",
        ["COL_MARGIN"] = "Margen",
        ["COL_LUMBER_VALUE"] = "$/Mad",
        ["COL_TOTAL_LUMBER"] = "Total Mad",
        ["COL_SALE_RATE"] = "Tasa Venta",
        ["COL_MARKET_VALUE"] = "Mercado",
        ["COL_AH_QTY"] = "# SC",

        -- Buttons
        ["BTN_CLEAR"] = "Limpiar",
        ["BTN_CLOSE"] = "Cerrar",
        ["BTN_EXPORT"] = "Exportar",
        ["BTN_REFRESH"] = "Actualizar",
        ["BTN_ALL"] = "Todos",
        ["BTN_READY"] = "Listos",
        ["BTN_DIRECT"] = "Directo",
        ["BTN_RAW"] = "Básico",
        ["BTN_FILTER_DECOR"] = "Filtrar Decoración",
        ["BTN_DECOR_GUIDE"] = "Guía de Decoración",
        ["BTN_END_SESSION"] = "Terminar Sesión",
        ["BTN_STOP_TRACKING"] = "Dejar de Rastrear",
        ["BTN_SCAN_AH"] = "Escanear SC",
        ["BTN_ADD_TO_AUCTIONATOR"] = "Agregar a Auctionator",
        ["BTN_ADD_ALL_AUCTIONATOR"] = "Agregar Todo a Auctionator",
        ["BTN_ADD_ALL_AUCTIONATOR_RAW"] = "Agregar Todo a Auctionator (Básicos)",
        ["BTN_ADD_TO_TSM"] = "Agregar a Lista TSM",
        ["BTN_MY_COLLECTION"] = "Mi Colección",

        -- Checkboxes
        ["CHECK_UNCOLLECTED_ONLY"] = "Sin Recolectar",
        ["CHECK_INCLUDE_MATS"] = "+Mats",
        ["CHECK_HIDE_UNPROFITABLE"] = "Ocultar No Rentables",
        ["CHECK_ONLY_KNOWN"] = "Solo Conocidas",
        ["CHECK_SHOW_PROFESSION_BUTTONS"] = "Mostrar Botones de Profesión",

        -- Locale Override
        ["LOCALE_OVERRIDE"] = "Idioma Preferido",
        ["LOCALE_AUTO"] = "Auto (Cliente)",
        ["LOCALE_HINT"] = "Requiere /reload para aplicar",
        ["LOCALE_NOTE"] = "Nota: Solo afecta el texto del addon. Los nombres de recetas e ítems dependen del idioma de tu cliente.",
        ["TRANSLATE_NOTE"] = "¡Ayuda a traducir! Envía correcciones por Discord abajo.",

        -- Filter Labels
        ["FILTER_PROFESSION"] = "Profesión",
        ["FILTER_EXPANSION"] = "Expansión",
        ["FILTER_ALL_PROFESSIONS"] = "Todas las Profesiones",
        ["FILTER_ALL_EXPANSIONS"] = "Todas las Expansiones",
        ["FILTER_TAGS"] = "Etiquetas",
        ["FILTER_CATEGORY"] = "Filtro",

        -- Preview Tab Categories
        ["CAT_ALL"] = "Todo",
        ["CAT_CRAFTED"] = "Fabricado",
        ["CAT_SIZES"] = "Tamaños",
        ["CAT_FACTIONS"] = "Facciones",
        ["CAT_STYLES"] = "Estilos",
        ["CAT_EXPANSIONS"] = "Expansiones",
        ["CAT_OTHER"] = "Otros",

        -- Status Messages
        ["STATUS_LOADING"] = "Cargando...",
        ["STATUS_NO_DATA"] = "Sin datos disponibles",
        ["STATUS_NO_RECIPES"] = "No se encontraron recetas",
        ["STATUS_NO_HISTORY"] = "Sin historial de fabricación aún.",
        ["STATUS_NO_FARMING_HISTORY"] = "Sin sesiones de recolección registradas.",
        ["STATUS_NO_CHARACTER_DATA"] = "Sin datos de personaje. Abre una ventana de profesión para escanear.",
        ["STATUS_ALL_LUMBER_COLLECTED"] = "¡Toda la madera recolectada!",
        ["STATUS_NO_MATERIALS_QUEUED"] = "Sin materiales en cola",
        ["STATUS_HAVE_ALL_MATERIALS"] = "¡Tienes todos los materiales!",
        ["STATUS_INSTALL_PRICE_ADDON"] = "Instala TSM/Auctionator para precios",

        -- Tab Tooltip Descriptions
        ["TIP_TAB_RECIPES"] = "Ver todas las recetas de decoración",
        ["TIP_TAB_GOBLIN"] = "Análisis de ganancias - encuentra las fabricaciones más rentables",
        ["TIP_TAB_PREVIEW"] = "Vista previa de decoraciones",
        ["TIP_TAB_TRAINERS"] = "Encontrar instructores de recetas",
        ["TIP_TAB_ALTS"] = "Ver datos de profesiones de todos los personajes",
        ["TIP_TAB_DATA"] = "Ver historial de recolección y estadísticas",
        ["TIP_TAB_CONFIG"] = "Configurar opciones del addon y icono del minimapa",

        -- Tooltips
        ["TIP_CLICK_TO_PREVIEW"] = "Clic para vista previa",
        ["TIP_CLICK_HEADERS_TO_SORT"] = "Clic en encabezados para ordenar",
        ["TIP_CTRL_CLICK_ADD_QUEUE"] = "Ctrl-clic para agregar a cola",
        ["TIP_SHIFT_CLICK_SEARCH_AH"] = "Shift-clic para buscar en SC",
        ["TIP_RIGHT_CLICK_OPTIONS"] = "Clic derecho para opciones",
        ["TIP_DRAG_TO_MOVE"] = "Arrastra para mover",
        ["TIP_CLOSE_MAIN_WINDOW"] = "Cerrar Ventana Principal",
        ["TIP_OPEN_MAIN_WINDOW"] = "Abrir Ventana Principal",
        ["TIP_SHOW_MATERIALS"] = "Mostrar Materiales",
        ["TIP_HIDE_MATERIALS"] = "Ocultar Materiales",
        ["TIP_MATERIALS_UNAVAILABLE"] = "Materiales No Disponibles",
        ["TIP_END_FARMING_SESSION"] = "Terminar Sesión de Recolección",
        ["TIP_ENDS_SESSION_TRACKING"] = "Termina el rastreo de la sesión actual",
        ["TIP_SELECT_ALL_COPY"] = "Seleccionar todo (Ctrl+A) y copiar (Ctrl+C)",

        -- Export
        ["EXPORT_CRAFTING_TITLE"] = "Exportar Historial de Fabricación",
        ["EXPORT_FARMING_TITLE"] = "Exportar Historial de Recolección",

        -- Crafting Queue
        ["QUEUE_NOT_KNOWN"] = "Desconocida",
        ["QUEUE_YOU"] = "(tú)",
        ["QUEUE_NEEDS_TRAINING"] = "No Aprendida",
        ["QUEUE_KNOWN_BY"] = "Conocida por",

        -- Farming Tracker
        ["FARM_SESSION_ENDED"] = "sesión de recolección terminada",
        ["FARM_COLLECTED"] = "recolectado",
        ["FARM_THIS_SESSION"] = "esta sesión",
        ["FARM_FIRST_TO_LAST"] = "(del primero al último)",

        -- Materials
        ["MAT_GATHERED"] = "Recolectado",
        ["MAT_CRAFTED"] = "Fabricado",
        ["MAT_VENDOR"] = "Vendedor",
        ["MAT_DROPPED"] = "Botín",
        ["MAT_SPECIAL"] = "Especial",

        -- Material Source Categories
        ["MAT_FROM_VENDOR"] = "De Vendedor",
        ["MAT_FROM_GATHERING"] = "De Recolección / SC",
        ["MAT_FROM_CRAFTING"] = "De Fabricación / SC",

        -- Acquisition Sources
        ["SOURCE_CRAFTED"] = "Fabricado",
        ["SOURCE_LEARNED"] = "Aprendido",

        -- Collection Status
        ["STATUS_COLLECTED"] = "Obtenido",
        ["STATUS_COLLECTION"] = "Colección",
        ["STATUS_UNCOLLECTED"] = "Sin Obtener",
        ["STATUS_NOT_COLLECTED"] = "No Obtenido",
        ["TIP_MY_COLLECTION"] = "Mi Colección",
        ["TIP_SHOW_ALL_DECOR"] = "Mostrar TODOS los objetos de decoración del catálogo",
        ["TIP_NOT_JUST_CRAFTABLE"] = "(no solo recetas fabricables).",
        ["TIP_UNCOLLECTED_ONLY"] = "Solo Sin Obtener",
        ["TIP_HIDE_COLLECTED"] = "Ocultar objetos que ya has obtenido",

        -- Skill Thresholds Legend
        ["LEGEND_CAN_LEARN"] = "Puede aprender recetas de decoración",
        ["LEGEND_BELOW_THRESHOLD"] = "Por debajo del umbral",
        ["LEGEND_NO_DECOR_RECIPES"] = "Sin recetas de decoración",

        -- Profession Window
        ["PROF_NOT_LEARNED"] = "No Aprendida",

        -- Profession Names
        ["PROF_ALL"] = "Todo",
        ["PROF_ALCHEMY"] = "Alquimia",
        ["PROF_BLACKSMITHING"] = "Herrería",
        ["PROF_COOKING"] = "Cocina",
        ["PROF_ENCHANTING"] = "Encantamiento",
        ["PROF_ENGINEERING"] = "Ingeniería",
        ["PROF_INSCRIPTION"] = "Inscripción",
        ["PROF_JEWELCRAFTING"] = "Joyería",
        ["PROF_LEATHERWORKING"] = "Peletería",
        ["PROF_TAILORING"] = "Sastrería",
        ["PROF_HERBALISM"] = "Herboristería",
        ["PROF_MINING"] = "Minería",
        ["PROF_SKINNING"] = "Desuello",
        ["PROF_FISHING"] = "Pesca",

        -- Misc
        ["MISC_UNKNOWN"] = "Desconocido",
        ["MISC_ITEMS"] = "objetos",
        ["MISC_PER_HOUR"] = "/hora",
        ["MISC_ESTIMATED"] = "Est:",
        ["MISC_EXPANSION"] = "Expansión",
        ["MISC_IN_BAGS_BANK"] = "En Bolsas/Banco",
        ["MISC_TOTAL_NEEDED"] = "Total Necesario",
        ["MISC_NEED_MORE"] = "Necesitas %s más",
        ["MISC_HAVE_ENOUGH"] = "Tienes suficiente",
        ["MISC_LUMBER_MUST_BE_FARMED"] = "La madera debe recolectarse",
        ["MISC_NOT_NEEDED_FOR_QUEUE"] = "No necesario para la cola",
        ["MISC_ALL_RECIPES_COLLECTED"] = "Todas las recetas que usan esto recolectadas",
    },

    -- Spanish (Mexico/Latin America) - inherits from esES via fallback
    ["esMX"] = {},

    -- Portuguese (Brazil) - Complete
    ["ptBR"] = {
        -- Tab Names
        ["TAB_RECIPES"] = "Receitas",
        ["TAB_GOBLIN"] = "Goblin",
        ["TAB_PREVIEW"] = "Visualização",
        ["TAB_TRAINERS"] = "Instrutores",
        ["TAB_ALTS"] = "Alts",
        ["TAB_CONFIG"] = "Config",
        ["TAB_DATA"] = "Dados",

        -- Panel Headers
        ["HEADER_CRAFTING_QUEUE"] = "Fila de Criação",
        ["HEADER_SHOPPING_LIST"] = "Lista de Compras",
        ["HEADER_MATERIALS"] = "Materiais",
        ["HEADER_REQUIRED_MATERIALS"] = "Materiais Necessários",
        ["HEADER_RAW_MATERIALS"] = "Materiais Brutos",
        ["HEADER_DIRECT_MATERIALS"] = "Materiais Diretos",
        ["HEADER_LUMBER"] = "Madeira",
        ["HEADER_TRACKED_REAGENTS"] = "Reagentes Rastreados",
        ["HEADER_CRAFTING_HISTORY"] = "Histórico de Criação / Aquisição",
        ["HEADER_FARMING_HISTORY"] = "Histórico de Coleta",
        ["HEADER_ACCOUNT_SUMMARY"] = "Resumo da Conta",
        ["HEADER_PROFIT_ANALYSIS"] = "Análise de Lucro",

        -- Column Headers
        ["COL_TYPE"] = "Tipo",
        ["COL_NEEDED"] = "Necessário",
        ["COL_IN_STOCK"] = "Em Estoque",
        ["COL_ALL"] = "Todos",
        ["COL_TIME"] = "Hora",
        ["COL_ITEM"] = "Item",
        ["COL_COST"] = "Custo",
        ["COL_SOURCE"] = "Fonte",
        ["COL_CHARACTER"] = "Personagem",
        ["COL_COLLECTED"] = "Coletado",
        ["COL_RATE"] = "Taxa",
        ["COL_DURATION"] = "Duração",
        ["COL_ZONE"] = "Zona",
        ["COL_SELL_PRICE"] = "Venda",
        ["COL_MAT_COST"] = "Custo Mat",
        ["COL_PROFIT"] = "Lucro",
        ["COL_MARGIN"] = "Margem",
        ["COL_LUMBER_VALUE"] = "$/Mad",
        ["COL_TOTAL_LUMBER"] = "Total Mad",
        ["COL_SALE_RATE"] = "Taxa Venda",
        ["COL_MARKET_VALUE"] = "Mercado",
        ["COL_AH_QTY"] = "# CL",

        -- Buttons
        ["BTN_CLEAR"] = "Limpar",
        ["BTN_CLOSE"] = "Fechar",
        ["BTN_EXPORT"] = "Exportar",
        ["BTN_REFRESH"] = "Atualizar",
        ["BTN_ALL"] = "Todos",
        ["BTN_READY"] = "Prontos",
        ["BTN_DIRECT"] = "Direto",
        ["BTN_RAW"] = "Bruto",
        ["BTN_FILTER_DECOR"] = "Filtrar Decoração",
        ["BTN_DECOR_GUIDE"] = "Guia de Decoração",
        ["BTN_END_SESSION"] = "Encerrar Sessão",
        ["BTN_STOP_TRACKING"] = "Parar Rastreamento",
        ["BTN_SCAN_AH"] = "Escanear CL",
        ["BTN_ADD_TO_AUCTIONATOR"] = "Adicionar ao Auctionator",
        ["BTN_ADD_ALL_AUCTIONATOR"] = "Adicionar Tudo ao Auctionator",
        ["BTN_ADD_ALL_AUCTIONATOR_RAW"] = "Adicionar Tudo ao Auctionator (Brutos)",
        ["BTN_ADD_TO_TSM"] = "Adicionar à Lista TSM",
        ["BTN_MY_COLLECTION"] = "Minha Coleção",

        -- Checkboxes
        ["CHECK_UNCOLLECTED_ONLY"] = "Não Coletado",
        ["CHECK_INCLUDE_MATS"] = "+Mats",
        ["CHECK_HIDE_UNPROFITABLE"] = "Ocultar Não Lucrativos",
        ["CHECK_ONLY_KNOWN"] = "Apenas Conhecidas",
        ["CHECK_SHOW_PROFESSION_BUTTONS"] = "Mostrar Botões de Profissão",

        -- Locale Override
        ["LOCALE_OVERRIDE"] = "Idioma Preferido",
        ["LOCALE_AUTO"] = "Auto (Cliente)",
        ["LOCALE_HINT"] = "Requer /reload para aplicar",
        ["LOCALE_NOTE"] = "Nota: Afeta apenas o texto do addon. Nomes de receitas e itens dependem do idioma do cliente.",
        ["TRANSLATE_NOTE"] = "Ajude a traduzir! Envie correções pelo Discord abaixo.",

        -- Filter Labels
        ["FILTER_PROFESSION"] = "Profissão",
        ["FILTER_EXPANSION"] = "Expansão",
        ["FILTER_ALL_PROFESSIONS"] = "Todas as Profissões",
        ["FILTER_ALL_EXPANSIONS"] = "Todas as Expansões",
        ["FILTER_TAGS"] = "Tags",
        ["FILTER_CATEGORY"] = "Filtro",

        -- Preview Tab Categories
        ["CAT_ALL"] = "Todos",
        ["CAT_CRAFTED"] = "Fabricável",
        ["CAT_SIZES"] = "Tamanhos",
        ["CAT_FACTIONS"] = "Facções",
        ["CAT_STYLES"] = "Estilos",
        ["CAT_EXPANSIONS"] = "Expansões",
        ["CAT_OTHER"] = "Outros",

        -- Status Messages
        ["STATUS_LOADING"] = "Carregando...",
        ["STATUS_NO_DATA"] = "Sem dados disponíveis",
        ["STATUS_NO_RECIPES"] = "Nenhuma receita encontrada",
        ["STATUS_NO_HISTORY"] = "Sem histórico de criação ainda.",
        ["STATUS_NO_FARMING_HISTORY"] = "Sem sessões de coleta registradas.",
        ["STATUS_NO_CHARACTER_DATA"] = "Sem dados de personagem. Abra uma janela de profissão para escanear.",
        ["STATUS_ALL_LUMBER_COLLECTED"] = "Toda a madeira coletada!",
        ["STATUS_NO_MATERIALS_QUEUED"] = "Sem materiais na fila",
        ["STATUS_HAVE_ALL_MATERIALS"] = "Você tem todos os materiais!",
        ["STATUS_INSTALL_PRICE_ADDON"] = "Instale TSM/Auctionator para preços",

        -- Tab Tooltip Descriptions
        ["TIP_TAB_RECIPES"] = "Ver todas as receitas de decoração",
        ["TIP_TAB_GOBLIN"] = "Análise de lucro - encontre os crafts mais lucrativos",
        ["TIP_TAB_PREVIEW"] = "Visualizar decorações",
        ["TIP_TAB_TRAINERS"] = "Encontrar instrutores de receitas",
        ["TIP_TAB_ALTS"] = "Ver dados de profissões de todos os personagens",
        ["TIP_TAB_DATA"] = "Ver histórico de coleta e estatísticas",
        ["TIP_TAB_CONFIG"] = "Configurar opções do addon e ícone do minimapa",

        -- Tooltips
        ["TIP_CLICK_TO_PREVIEW"] = "Clique para visualizar",
        ["TIP_CLICK_HEADERS_TO_SORT"] = "Clique nos cabeçalhos para ordenar",
        ["TIP_CTRL_CLICK_ADD_QUEUE"] = "Ctrl-clique para adicionar à fila",
        ["TIP_SHIFT_CLICK_SEARCH_AH"] = "Shift-clique para buscar na CL",
        ["TIP_RIGHT_CLICK_OPTIONS"] = "Clique direito para opções",
        ["TIP_DRAG_TO_MOVE"] = "Arraste para mover",
        ["TIP_CLOSE_MAIN_WINDOW"] = "Fechar Janela Principal",
        ["TIP_OPEN_MAIN_WINDOW"] = "Abrir Janela Principal",
        ["TIP_SHOW_MATERIALS"] = "Mostrar Materiais",
        ["TIP_HIDE_MATERIALS"] = "Ocultar Materiais",
        ["TIP_MATERIALS_UNAVAILABLE"] = "Materiais Indisponíveis",
        ["TIP_END_FARMING_SESSION"] = "Encerrar Sessão de Coleta",
        ["TIP_ENDS_SESSION_TRACKING"] = "Encerra o rastreamento da sessão atual",
        ["TIP_SELECT_ALL_COPY"] = "Selecionar tudo (Ctrl+A) e copiar (Ctrl+C)",

        -- Export
        ["EXPORT_CRAFTING_TITLE"] = "Exportar Histórico de Criação",
        ["EXPORT_FARMING_TITLE"] = "Exportar Histórico de Coleta",

        -- Crafting Queue
        ["QUEUE_NOT_KNOWN"] = "Desconhecida",
        ["QUEUE_YOU"] = "(você)",
        ["QUEUE_NEEDS_TRAINING"] = "Não Aprendida",
        ["QUEUE_KNOWN_BY"] = "Conhecida por",

        -- Farming Tracker
        ["FARM_SESSION_ENDED"] = "sessão de coleta encerrada",
        ["FARM_COLLECTED"] = "coletado",
        ["FARM_THIS_SESSION"] = "esta sessão",
        ["FARM_FIRST_TO_LAST"] = "(do primeiro ao último)",

        -- Materials
        ["MAT_GATHERED"] = "Coletado",
        ["MAT_CRAFTED"] = "Fabricado",
        ["MAT_VENDOR"] = "Vendedor",
        ["MAT_DROPPED"] = "Drop",
        ["MAT_SPECIAL"] = "Especial",

        -- Material Source Categories
        ["MAT_FROM_VENDOR"] = "De Vendedor",
        ["MAT_FROM_GATHERING"] = "De Coleta / CL",
        ["MAT_FROM_CRAFTING"] = "De Fabricação / CL",

        -- Acquisition Sources
        ["SOURCE_CRAFTED"] = "Fabricado",
        ["SOURCE_LEARNED"] = "Aprendido",

        -- Collection Status
        ["STATUS_COLLECTED"] = "Coletado",
        ["STATUS_COLLECTION"] = "Coleção",
        ["STATUS_UNCOLLECTED"] = "Não Coletado",
        ["STATUS_NOT_COLLECTED"] = "Não Coletado",
        ["TIP_MY_COLLECTION"] = "Minha Coleção",
        ["TIP_SHOW_ALL_DECOR"] = "Mostrar TODOS os itens de decoração do catálogo",
        ["TIP_NOT_JUST_CRAFTABLE"] = "(não apenas receitas fabricáveis).",
        ["TIP_UNCOLLECTED_ONLY"] = "Apenas Não Coletados",
        ["TIP_HIDE_COLLECTED"] = "Ocultar itens que você já coletou",

        -- Skill Thresholds Legend
        ["LEGEND_CAN_LEARN"] = "Pode aprender receitas de decoração",
        ["LEGEND_BELOW_THRESHOLD"] = "Abaixo do limite",
        ["LEGEND_NO_DECOR_RECIPES"] = "Sem receitas de decoração",

        -- Profession Window
        ["PROF_NOT_LEARNED"] = "Não Aprendida",

        -- Profession Names
        ["PROF_ALL"] = "Todos",
        ["PROF_ALCHEMY"] = "Alquimia",
        ["PROF_BLACKSMITHING"] = "Ferraria",
        ["PROF_COOKING"] = "Culinária",
        ["PROF_ENCHANTING"] = "Encantamento",
        ["PROF_ENGINEERING"] = "Engenharia",
        ["PROF_INSCRIPTION"] = "Escrivania",
        ["PROF_JEWELCRAFTING"] = "Joalheria",
        ["PROF_LEATHERWORKING"] = "Couraria",
        ["PROF_TAILORING"] = "Alfaiataria",
        ["PROF_HERBALISM"] = "Herbalismo",
        ["PROF_MINING"] = "Mineração",
        ["PROF_SKINNING"] = "Esfolamento",
        ["PROF_FISHING"] = "Pesca",

        -- Misc
        ["MISC_UNKNOWN"] = "Desconhecido",
        ["MISC_ITEMS"] = "itens",
        ["MISC_PER_HOUR"] = "/hora",
        ["MISC_ESTIMATED"] = "Est:",
        ["MISC_EXPANSION"] = "Expansão",
        ["MISC_IN_BAGS_BANK"] = "Em Bolsas/Banco",
        ["MISC_TOTAL_NEEDED"] = "Total Necessário",
        ["MISC_NEED_MORE"] = "Precisa de mais %s",
        ["MISC_HAVE_ENOUGH"] = "Tem suficiente",
        ["MISC_LUMBER_MUST_BE_FARMED"] = "Madeira deve ser coletada",
        ["MISC_NOT_NEEDED_FOR_QUEUE"] = "Não necessário para a fila",
        ["MISC_ALL_RECIPES_COLLECTED"] = "Todas as receitas usando isso coletadas",
    },

    -- Portuguese (Portugal) - falls back to ptBR
    ["ptPT"] = {},

    -- German - Complete
    ["deDE"] = {
        -- Tab Names
        ["TAB_RECIPES"] = "Rezepte",
        ["TAB_GOBLIN"] = "Goblin",
        ["TAB_PREVIEW"] = "Vorschau",
        ["TAB_TRAINERS"] = "Lehrer",
        ["TAB_ALTS"] = "Twinks",
        ["TAB_CONFIG"] = "Einstellungen",
        ["TAB_DATA"] = "Daten",

        -- Panel Headers
        ["HEADER_CRAFTING_QUEUE"] = "Herstellungsliste",
        ["HEADER_SHOPPING_LIST"] = "Einkaufsliste",
        ["HEADER_MATERIALS"] = "Materialien",
        ["HEADER_REQUIRED_MATERIALS"] = "Benötigte Materialien",
        ["HEADER_RAW_MATERIALS"] = "Rohmaterialien",
        ["HEADER_DIRECT_MATERIALS"] = "Direkte Materialien",
        ["HEADER_LUMBER"] = "Holz",
        ["HEADER_TRACKED_REAGENTS"] = "Verfolgte Reagenzien",
        ["HEADER_CRAFTING_HISTORY"] = "Herstellungs- / Erwerbsverlauf",
        ["HEADER_FARMING_HISTORY"] = "Sammelverlauf",
        ["HEADER_ACCOUNT_SUMMARY"] = "Kontoübersicht",
        ["HEADER_PROFIT_ANALYSIS"] = "Gewinnanalyse",

        -- Column Headers
        ["COL_TYPE"] = "Typ",
        ["COL_NEEDED"] = "Benötigt",
        ["COL_IN_STOCK"] = "Vorrätig",
        ["COL_ALL"] = "Alle",
        ["COL_TIME"] = "Zeit",
        ["COL_ITEM"] = "Gegenstand",
        ["COL_COST"] = "Kosten",
        ["COL_SOURCE"] = "Quelle",
        ["COL_CHARACTER"] = "Charakter",
        ["COL_COLLECTED"] = "Gesammelt",
        ["COL_RATE"] = "Rate",
        ["COL_DURATION"] = "Dauer",
        ["COL_ZONE"] = "Zone",
        ["COL_SELL_PRICE"] = "Verkauf",
        ["COL_MAT_COST"] = "Mat-Kosten",
        ["COL_PROFIT"] = "Gewinn",
        ["COL_MARGIN"] = "Marge",
        ["COL_LUMBER_VALUE"] = "$/Holz",
        ["COL_TOTAL_LUMBER"] = "Holz Ges.",
        ["COL_SALE_RATE"] = "Verkaufsrate",
        ["COL_MARKET_VALUE"] = "Markt",
        ["COL_AH_QTY"] = "# AH",

        -- Buttons
        ["BTN_CLEAR"] = "Leeren",
        ["BTN_CLOSE"] = "Schließen",
        ["BTN_EXPORT"] = "Exportieren",
        ["BTN_REFRESH"] = "Aktualisieren",
        ["BTN_ALL"] = "Alle",
        ["BTN_READY"] = "Bereit",
        ["BTN_DIRECT"] = "Direkt",
        ["BTN_RAW"] = "Roh",
        ["BTN_FILTER_DECOR"] = "Deko filtern",
        ["BTN_DECOR_GUIDE"] = "Deko-Leitfaden",
        ["BTN_END_SESSION"] = "Sitzung beenden",
        ["BTN_STOP_TRACKING"] = "Verfolgung stoppen",
        ["BTN_SCAN_AH"] = "AH scannen",
        ["BTN_ADD_TO_AUCTIONATOR"] = "Zu Auctionator hinzufügen",
        ["BTN_ADD_ALL_AUCTIONATOR"] = "Alles zu Auctionator hinzufügen",
        ["BTN_ADD_ALL_AUCTIONATOR_RAW"] = "Alles zu Auctionator hinzufügen (Roh)",
        ["BTN_ADD_TO_TSM"] = "Zur TSM-Liste hinzufügen",
        ["BTN_MY_COLLECTION"] = "Meine Sammlung",

        -- Checkboxes
        ["CHECK_UNCOLLECTED_ONLY"] = "Nicht gesammelt",
        ["CHECK_INCLUDE_MATS"] = "+Mats",
        ["CHECK_HIDE_UNPROFITABLE"] = "Unrentable ausblenden",
        ["CHECK_ONLY_KNOWN"] = "Nur bekannte",
        ["CHECK_SHOW_PROFESSION_BUTTONS"] = "Berufsfenster-Buttons anzeigen",

        -- Locale Override
        ["LOCALE_OVERRIDE"] = "Sprachüberschreibung",
        ["LOCALE_AUTO"] = "Auto (Client)",
        ["LOCALE_HINT"] = "Erfordert /reload zum Anwenden",
        ["LOCALE_NOTE"] = "Hinweis: Betrifft nur Addon-Text. Rezept- und Gegenstandsnamen entsprechen der Client-Sprache.",
        ["TRANSLATE_NOTE"] = "Hilf beim Übersetzen! Sende Korrekturen über Discord unten.",

        -- Filter Labels
        ["FILTER_PROFESSION"] = "Beruf",
        ["FILTER_EXPANSION"] = "Erweiterung",
        ["FILTER_ALL_PROFESSIONS"] = "Alle Berufe",
        ["FILTER_ALL_EXPANSIONS"] = "Alle Erweiterungen",
        ["FILTER_TAGS"] = "Tags",
        ["FILTER_CATEGORY"] = "Filter",

        -- Preview Tab Categories
        ["CAT_ALL"] = "Alle",
        ["CAT_CRAFTED"] = "Herstellbar",
        ["CAT_SIZES"] = "Größen",
        ["CAT_FACTIONS"] = "Fraktionen",
        ["CAT_STYLES"] = "Stile",
        ["CAT_EXPANSIONS"] = "Erweiterungen",
        ["CAT_OTHER"] = "Andere",

        -- Status Messages
        ["STATUS_LOADING"] = "Laden...",
        ["STATUS_NO_DATA"] = "Keine Daten verfügbar",
        ["STATUS_NO_RECIPES"] = "Keine Rezepte gefunden",
        ["STATUS_NO_HISTORY"] = "Noch kein Herstellungsverlauf.",
        ["STATUS_NO_FARMING_HISTORY"] = "Noch keine Sammelsitzungen aufgezeichnet.",
        ["STATUS_NO_CHARACTER_DATA"] = "Keine Charakterdaten. Öffne ein Berufsfenster zum Scannen.",
        ["STATUS_ALL_LUMBER_COLLECTED"] = "Alles Holz gesammelt!",
        ["STATUS_NO_MATERIALS_QUEUED"] = "Keine Materialien in der Warteschlange",
        ["STATUS_HAVE_ALL_MATERIALS"] = "Du hast alle Materialien!",
        ["STATUS_INSTALL_PRICE_ADDON"] = "Installiere TSM/Auctionator für Preise",

        -- Tab Tooltip Descriptions
        ["TIP_TAB_RECIPES"] = "Alle Dekorationsrezepte anzeigen",
        ["TIP_TAB_GOBLIN"] = "Gewinnanalyse - finde die profitabelsten Herstellungen",
        ["TIP_TAB_PREVIEW"] = "Dekorationen ansehen",
        ["TIP_TAB_TRAINERS"] = "Rezeptlehrer finden",
        ["TIP_TAB_ALTS"] = "Berufsdaten aller Charaktere anzeigen",
        ["TIP_TAB_DATA"] = "Sammelverlauf und Statistiken anzeigen",
        ["TIP_TAB_CONFIG"] = "Addon-Einstellungen und Minimap-Symbol konfigurieren",

        -- Tooltips
        ["TIP_CLICK_TO_PREVIEW"] = "Klicken für Vorschau",
        ["TIP_CLICK_HEADERS_TO_SORT"] = "Auf Überschriften klicken zum Sortieren",
        ["TIP_CTRL_CLICK_ADD_QUEUE"] = "Strg-Klick zum Hinzufügen zur Warteschlange",
        ["TIP_SHIFT_CLICK_SEARCH_AH"] = "Umschalt-Klick für AH-Suche",
        ["TIP_RIGHT_CLICK_OPTIONS"] = "Rechtsklick für Optionen",
        ["TIP_DRAG_TO_MOVE"] = "Ziehen zum Verschieben",
        ["TIP_CLOSE_MAIN_WINDOW"] = "Hauptfenster schließen",
        ["TIP_OPEN_MAIN_WINDOW"] = "Hauptfenster öffnen",
        ["TIP_SHOW_MATERIALS"] = "Materialien anzeigen",
        ["TIP_HIDE_MATERIALS"] = "Materialien ausblenden",
        ["TIP_MATERIALS_UNAVAILABLE"] = "Materialien nicht verfügbar",
        ["TIP_END_FARMING_SESSION"] = "Sammelsitzung beenden",
        ["TIP_ENDS_SESSION_TRACKING"] = "Beendet die aktuelle Sitzungsverfolgung",
        ["TIP_SELECT_ALL_COPY"] = "Alles auswählen (Strg+A) und kopieren (Strg+C)",

        -- Export
        ["EXPORT_CRAFTING_TITLE"] = "Herstellungsverlauf exportieren",
        ["EXPORT_FARMING_TITLE"] = "Sammelverlauf exportieren",

        -- Crafting Queue
        ["QUEUE_NOT_KNOWN"] = "Unbekannt",
        ["QUEUE_YOU"] = "(du)",
        ["QUEUE_NEEDS_TRAINING"] = "Nicht gelernt",
        ["QUEUE_KNOWN_BY"] = "Bekannt von",

        -- Farming Tracker
        ["FARM_SESSION_ENDED"] = "Sammelsitzung beendet",
        ["FARM_COLLECTED"] = "gesammelt",
        ["FARM_THIS_SESSION"] = "diese Sitzung",
        ["FARM_FIRST_TO_LAST"] = "(vom Ersten zum Letzten)",

        -- Materials
        ["MAT_GATHERED"] = "Gesammelt",
        ["MAT_CRAFTED"] = "Hergestellt",
        ["MAT_VENDOR"] = "Händler",
        ["MAT_DROPPED"] = "Beute",
        ["MAT_SPECIAL"] = "Spezial",

        -- Material Source Categories
        ["MAT_FROM_VENDOR"] = "Von Händler",
        ["MAT_FROM_GATHERING"] = "Vom Sammeln / AH",
        ["MAT_FROM_CRAFTING"] = "Von Herstellung / AH",

        -- Acquisition Sources
        ["SOURCE_CRAFTED"] = "Hergestellt",
        ["SOURCE_LEARNED"] = "Gelernt",

        -- Collection Status
        ["STATUS_COLLECTED"] = "Gesammelt",
        ["STATUS_COLLECTION"] = "Sammlung",
        ["STATUS_UNCOLLECTED"] = "Nicht gesammelt",
        ["STATUS_NOT_COLLECTED"] = "Nicht gesammelt",
        ["TIP_MY_COLLECTION"] = "Meine Sammlung",
        ["TIP_SHOW_ALL_DECOR"] = "ALLE Dekorationsgegenstände aus dem Katalog anzeigen",
        ["TIP_NOT_JUST_CRAFTABLE"] = "(nicht nur herstellbare Rezepte).",
        ["TIP_UNCOLLECTED_ONLY"] = "Nur nicht gesammelte",
        ["TIP_HIDE_COLLECTED"] = "Bereits gesammelte Gegenstände ausblenden",

        -- Skill Thresholds Legend
        ["LEGEND_CAN_LEARN"] = "Kann Dekorationsrezepte lernen",
        ["LEGEND_BELOW_THRESHOLD"] = "Unter Schwellenwert",
        ["LEGEND_NO_DECOR_RECIPES"] = "Keine Dekorationsrezepte",

        -- Profession Window
        ["PROF_NOT_LEARNED"] = "Nicht gelernt",

        -- Profession Names
        ["PROF_ALL"] = "Alle",
        ["PROF_ALCHEMY"] = "Alchemie",
        ["PROF_BLACKSMITHING"] = "Schmiedekunst",
        ["PROF_COOKING"] = "Kochen",
        ["PROF_ENCHANTING"] = "Verzauberkunst",
        ["PROF_ENGINEERING"] = "Ingenieurskunst",
        ["PROF_INSCRIPTION"] = "Inschriftenkunde",
        ["PROF_JEWELCRAFTING"] = "Juwelierskunst",
        ["PROF_LEATHERWORKING"] = "Lederverarbeitung",
        ["PROF_TAILORING"] = "Schneiderei",
        ["PROF_HERBALISM"] = "Kräuterkunde",
        ["PROF_MINING"] = "Bergbau",
        ["PROF_SKINNING"] = "Kürschnerei",
        ["PROF_FISHING"] = "Angeln",

        -- Misc
        ["MISC_UNKNOWN"] = "Unbekannt",
        ["MISC_ITEMS"] = "Gegenstände",
        ["MISC_PER_HOUR"] = "/Std",
        ["MISC_ESTIMATED"] = "Gesch.:",
        ["MISC_EXPANSION"] = "Erweiterung",
        ["MISC_IN_BAGS_BANK"] = "In Taschen/Bank",
        ["MISC_TOTAL_NEEDED"] = "Gesamt benötigt",
        ["MISC_NEED_MORE"] = "Brauche noch %s",
        ["MISC_HAVE_ENOUGH"] = "Genug vorhanden",
        ["MISC_LUMBER_MUST_BE_FARMED"] = "Holz muss gesammelt werden",
        ["MISC_NOT_NEEDED_FOR_QUEUE"] = "Nicht für Warteschlange benötigt",
        ["MISC_ALL_RECIPES_COLLECTED"] = "Alle Rezepte damit gesammelt",
    },

    -- French - Complete
    ["frFR"] = {
        -- Tab Names
        ["TAB_RECIPES"] = "Recettes",
        ["TAB_GOBLIN"] = "Gobelin",
        ["TAB_PREVIEW"] = "Aperçu",
        ["TAB_TRAINERS"] = "Formateurs",
        ["TAB_ALTS"] = "Alts",
        ["TAB_CONFIG"] = "Config",
        ["TAB_DATA"] = "Données",

        -- Panel Headers
        ["HEADER_CRAFTING_QUEUE"] = "File d'Artisanat",
        ["HEADER_SHOPPING_LIST"] = "Liste d'Achats",
        ["HEADER_MATERIALS"] = "Matériaux",
        ["HEADER_REQUIRED_MATERIALS"] = "Matériaux Requis",
        ["HEADER_RAW_MATERIALS"] = "Matériaux Bruts",
        ["HEADER_DIRECT_MATERIALS"] = "Matériaux Directs",
        ["HEADER_LUMBER"] = "Bois",
        ["HEADER_TRACKED_REAGENTS"] = "Composants Suivis",
        ["HEADER_CRAFTING_HISTORY"] = "Historique de Fabrication / Acquisition",
        ["HEADER_FARMING_HISTORY"] = "Historique de Récolte",
        ["HEADER_ACCOUNT_SUMMARY"] = "Résumé du Compte",
        ["HEADER_PROFIT_ANALYSIS"] = "Analyse de Profit",

        -- Column Headers
        ["COL_TYPE"] = "Type",
        ["COL_NEEDED"] = "Requis",
        ["COL_IN_STOCK"] = "En Stock",
        ["COL_ALL"] = "Tous",
        ["COL_TIME"] = "Heure",
        ["COL_ITEM"] = "Objet",
        ["COL_COST"] = "Coût",
        ["COL_SOURCE"] = "Source",
        ["COL_CHARACTER"] = "Personnage",
        ["COL_COLLECTED"] = "Collecté",
        ["COL_RATE"] = "Taux",
        ["COL_DURATION"] = "Durée",
        ["COL_ZONE"] = "Zone",
        ["COL_SELL_PRICE"] = "Vente",
        ["COL_MAT_COST"] = "Coût Mat",
        ["COL_PROFIT"] = "Profit",
        ["COL_MARGIN"] = "Marge",
        ["COL_LUMBER_VALUE"] = "$/Bois",
        ["COL_TOTAL_LUMBER"] = "Total Bois",
        ["COL_SALE_RATE"] = "Taux Vente",
        ["COL_MARKET_VALUE"] = "Marché",
        ["COL_AH_QTY"] = "# HV",

        -- Buttons
        ["BTN_CLEAR"] = "Effacer",
        ["BTN_CLOSE"] = "Fermer",
        ["BTN_EXPORT"] = "Exporter",
        ["BTN_REFRESH"] = "Actualiser",
        ["BTN_ALL"] = "Tous",
        ["BTN_READY"] = "Prêts",
        ["BTN_DIRECT"] = "Direct",
        ["BTN_RAW"] = "Brut",
        ["BTN_FILTER_DECOR"] = "Filtrer Déco",
        ["BTN_DECOR_GUIDE"] = "Guide Déco",
        ["BTN_END_SESSION"] = "Terminer Session",
        ["BTN_STOP_TRACKING"] = "Arrêter Suivi",
        ["BTN_SCAN_AH"] = "Scanner HV",
        ["BTN_ADD_TO_AUCTIONATOR"] = "Ajouter à Auctionator",
        ["BTN_ADD_ALL_AUCTIONATOR"] = "Tout Ajouter à Auctionator",
        ["BTN_ADD_ALL_AUCTIONATOR_RAW"] = "Tout Ajouter à Auctionator (Bruts)",
        ["BTN_ADD_TO_TSM"] = "Ajouter à la Liste TSM",
        ["BTN_MY_COLLECTION"] = "Ma Collection",

        -- Checkboxes
        ["CHECK_UNCOLLECTED_ONLY"] = "Non Collecté",
        ["CHECK_INCLUDE_MATS"] = "+Mats",
        ["CHECK_HIDE_UNPROFITABLE"] = "Masquer Non Rentables",
        ["CHECK_ONLY_KNOWN"] = "Connues Seulement",
        ["CHECK_SHOW_PROFESSION_BUTTONS"] = "Afficher Boutons de Métier",

        -- Locale Override
        ["LOCALE_OVERRIDE"] = "Langue Préférée",
        ["LOCALE_AUTO"] = "Auto (Client)",
        ["LOCALE_HINT"] = "Nécessite /reload pour appliquer",
        ["LOCALE_NOTE"] = "Note: N'affecte que le texte de l'addon. Les noms de recettes et objets correspondent à la langue du client.",
        ["TRANSLATE_NOTE"] = "Aidez à traduire! Envoyez vos corrections via Discord ci-dessous.",

        -- Filter Labels
        ["FILTER_PROFESSION"] = "Métier",
        ["FILTER_EXPANSION"] = "Extension",
        ["FILTER_ALL_PROFESSIONS"] = "Tous les Métiers",
        ["FILTER_ALL_EXPANSIONS"] = "Toutes les Extensions",
        ["FILTER_TAGS"] = "Tags",
        ["FILTER_CATEGORY"] = "Filtre",

        -- Preview Tab Categories
        ["CAT_ALL"] = "Tous",
        ["CAT_CRAFTED"] = "Fabricable",
        ["CAT_SIZES"] = "Tailles",
        ["CAT_FACTIONS"] = "Factions",
        ["CAT_STYLES"] = "Styles",
        ["CAT_EXPANSIONS"] = "Extensions",
        ["CAT_OTHER"] = "Autres",

        -- Status Messages
        ["STATUS_LOADING"] = "Chargement...",
        ["STATUS_NO_DATA"] = "Aucune donnée disponible",
        ["STATUS_NO_RECIPES"] = "Aucune recette trouvée",
        ["STATUS_NO_HISTORY"] = "Pas encore d'historique de fabrication.",
        ["STATUS_NO_FARMING_HISTORY"] = "Pas de sessions de récolte enregistrées.",
        ["STATUS_NO_CHARACTER_DATA"] = "Pas de données de personnage. Ouvrez une fenêtre de métier pour scanner.",
        ["STATUS_ALL_LUMBER_COLLECTED"] = "Tout le bois collecté!",
        ["STATUS_NO_MATERIALS_QUEUED"] = "Pas de matériaux en file",
        ["STATUS_HAVE_ALL_MATERIALS"] = "Vous avez tous les matériaux!",
        ["STATUS_INSTALL_PRICE_ADDON"] = "Installez TSM/Auctionator pour les prix",

        -- Tab Tooltip Descriptions
        ["TIP_TAB_RECIPES"] = "Voir toutes les recettes de décoration",
        ["TIP_TAB_GOBLIN"] = "Analyse de profit - trouvez les fabrications les plus rentables",
        ["TIP_TAB_PREVIEW"] = "Aperçu des décorations",
        ["TIP_TAB_TRAINERS"] = "Trouver les formateurs de recettes",
        ["TIP_TAB_ALTS"] = "Voir les données de métiers de tous les personnages",
        ["TIP_TAB_DATA"] = "Voir l'historique de récolte et statistiques",
        ["TIP_TAB_CONFIG"] = "Configurer les options de l'addon et l'icône minimap",

        -- Tooltips
        ["TIP_CLICK_TO_PREVIEW"] = "Cliquez pour aperçu",
        ["TIP_CLICK_HEADERS_TO_SORT"] = "Cliquez sur les en-têtes pour trier",
        ["TIP_CTRL_CLICK_ADD_QUEUE"] = "Ctrl-clic pour ajouter à la file",
        ["TIP_SHIFT_CLICK_SEARCH_AH"] = "Maj-clic pour rechercher à l'HV",
        ["TIP_RIGHT_CLICK_OPTIONS"] = "Clic droit pour options",
        ["TIP_DRAG_TO_MOVE"] = "Glissez pour déplacer",
        ["TIP_CLOSE_MAIN_WINDOW"] = "Fermer la Fenêtre Principale",
        ["TIP_OPEN_MAIN_WINDOW"] = "Ouvrir la Fenêtre Principale",
        ["TIP_SHOW_MATERIALS"] = "Afficher Matériaux",
        ["TIP_HIDE_MATERIALS"] = "Masquer Matériaux",
        ["TIP_MATERIALS_UNAVAILABLE"] = "Matériaux Non Disponibles",
        ["TIP_END_FARMING_SESSION"] = "Terminer Session de Récolte",
        ["TIP_ENDS_SESSION_TRACKING"] = "Termine le suivi de la session actuelle",
        ["TIP_SELECT_ALL_COPY"] = "Tout sélectionner (Ctrl+A) puis copier (Ctrl+C)",

        -- Export
        ["EXPORT_CRAFTING_TITLE"] = "Exporter Historique de Fabrication",
        ["EXPORT_FARMING_TITLE"] = "Exporter Historique de Récolte",

        -- Crafting Queue
        ["QUEUE_NOT_KNOWN"] = "Inconnue",
        ["QUEUE_YOU"] = "(vous)",
        ["QUEUE_NEEDS_TRAINING"] = "Non Apprise",
        ["QUEUE_KNOWN_BY"] = "Connue par",

        -- Farming Tracker
        ["FARM_SESSION_ENDED"] = "session de récolte terminée",
        ["FARM_COLLECTED"] = "collecté",
        ["FARM_THIS_SESSION"] = "cette session",
        ["FARM_FIRST_TO_LAST"] = "(du premier au dernier)",

        -- Materials
        ["MAT_GATHERED"] = "Récolté",
        ["MAT_CRAFTED"] = "Fabriqué",
        ["MAT_VENDOR"] = "Vendeur",
        ["MAT_DROPPED"] = "Butin",
        ["MAT_SPECIAL"] = "Spécial",

        -- Material Source Categories
        ["MAT_FROM_VENDOR"] = "De Vendeur",
        ["MAT_FROM_GATHERING"] = "De Récolte / HV",
        ["MAT_FROM_CRAFTING"] = "De Fabrication / HV",

        -- Acquisition Sources
        ["SOURCE_CRAFTED"] = "Fabriqué",
        ["SOURCE_LEARNED"] = "Appris",

        -- Collection Status
        ["STATUS_COLLECTED"] = "Collecté",
        ["STATUS_COLLECTION"] = "Collection",
        ["STATUS_UNCOLLECTED"] = "Non Collecté",
        ["STATUS_NOT_COLLECTED"] = "Non Collecté",
        ["TIP_MY_COLLECTION"] = "Ma Collection",
        ["TIP_SHOW_ALL_DECOR"] = "Afficher TOUS les objets de décoration du catalogue",
        ["TIP_NOT_JUST_CRAFTABLE"] = "(pas seulement les recettes fabricables).",
        ["TIP_UNCOLLECTED_ONLY"] = "Non Collectés Seulement",
        ["TIP_HIDE_COLLECTED"] = "Masquer les objets déjà collectés",

        -- Skill Thresholds Legend
        ["LEGEND_CAN_LEARN"] = "Peut apprendre des recettes de déco",
        ["LEGEND_BELOW_THRESHOLD"] = "En dessous du seuil",
        ["LEGEND_NO_DECOR_RECIPES"] = "Pas de recettes de déco",

        -- Profession Window
        ["PROF_NOT_LEARNED"] = "Non Apprise",

        -- Profession Names
        ["PROF_ALL"] = "Tous",
        ["PROF_ALCHEMY"] = "Alchimie",
        ["PROF_BLACKSMITHING"] = "Forge",
        ["PROF_COOKING"] = "Cuisine",
        ["PROF_ENCHANTING"] = "Enchantement",
        ["PROF_ENGINEERING"] = "Ingénierie",
        ["PROF_INSCRIPTION"] = "Calligraphie",
        ["PROF_JEWELCRAFTING"] = "Joaillerie",
        ["PROF_LEATHERWORKING"] = "Travail du cuir",
        ["PROF_TAILORING"] = "Couture",
        ["PROF_HERBALISM"] = "Herboristerie",
        ["PROF_MINING"] = "Minage",
        ["PROF_SKINNING"] = "Dépeçage",
        ["PROF_FISHING"] = "Pêche",

        -- Misc
        ["MISC_UNKNOWN"] = "Inconnu",
        ["MISC_ITEMS"] = "objets",
        ["MISC_PER_HOUR"] = "/h",
        ["MISC_ESTIMATED"] = "Est.:",
        ["MISC_EXPANSION"] = "Extension",
        ["MISC_IN_BAGS_BANK"] = "Dans Sacs/Banque",
        ["MISC_TOTAL_NEEDED"] = "Total Requis",
        ["MISC_NEED_MORE"] = "Besoin de %s de plus",
        ["MISC_HAVE_ENOUGH"] = "Assez en stock",
        ["MISC_LUMBER_MUST_BE_FARMED"] = "Le bois doit être récolté",
        ["MISC_NOT_NEEDED_FOR_QUEUE"] = "Non requis pour la file",
        ["MISC_ALL_RECIPES_COLLECTED"] = "Toutes les recettes l'utilisant collectées",
    },

    -- Italian - Complete
    ["itIT"] = {
        -- Tab Names
        ["TAB_RECIPES"] = "Ricette",
        ["TAB_GOBLIN"] = "Goblin",
        ["TAB_PREVIEW"] = "Anteprima",
        ["TAB_TRAINERS"] = "Istruttori",
        ["TAB_ALTS"] = "Alts",
        ["TAB_CONFIG"] = "Config",
        ["TAB_DATA"] = "Dati",

        -- Panel Headers
        ["HEADER_CRAFTING_QUEUE"] = "Coda di Creazione",
        ["HEADER_SHOPPING_LIST"] = "Lista della Spesa",
        ["HEADER_MATERIALS"] = "Materiali",
        ["HEADER_REQUIRED_MATERIALS"] = "Materiali Richiesti",
        ["HEADER_RAW_MATERIALS"] = "Materiali Grezzi",
        ["HEADER_DIRECT_MATERIALS"] = "Materiali Diretti",
        ["HEADER_LUMBER"] = "Legno",
        ["HEADER_TRACKED_REAGENTS"] = "Reagenti Tracciati",
        ["HEADER_CRAFTING_HISTORY"] = "Cronologia Creazione / Acquisizione",
        ["HEADER_FARMING_HISTORY"] = "Cronologia Raccolta",
        ["HEADER_ACCOUNT_SUMMARY"] = "Riepilogo Account",
        ["HEADER_PROFIT_ANALYSIS"] = "Analisi Profitto",

        -- Column Headers
        ["COL_TYPE"] = "Tipo",
        ["COL_NEEDED"] = "Necessario",
        ["COL_IN_STOCK"] = "In Stock",
        ["COL_ALL"] = "Tutti",
        ["COL_TIME"] = "Ora",
        ["COL_ITEM"] = "Oggetto",
        ["COL_COST"] = "Costo",
        ["COL_SOURCE"] = "Fonte",
        ["COL_CHARACTER"] = "Personaggio",
        ["COL_COLLECTED"] = "Raccolto",
        ["COL_RATE"] = "Tasso",
        ["COL_DURATION"] = "Durata",
        ["COL_ZONE"] = "Zona",
        ["COL_SELL_PRICE"] = "Vendita",
        ["COL_MAT_COST"] = "Costo Mat",
        ["COL_PROFIT"] = "Profitto",
        ["COL_MARGIN"] = "Margine",
        ["COL_LUMBER_VALUE"] = "$/Legno",
        ["COL_TOTAL_LUMBER"] = "Tot Legno",
        ["COL_SALE_RATE"] = "Tasso Vendita",
        ["COL_MARKET_VALUE"] = "Mercato",
        ["COL_AH_QTY"] = "# CA",

        -- Buttons
        ["BTN_CLEAR"] = "Pulisci",
        ["BTN_CLOSE"] = "Chiudi",
        ["BTN_EXPORT"] = "Esporta",
        ["BTN_REFRESH"] = "Aggiorna",
        ["BTN_ALL"] = "Tutti",
        ["BTN_READY"] = "Pronti",
        ["BTN_DIRECT"] = "Diretto",
        ["BTN_RAW"] = "Grezzo",
        ["BTN_FILTER_DECOR"] = "Filtra Decorazioni",
        ["BTN_DECOR_GUIDE"] = "Guida Decorazioni",
        ["BTN_END_SESSION"] = "Termina Sessione",
        ["BTN_STOP_TRACKING"] = "Ferma Tracciamento",
        ["BTN_SCAN_AH"] = "Scansiona CA",
        ["BTN_ADD_TO_AUCTIONATOR"] = "Aggiungi a Auctionator",
        ["BTN_ADD_ALL_AUCTIONATOR"] = "Aggiungi Tutto a Auctionator",
        ["BTN_ADD_ALL_AUCTIONATOR_RAW"] = "Aggiungi Tutto a Auctionator (Grezzi)",
        ["BTN_ADD_TO_TSM"] = "Aggiungi a Lista TSM",
        ["BTN_MY_COLLECTION"] = "La Mia Collezione",

        -- Checkboxes
        ["CHECK_UNCOLLECTED_ONLY"] = "Non Raccolto",
        ["CHECK_INCLUDE_MATS"] = "+Mats",
        ["CHECK_HIDE_UNPROFITABLE"] = "Nascondi Non Redditizi",
        ["CHECK_ONLY_KNOWN"] = "Solo Conosciute",
        ["CHECK_SHOW_PROFESSION_BUTTONS"] = "Mostra Pulsanti Professione",

        -- Locale Override
        ["LOCALE_OVERRIDE"] = "Lingua Preferita",
        ["LOCALE_AUTO"] = "Auto (Client)",
        ["LOCALE_HINT"] = "Richiede /reload per applicare",
        ["LOCALE_NOTE"] = "Nota: Influisce solo sul testo dell'addon. I nomi di ricette e oggetti dipendono dalla lingua del client.",
        ["TRANSLATE_NOTE"] = "Aiuta a tradurre! Invia correzioni tramite Discord qui sotto.",

        -- Filter Labels
        ["FILTER_PROFESSION"] = "Professione",
        ["FILTER_EXPANSION"] = "Espansione",
        ["FILTER_ALL_PROFESSIONS"] = "Tutte le Professioni",
        ["FILTER_ALL_EXPANSIONS"] = "Tutte le Espansioni",
        ["FILTER_TAGS"] = "Tag",
        ["FILTER_CATEGORY"] = "Filtro",

        -- Preview Tab Categories
        ["CAT_ALL"] = "Tutti",
        ["CAT_CRAFTED"] = "Creabile",
        ["CAT_SIZES"] = "Dimensioni",
        ["CAT_FACTIONS"] = "Fazioni",
        ["CAT_STYLES"] = "Stili",
        ["CAT_EXPANSIONS"] = "Espansioni",
        ["CAT_OTHER"] = "Altri",

        -- Status Messages
        ["STATUS_LOADING"] = "Caricamento...",
        ["STATUS_NO_DATA"] = "Nessun dato disponibile",
        ["STATUS_NO_RECIPES"] = "Nessuna ricetta trovata",
        ["STATUS_NO_HISTORY"] = "Nessuna cronologia di creazione.",
        ["STATUS_NO_FARMING_HISTORY"] = "Nessuna sessione di raccolta registrata.",
        ["STATUS_NO_CHARACTER_DATA"] = "Nessun dato personaggio. Apri una finestra professione per scansionare.",
        ["STATUS_ALL_LUMBER_COLLECTED"] = "Tutto il legno raccolto!",
        ["STATUS_NO_MATERIALS_QUEUED"] = "Nessun materiale in coda",
        ["STATUS_HAVE_ALL_MATERIALS"] = "Hai tutti i materiali!",
        ["STATUS_INSTALL_PRICE_ADDON"] = "Installa TSM/Auctionator per i prezzi",

        -- Tab Tooltip Descriptions
        ["TIP_TAB_RECIPES"] = "Vedi tutte le ricette di decorazione",
        ["TIP_TAB_GOBLIN"] = "Analisi profitto - trova le creazioni più redditizie",
        ["TIP_TAB_PREVIEW"] = "Anteprima decorazioni",
        ["TIP_TAB_TRAINERS"] = "Trova istruttori di ricette",
        ["TIP_TAB_ALTS"] = "Vedi dati professioni di tutti i personaggi",
        ["TIP_TAB_DATA"] = "Vedi cronologia raccolta e statistiche",
        ["TIP_TAB_CONFIG"] = "Configura opzioni addon e icona minimappa",

        -- Tooltips
        ["TIP_CLICK_TO_PREVIEW"] = "Clicca per anteprima",
        ["TIP_CLICK_HEADERS_TO_SORT"] = "Clicca intestazioni per ordinare",
        ["TIP_CTRL_CLICK_ADD_QUEUE"] = "Ctrl-clic per aggiungere alla coda",
        ["TIP_SHIFT_CLICK_SEARCH_AH"] = "Shift-clic per cercare alla CA",
        ["TIP_RIGHT_CLICK_OPTIONS"] = "Clic destro per opzioni",
        ["TIP_DRAG_TO_MOVE"] = "Trascina per spostare",
        ["TIP_CLOSE_MAIN_WINDOW"] = "Chiudi Finestra Principale",
        ["TIP_OPEN_MAIN_WINDOW"] = "Apri Finestra Principale",
        ["TIP_SHOW_MATERIALS"] = "Mostra Materiali",
        ["TIP_HIDE_MATERIALS"] = "Nascondi Materiali",
        ["TIP_MATERIALS_UNAVAILABLE"] = "Materiali Non Disponibili",
        ["TIP_END_FARMING_SESSION"] = "Termina Sessione Raccolta",
        ["TIP_ENDS_SESSION_TRACKING"] = "Termina il tracciamento della sessione corrente",
        ["TIP_SELECT_ALL_COPY"] = "Seleziona tutto (Ctrl+A) poi copia (Ctrl+C)",

        -- Export
        ["EXPORT_CRAFTING_TITLE"] = "Esporta Cronologia Creazione",
        ["EXPORT_FARMING_TITLE"] = "Esporta Cronologia Raccolta",

        -- Crafting Queue
        ["QUEUE_NOT_KNOWN"] = "Sconosciuta",
        ["QUEUE_YOU"] = "(tu)",
        ["QUEUE_NEEDS_TRAINING"] = "Non Appresa",
        ["QUEUE_KNOWN_BY"] = "Conosciuta da",

        -- Farming Tracker
        ["FARM_SESSION_ENDED"] = "sessione di raccolta terminata",
        ["FARM_COLLECTED"] = "raccolto",
        ["FARM_THIS_SESSION"] = "questa sessione",
        ["FARM_FIRST_TO_LAST"] = "(dal primo all'ultimo)",

        -- Materials
        ["MAT_GATHERED"] = "Raccolto",
        ["MAT_CRAFTED"] = "Creato",
        ["MAT_VENDOR"] = "Venditore",
        ["MAT_DROPPED"] = "Bottino",
        ["MAT_SPECIAL"] = "Speciale",

        -- Material Source Categories
        ["MAT_FROM_VENDOR"] = "Da Venditore",
        ["MAT_FROM_GATHERING"] = "Da Raccolta / CA",
        ["MAT_FROM_CRAFTING"] = "Da Creazione / CA",

        -- Acquisition Sources
        ["SOURCE_CRAFTED"] = "Creato",
        ["SOURCE_LEARNED"] = "Appreso",

        -- Collection Status
        ["STATUS_COLLECTED"] = "Raccolto",
        ["STATUS_COLLECTION"] = "Collezione",
        ["STATUS_UNCOLLECTED"] = "Non Raccolto",
        ["STATUS_NOT_COLLECTED"] = "Non Raccolto",
        ["TIP_MY_COLLECTION"] = "La Mia Collezione",
        ["TIP_SHOW_ALL_DECOR"] = "Mostra TUTTI gli oggetti decorazione dal catalogo",
        ["TIP_NOT_JUST_CRAFTABLE"] = "(non solo ricette creabili).",
        ["TIP_UNCOLLECTED_ONLY"] = "Solo Non Raccolti",
        ["TIP_HIDE_COLLECTED"] = "Nascondi oggetti già raccolti",

        -- Skill Thresholds Legend
        ["LEGEND_CAN_LEARN"] = "Può imparare ricette decorazione",
        ["LEGEND_BELOW_THRESHOLD"] = "Sotto la soglia",
        ["LEGEND_NO_DECOR_RECIPES"] = "Nessuna ricetta decorazione",

        -- Profession Window
        ["PROF_NOT_LEARNED"] = "Non Appresa",

        -- Profession Names
        ["PROF_ALL"] = "Tutti",
        ["PROF_ALCHEMY"] = "Alchimia",
        ["PROF_BLACKSMITHING"] = "Forgiatura",
        ["PROF_COOKING"] = "Cucina",
        ["PROF_ENCHANTING"] = "Incantamento",
        ["PROF_ENGINEERING"] = "Ingegneria",
        ["PROF_INSCRIPTION"] = "Runografia",
        ["PROF_JEWELCRAFTING"] = "Oreficeria",
        ["PROF_LEATHERWORKING"] = "Conciatura",
        ["PROF_TAILORING"] = "Sartoria",
        ["PROF_HERBALISM"] = "Erbalismo",
        ["PROF_MINING"] = "Estrazione",
        ["PROF_SKINNING"] = "Scuoiatura",
        ["PROF_FISHING"] = "Pesca",

        -- Misc
        ["MISC_UNKNOWN"] = "Sconosciuto",
        ["MISC_ITEMS"] = "oggetti",
        ["MISC_PER_HOUR"] = "/ora",
        ["MISC_ESTIMATED"] = "Stim.:",
        ["MISC_EXPANSION"] = "Espansione",
        ["MISC_IN_BAGS_BANK"] = "In Borse/Banca",
        ["MISC_TOTAL_NEEDED"] = "Totale Necessario",
        ["MISC_NEED_MORE"] = "Servono altri %s",
        ["MISC_HAVE_ENOUGH"] = "Ne hai abbastanza",
        ["MISC_LUMBER_MUST_BE_FARMED"] = "Il legno deve essere raccolto",
        ["MISC_NOT_NEEDED_FOR_QUEUE"] = "Non necessario per la coda",
        ["MISC_ALL_RECIPES_COLLECTED"] = "Tutte le ricette che lo usano raccolte",
    },

    -- Russian - Complete
    ["ruRU"] = {
        -- Tab Names
        ["TAB_RECIPES"] = "Рецепты",
        ["TAB_GOBLIN"] = "Гоблин",
        ["TAB_PREVIEW"] = "Просмотр",
        ["TAB_TRAINERS"] = "Учителя",
        ["TAB_ALTS"] = "Альты",
        ["TAB_CONFIG"] = "Настройки",
        ["TAB_DATA"] = "Данные",

        -- Panel Headers
        ["HEADER_CRAFTING_QUEUE"] = "Очередь Создания",
        ["HEADER_SHOPPING_LIST"] = "Список Покупок",
        ["HEADER_MATERIALS"] = "Материалы",
        ["HEADER_REQUIRED_MATERIALS"] = "Требуемые Материалы",
        ["HEADER_RAW_MATERIALS"] = "Сырьё",
        ["HEADER_DIRECT_MATERIALS"] = "Прямые Материалы",
        ["HEADER_LUMBER"] = "Древесина",
        ["HEADER_TRACKED_REAGENTS"] = "Отслеживаемые Реагенты",
        ["HEADER_CRAFTING_HISTORY"] = "История Создания / Получения",
        ["HEADER_FARMING_HISTORY"] = "История Сбора",
        ["HEADER_ACCOUNT_SUMMARY"] = "Сводка Аккаунта",
        ["HEADER_PROFIT_ANALYSIS"] = "Анализ Прибыли",

        -- Column Headers
        ["COL_TYPE"] = "Тип",
        ["COL_NEEDED"] = "Нужно",
        ["COL_IN_STOCK"] = "В наличии",
        ["COL_ALL"] = "Все",
        ["COL_TIME"] = "Время",
        ["COL_ITEM"] = "Предмет",
        ["COL_COST"] = "Цена",
        ["COL_SOURCE"] = "Источник",
        ["COL_CHARACTER"] = "Персонаж",
        ["COL_COLLECTED"] = "Собрано",
        ["COL_RATE"] = "Скорость",
        ["COL_DURATION"] = "Длительность",
        ["COL_ZONE"] = "Зона",
        ["COL_SELL_PRICE"] = "Продажа",
        ["COL_MAT_COST"] = "Цена мат.",
        ["COL_PROFIT"] = "Прибыль",
        ["COL_MARGIN"] = "Маржа",
        ["COL_LUMBER_VALUE"] = "$/Дерево",
        ["COL_TOTAL_LUMBER"] = "Всего дер.",
        ["COL_SALE_RATE"] = "Частота продаж",
        ["COL_MARKET_VALUE"] = "Рынок",
        ["COL_AH_QTY"] = "# АД",

        -- Buttons
        ["BTN_CLEAR"] = "Очистить",
        ["BTN_CLOSE"] = "Закрыть",
        ["BTN_EXPORT"] = "Экспорт",
        ["BTN_REFRESH"] = "Обновить",
        ["BTN_ALL"] = "Все",
        ["BTN_READY"] = "Готово",
        ["BTN_DIRECT"] = "Прямые",
        ["BTN_RAW"] = "Сырьё",
        ["BTN_FILTER_DECOR"] = "Фильтр декора",
        ["BTN_DECOR_GUIDE"] = "Гид по декору",
        ["BTN_END_SESSION"] = "Завершить сессию",
        ["BTN_STOP_TRACKING"] = "Остановить отслеживание",
        ["BTN_SCAN_AH"] = "Сканировать АД",
        ["BTN_ADD_TO_AUCTIONATOR"] = "Добавить в Auctionator",
        ["BTN_ADD_ALL_AUCTIONATOR"] = "Добавить всё в Auctionator",
        ["BTN_ADD_ALL_AUCTIONATOR_RAW"] = "Добавить всё в Auctionator (сырьё)",
        ["BTN_ADD_TO_TSM"] = "Добавить в список TSM",
        ["BTN_MY_COLLECTION"] = "Моя Коллекция",

        -- Checkboxes
        ["CHECK_UNCOLLECTED_ONLY"] = "Не собранные",
        ["CHECK_INCLUDE_MATS"] = "+Маты",
        ["CHECK_HIDE_UNPROFITABLE"] = "Скрыть убыточные",
        ["CHECK_ONLY_KNOWN"] = "Только известные",
        ["CHECK_SHOW_PROFESSION_BUTTONS"] = "Показывать кнопки профессий",

        -- Locale Override
        ["LOCALE_OVERRIDE"] = "Язык",
        ["LOCALE_AUTO"] = "Авто (клиент)",
        ["LOCALE_HINT"] = "Требуется /reload для применения",
        ["LOCALE_NOTE"] = "Примечание: Влияет только на текст аддона. Названия рецептов и предметов зависят от языка клиента.",
        ["TRANSLATE_NOTE"] = "Помогите перевести! Отправляйте исправления через Discord ниже.",

        -- Filter Labels
        ["FILTER_PROFESSION"] = "Профессия",
        ["FILTER_EXPANSION"] = "Дополнение",
        ["FILTER_ALL_PROFESSIONS"] = "Все профессии",
        ["FILTER_ALL_EXPANSIONS"] = "Все дополнения",
        ["FILTER_TAGS"] = "Теги",
        ["FILTER_CATEGORY"] = "Фильтр",

        -- Preview Tab Categories
        ["CAT_ALL"] = "Все",
        ["CAT_CRAFTED"] = "Создаваемое",
        ["CAT_SIZES"] = "Размеры",
        ["CAT_FACTIONS"] = "Фракции",
        ["CAT_STYLES"] = "Стили",
        ["CAT_EXPANSIONS"] = "Дополнения",
        ["CAT_OTHER"] = "Другое",

        -- Status Messages
        ["STATUS_LOADING"] = "Загрузка...",
        ["STATUS_NO_DATA"] = "Нет данных",
        ["STATUS_NO_RECIPES"] = "Рецепты не найдены",
        ["STATUS_NO_HISTORY"] = "История создания пуста.",
        ["STATUS_NO_FARMING_HISTORY"] = "Сессии сбора не записаны.",
        ["STATUS_NO_CHARACTER_DATA"] = "Нет данных персонажа. Откройте окно профессии для сканирования.",
        ["STATUS_ALL_LUMBER_COLLECTED"] = "Вся древесина собрана!",
        ["STATUS_NO_MATERIALS_QUEUED"] = "Нет материалов в очереди",
        ["STATUS_HAVE_ALL_MATERIALS"] = "У вас есть все материалы!",
        ["STATUS_INSTALL_PRICE_ADDON"] = "Установите TSM/Auctionator для цен",

        -- Tab Tooltip Descriptions
        ["TIP_TAB_RECIPES"] = "Просмотр всех рецептов декора",
        ["TIP_TAB_GOBLIN"] = "Анализ прибыли - найдите самые выгодные крафты",
        ["TIP_TAB_PREVIEW"] = "Просмотр декораций",
        ["TIP_TAB_TRAINERS"] = "Найти учителей рецептов",
        ["TIP_TAB_ALTS"] = "Просмотр данных профессий всех персонажей",
        ["TIP_TAB_DATA"] = "Просмотр истории сбора и статистики",
        ["TIP_TAB_CONFIG"] = "Настройка аддона и иконки на миникарте",

        -- Tooltips
        ["TIP_CLICK_TO_PREVIEW"] = "Нажмите для просмотра",
        ["TIP_CLICK_HEADERS_TO_SORT"] = "Нажмите на заголовки для сортировки",
        ["TIP_CTRL_CLICK_ADD_QUEUE"] = "Ctrl-клик для добавления в очередь",
        ["TIP_SHIFT_CLICK_SEARCH_AH"] = "Shift-клик для поиска в АД",
        ["TIP_RIGHT_CLICK_OPTIONS"] = "Правый клик для опций",
        ["TIP_DRAG_TO_MOVE"] = "Перетащите для перемещения",
        ["TIP_CLOSE_MAIN_WINDOW"] = "Закрыть главное окно",
        ["TIP_OPEN_MAIN_WINDOW"] = "Открыть главное окно",
        ["TIP_SHOW_MATERIALS"] = "Показать материалы",
        ["TIP_HIDE_MATERIALS"] = "Скрыть материалы",
        ["TIP_MATERIALS_UNAVAILABLE"] = "Материалы недоступны",
        ["TIP_END_FARMING_SESSION"] = "Завершить сессию сбора",
        ["TIP_ENDS_SESSION_TRACKING"] = "Завершает отслеживание текущей сессии",
        ["TIP_SELECT_ALL_COPY"] = "Выделить всё (Ctrl+A) затем копировать (Ctrl+C)",

        -- Export
        ["EXPORT_CRAFTING_TITLE"] = "Экспорт истории создания",
        ["EXPORT_FARMING_TITLE"] = "Экспорт истории сбора",

        -- Crafting Queue
        ["QUEUE_NOT_KNOWN"] = "Неизвестен",
        ["QUEUE_YOU"] = "(вы)",
        ["QUEUE_NEEDS_TRAINING"] = "Не изучено",
        ["QUEUE_KNOWN_BY"] = "Известно у",

        -- Farming Tracker
        ["FARM_SESSION_ENDED"] = "сессия сбора завершена",
        ["FARM_COLLECTED"] = "собрано",
        ["FARM_THIS_SESSION"] = "за сессию",
        ["FARM_FIRST_TO_LAST"] = "(от первого до последнего)",

        -- Materials
        ["MAT_GATHERED"] = "Собранный",
        ["MAT_CRAFTED"] = "Созданный",
        ["MAT_VENDOR"] = "Торговец",
        ["MAT_DROPPED"] = "Добыча",
        ["MAT_SPECIAL"] = "Особый",

        -- Material Source Categories
        ["MAT_FROM_VENDOR"] = "От торговца",
        ["MAT_FROM_GATHERING"] = "От сбора / АД",
        ["MAT_FROM_CRAFTING"] = "От создания / АД",

        -- Acquisition Sources
        ["SOURCE_CRAFTED"] = "Создано",
        ["SOURCE_LEARNED"] = "Изучено",

        -- Collection Status
        ["STATUS_COLLECTED"] = "Собрано",
        ["STATUS_COLLECTION"] = "Коллекция",
        ["STATUS_UNCOLLECTED"] = "Не собрано",
        ["STATUS_NOT_COLLECTED"] = "Не собрано",
        ["TIP_MY_COLLECTION"] = "Моя Коллекция",
        ["TIP_SHOW_ALL_DECOR"] = "Показать ВСЕ предметы декора из каталога",
        ["TIP_NOT_JUST_CRAFTABLE"] = "(не только создаваемые рецепты).",
        ["TIP_UNCOLLECTED_ONLY"] = "Только не собранные",
        ["TIP_HIDE_COLLECTED"] = "Скрыть уже собранные предметы",

        -- Skill Thresholds Legend
        ["LEGEND_CAN_LEARN"] = "Может изучить рецепты декора",
        ["LEGEND_BELOW_THRESHOLD"] = "Ниже порога",
        ["LEGEND_NO_DECOR_RECIPES"] = "Нет рецептов декора",

        -- Profession Window
        ["PROF_NOT_LEARNED"] = "Не изучено",

        -- Profession Names
        ["PROF_ALL"] = "Все",
        ["PROF_ALCHEMY"] = "Алхимия",
        ["PROF_BLACKSMITHING"] = "Кузнечное дело",
        ["PROF_COOKING"] = "Кулинария",
        ["PROF_ENCHANTING"] = "Наложение чар",
        ["PROF_ENGINEERING"] = "Инженерное дело",
        ["PROF_INSCRIPTION"] = "Начертание",
        ["PROF_JEWELCRAFTING"] = "Ювелирное дело",
        ["PROF_LEATHERWORKING"] = "Кожевничество",
        ["PROF_TAILORING"] = "Портняжное дело",
        ["PROF_HERBALISM"] = "Травничество",
        ["PROF_MINING"] = "Горное дело",
        ["PROF_SKINNING"] = "Снятие шкур",
        ["PROF_FISHING"] = "Рыбная ловля",

        -- Misc
        ["MISC_UNKNOWN"] = "Неизвестно",
        ["MISC_ITEMS"] = "предметов",
        ["MISC_PER_HOUR"] = "/ч",
        ["MISC_ESTIMATED"] = "Прим.:",
        ["MISC_EXPANSION"] = "Дополнение",
        ["MISC_IN_BAGS_BANK"] = "В сумках/банке",
        ["MISC_TOTAL_NEEDED"] = "Всего нужно",
        ["MISC_NEED_MORE"] = "Нужно ещё %s",
        ["MISC_HAVE_ENOUGH"] = "Достаточно",
        ["MISC_LUMBER_MUST_BE_FARMED"] = "Древесину нужно собирать",
        ["MISC_NOT_NEEDED_FOR_QUEUE"] = "Не нужно для очереди",
        ["MISC_ALL_RECIPES_COLLECTED"] = "Все рецепты с этим собраны",
    },

    -- Korean - Complete
    ["koKR"] = {
        -- Tab Names
        ["TAB_RECIPES"] = "제조법",
        ["TAB_GOBLIN"] = "고블린",
        ["TAB_PREVIEW"] = "미리보기",
        ["TAB_TRAINERS"] = "훈련사",
        ["TAB_ALTS"] = "부캐",
        ["TAB_CONFIG"] = "설정",
        ["TAB_DATA"] = "데이터",

        -- Panel Headers
        ["HEADER_CRAFTING_QUEUE"] = "제작 대기열",
        ["HEADER_SHOPPING_LIST"] = "쇼핑 목록",
        ["HEADER_MATERIALS"] = "재료",
        ["HEADER_REQUIRED_MATERIALS"] = "필요 재료",
        ["HEADER_RAW_MATERIALS"] = "원재료",
        ["HEADER_DIRECT_MATERIALS"] = "직접 재료",
        ["HEADER_LUMBER"] = "목재",
        ["HEADER_TRACKED_REAGENTS"] = "추적 중인 재료",
        ["HEADER_CRAFTING_HISTORY"] = "제작 / 획득 기록",
        ["HEADER_FARMING_HISTORY"] = "파밍 기록",
        ["HEADER_ACCOUNT_SUMMARY"] = "계정 요약",
        ["HEADER_PROFIT_ANALYSIS"] = "수익 분석",

        -- Column Headers
        ["COL_TYPE"] = "유형",
        ["COL_NEEDED"] = "필요",
        ["COL_IN_STOCK"] = "보유",
        ["COL_ALL"] = "전체",
        ["COL_TIME"] = "시간",
        ["COL_ITEM"] = "아이템",
        ["COL_COST"] = "비용",
        ["COL_SOURCE"] = "출처",
        ["COL_CHARACTER"] = "캐릭터",
        ["COL_COLLECTED"] = "수집",
        ["COL_RATE"] = "비율",
        ["COL_DURATION"] = "기간",
        ["COL_ZONE"] = "지역",
        ["COL_SELL_PRICE"] = "판매",
        ["COL_MAT_COST"] = "재료비",
        ["COL_PROFIT"] = "수익",
        ["COL_MARGIN"] = "마진",
        ["COL_LUMBER_VALUE"] = "$/목재",
        ["COL_TOTAL_LUMBER"] = "목재 총",
        ["COL_SALE_RATE"] = "판매율",
        ["COL_MARKET_VALUE"] = "시장",
        ["COL_AH_QTY"] = "# 경매",

        -- Buttons
        ["BTN_CLEAR"] = "지우기",
        ["BTN_CLOSE"] = "닫기",
        ["BTN_EXPORT"] = "내보내기",
        ["BTN_REFRESH"] = "새로고침",
        ["BTN_ALL"] = "전체",
        ["BTN_READY"] = "준비됨",
        ["BTN_DIRECT"] = "직접",
        ["BTN_RAW"] = "원재료",
        ["BTN_FILTER_DECOR"] = "장식 필터",
        ["BTN_DECOR_GUIDE"] = "장식 가이드",
        ["BTN_END_SESSION"] = "세션 종료",
        ["BTN_STOP_TRACKING"] = "추적 중지",
        ["BTN_SCAN_AH"] = "경매장 스캔",
        ["BTN_ADD_TO_AUCTIONATOR"] = "Auctionator에 추가",
        ["BTN_ADD_ALL_AUCTIONATOR"] = "Auctionator에 모두 추가",
        ["BTN_ADD_ALL_AUCTIONATOR_RAW"] = "Auctionator에 모두 추가 (원재료)",
        ["BTN_ADD_TO_TSM"] = "TSM 목록에 추가",
        ["BTN_MY_COLLECTION"] = "내 컬렉션",

        -- Checkboxes
        ["CHECK_UNCOLLECTED_ONLY"] = "미수집",
        ["CHECK_INCLUDE_MATS"] = "+재료",
        ["CHECK_HIDE_UNPROFITABLE"] = "비수익 숨기기",
        ["CHECK_ONLY_KNOWN"] = "배운 것만",
        ["CHECK_SHOW_PROFESSION_BUTTONS"] = "전문기술 버튼 표시",

        -- Locale Override
        ["LOCALE_OVERRIDE"] = "언어 설정",
        ["LOCALE_AUTO"] = "자동 (클라이언트)",
        ["LOCALE_HINT"] = "적용하려면 /reload 필요",
        ["LOCALE_NOTE"] = "참고: 애드온 텍스트에만 영향. 제조법과 아이템 이름은 클라이언트 언어를 따름.",
        ["TRANSLATE_NOTE"] = "번역을 도와주세요! 아래 디스코드로 수정 사항을 보내주세요.",

        -- Filter Labels
        ["FILTER_PROFESSION"] = "전문기술",
        ["FILTER_EXPANSION"] = "확장팩",
        ["FILTER_ALL_PROFESSIONS"] = "모든 전문기술",
        ["FILTER_ALL_EXPANSIONS"] = "모든 확장팩",
        ["FILTER_TAGS"] = "태그",
        ["FILTER_CATEGORY"] = "필터",

        -- Preview Tab Categories
        ["CAT_ALL"] = "전체",
        ["CAT_CRAFTED"] = "제작 가능",
        ["CAT_SIZES"] = "크기",
        ["CAT_FACTIONS"] = "진영",
        ["CAT_STYLES"] = "스타일",
        ["CAT_EXPANSIONS"] = "확장팩",
        ["CAT_OTHER"] = "기타",

        -- Status Messages
        ["STATUS_LOADING"] = "로딩 중...",
        ["STATUS_NO_DATA"] = "데이터 없음",
        ["STATUS_NO_RECIPES"] = "제조법 없음",
        ["STATUS_NO_HISTORY"] = "제작 기록이 없습니다.",
        ["STATUS_NO_FARMING_HISTORY"] = "파밍 기록이 없습니다.",
        ["STATUS_NO_CHARACTER_DATA"] = "캐릭터 데이터 없음. 전문기술 창을 열어 스캔하세요.",
        ["STATUS_ALL_LUMBER_COLLECTED"] = "모든 목재 수집 완료!",
        ["STATUS_NO_MATERIALS_QUEUED"] = "대기열에 재료 없음",
        ["STATUS_HAVE_ALL_MATERIALS"] = "모든 재료 보유!",
        ["STATUS_INSTALL_PRICE_ADDON"] = "가격 확인을 위해 TSM/Auctionator 설치",

        -- Tab Tooltip Descriptions
        ["TIP_TAB_RECIPES"] = "모든 장식 제조법 보기",
        ["TIP_TAB_GOBLIN"] = "수익 분석 - 가장 수익성 있는 제작 찾기",
        ["TIP_TAB_PREVIEW"] = "장식 미리보기",
        ["TIP_TAB_TRAINERS"] = "제조법 훈련사 찾기",
        ["TIP_TAB_ALTS"] = "모든 캐릭터의 전문기술 데이터 보기",
        ["TIP_TAB_DATA"] = "파밍 기록 및 통계 보기",
        ["TIP_TAB_CONFIG"] = "애드온 설정 및 미니맵 아이콘 구성",

        -- Tooltips
        ["TIP_CLICK_TO_PREVIEW"] = "클릭하여 미리보기",
        ["TIP_CLICK_HEADERS_TO_SORT"] = "헤더 클릭하여 정렬",
        ["TIP_CTRL_CLICK_ADD_QUEUE"] = "Ctrl-클릭으로 대기열에 추가",
        ["TIP_SHIFT_CLICK_SEARCH_AH"] = "Shift-클릭으로 경매장 검색",
        ["TIP_RIGHT_CLICK_OPTIONS"] = "우클릭으로 옵션",
        ["TIP_DRAG_TO_MOVE"] = "드래그하여 이동",
        ["TIP_CLOSE_MAIN_WINDOW"] = "메인 창 닫기",
        ["TIP_OPEN_MAIN_WINDOW"] = "메인 창 열기",
        ["TIP_SHOW_MATERIALS"] = "재료 표시",
        ["TIP_HIDE_MATERIALS"] = "재료 숨기기",
        ["TIP_MATERIALS_UNAVAILABLE"] = "재료 불가",
        ["TIP_END_FARMING_SESSION"] = "파밍 세션 종료",
        ["TIP_ENDS_SESSION_TRACKING"] = "현재 세션 추적 종료",
        ["TIP_SELECT_ALL_COPY"] = "모두 선택 (Ctrl+A) 후 복사 (Ctrl+C)",

        -- Export
        ["EXPORT_CRAFTING_TITLE"] = "제작 기록 내보내기",
        ["EXPORT_FARMING_TITLE"] = "파밍 기록 내보내기",

        -- Crafting Queue
        ["QUEUE_NOT_KNOWN"] = "알 수 없음",
        ["QUEUE_YOU"] = "(본인)",
        ["QUEUE_NEEDS_TRAINING"] = "미배움",
        ["QUEUE_KNOWN_BY"] = "배운 캐릭터",

        -- Farming Tracker
        ["FARM_SESSION_ENDED"] = "파밍 세션 종료",
        ["FARM_COLLECTED"] = "수집",
        ["FARM_THIS_SESSION"] = "이번 세션",
        ["FARM_FIRST_TO_LAST"] = "(처음부터 마지막까지)",

        -- Materials
        ["MAT_GATHERED"] = "채집",
        ["MAT_CRAFTED"] = "제작",
        ["MAT_VENDOR"] = "상인",
        ["MAT_DROPPED"] = "드롭",
        ["MAT_SPECIAL"] = "특수",

        -- Material Source Categories
        ["MAT_FROM_VENDOR"] = "상인에서",
        ["MAT_FROM_GATHERING"] = "채집 / 경매장에서",
        ["MAT_FROM_CRAFTING"] = "제작 / 경매장에서",

        -- Acquisition Sources
        ["SOURCE_CRAFTED"] = "제작됨",
        ["SOURCE_LEARNED"] = "배움",

        -- Collection Status
        ["STATUS_COLLECTED"] = "수집됨",
        ["STATUS_COLLECTION"] = "컬렉션",
        ["STATUS_UNCOLLECTED"] = "미수집",
        ["STATUS_NOT_COLLECTED"] = "미수집",
        ["TIP_MY_COLLECTION"] = "내 컬렉션",
        ["TIP_SHOW_ALL_DECOR"] = "카탈로그의 모든 장식 아이템 표시",
        ["TIP_NOT_JUST_CRAFTABLE"] = "(제작 가능한 것만이 아님).",
        ["TIP_UNCOLLECTED_ONLY"] = "미수집만",
        ["TIP_HIDE_COLLECTED"] = "이미 수집한 아이템 숨기기",

        -- Skill Thresholds Legend
        ["LEGEND_CAN_LEARN"] = "장식 제조법 배울 수 있음",
        ["LEGEND_BELOW_THRESHOLD"] = "기준 미달",
        ["LEGEND_NO_DECOR_RECIPES"] = "장식 제조법 없음",

        -- Profession Window
        ["PROF_NOT_LEARNED"] = "미배움",

        -- Profession Names
        ["PROF_ALL"] = "전체",
        ["PROF_ALCHEMY"] = "연금술",
        ["PROF_BLACKSMITHING"] = "대장기술",
        ["PROF_COOKING"] = "요리",
        ["PROF_ENCHANTING"] = "마법부여",
        ["PROF_ENGINEERING"] = "기계공학",
        ["PROF_INSCRIPTION"] = "주문각인",
        ["PROF_JEWELCRAFTING"] = "보석세공",
        ["PROF_LEATHERWORKING"] = "가죽세공",
        ["PROF_TAILORING"] = "재봉술",
        ["PROF_HERBALISM"] = "약초채집",
        ["PROF_MINING"] = "채광",
        ["PROF_SKINNING"] = "무두질",
        ["PROF_FISHING"] = "낚시",

        -- Misc
        ["MISC_UNKNOWN"] = "알 수 없음",
        ["MISC_ITEMS"] = "아이템",
        ["MISC_PER_HOUR"] = "/시간",
        ["MISC_ESTIMATED"] = "예상:",
        ["MISC_EXPANSION"] = "확장팩",
        ["MISC_IN_BAGS_BANK"] = "가방/은행에",
        ["MISC_TOTAL_NEEDED"] = "총 필요량",
        ["MISC_NEED_MORE"] = "%s 더 필요",
        ["MISC_HAVE_ENOUGH"] = "충분함",
        ["MISC_LUMBER_MUST_BE_FARMED"] = "목재는 파밍해야 함",
        ["MISC_NOT_NEEDED_FOR_QUEUE"] = "대기열에 필요 없음",
        ["MISC_ALL_RECIPES_COLLECTED"] = "이것을 사용하는 모든 제조법 수집됨",
    },

    -- Simplified Chinese
    -- Chinese Simplified - Complete
    ["zhCN"] = {
        -- Tab Names
        ["TAB_RECIPES"] = "配方",
        ["TAB_ACQUIRE"] = "购买",
        ["TAB_GOBLIN"] = "地精",
        ["TAB_PREVIEW"] = "预览",
        ["TAB_TRAINERS"] = "训练师",
        ["TAB_ALTS"] = "角色",
        ["TAB_DATA"] = "数据",
        ["TAB_CONFIG"] = "设置",

        -- Panel Headers
        ["HEADER_CRAFTING_QUEUE"] = "制作队列",
        ["HEADER_SHOPPING_LIST"] = "购物清单",
        ["HEADER_MATERIALS"] = "材料",
        ["HEADER_REQUIRED_MATERIALS"] = "所需材料",
        ["HEADER_RAW_MATERIALS"] = "原材料",
        ["HEADER_DIRECT_MATERIALS"] = "直接材料",
        ["HEADER_LUMBER"] = "木料",
        ["HEADER_TRACKED_REAGENTS"] = "追踪材料",
        ["HEADER_CRAFTING_HISTORY"] = "装饰制作/获取历史",
        ["HEADER_FARMING_HISTORY"] = "采集历史",
        ["HEADER_ACCOUNT_SUMMARY"] = "账户概览",
        ["HEADER_PROFIT_ANALYSIS"] = "利润分析",

        -- Column Headers
        ["COL_TYPE"] = "类型",
        ["COL_NEEDED"] = "需要",
        ["COL_IN_STOCK"] = "库存",
        ["COL_ALL"] = "全部",
        ["COL_TIME"] = "时间",
        ["COL_ITEM"] = "物品",
        ["COL_COST"] = "成本",
        ["COL_SOURCE"] = "来源",
        ["COL_CHARACTER"] = "角色",
        ["COL_COLLECTED"] = "已收集",
        ["COL_RATE"] = "效率",
        ["COL_DURATION"] = "时长",
        ["COL_ZONE"] = "区域",
        ["COL_SELL_PRICE"] = "售价",
        ["COL_MAT_COST"] = "材料成本",
        ["COL_PROFIT"] = "利润",
        ["COL_MARGIN"] = "利润率",
        ["COL_LUMBER_VALUE"] = "$/木料",
        ["COL_TOTAL_LUMBER"] = "木料总计",
        ["COL_SALE_RATE"] = "出售率",
        ["COL_MARKET_VALUE"] = "市场价",
        ["COL_AH_QTY"] = "# 拍卖",

        -- Buttons
        ["BTN_CLEAR"] = "清除",
        ["BTN_CLOSE"] = "关闭",
        ["BTN_EXPORT"] = "导出",
        ["BTN_REFRESH"] = "刷新",
        ["BTN_ALL"] = "全部",
        ["BTN_READY"] = "就绪",
        ["BTN_DIRECT"] = "直接",
        ["BTN_RAW"] = "原料",
        ["BTN_FILTER_DECOR"] = "筛选装饰",
        ["BTN_DECOR_GUIDE"] = "装饰指南",
        ["BTN_END_SESSION"] = "结束会话",
        ["BTN_STOP_TRACKING"] = "停止追踪",
        ["BTN_SCAN_AH"] = "扫描拍卖行",
        ["BTN_ADD_TO_AUCTIONATOR"] = "添加到Auctionator",
        ["BTN_ADD_ALL_AUCTIONATOR"] = "全部添加到Auctionator",
        ["BTN_ADD_ALL_AUCTIONATOR_RAW"] = "添加原材料到Auctionator",
        ["BTN_ADD_TO_TSM"] = "添加到TSM",
        ["BTN_MY_COLLECTION"] = "我的收藏",

        -- Checkboxes / Toggles
        ["CHECK_UNCOLLECTED_ONLY"] = "未收集",
        ["CHECK_INCLUDE_MATS"] = "+材料",
        ["CHECK_HIDE_UNPROFITABLE"] = "隐藏无利润",
        ["CHECK_ONLY_KNOWN"] = "仅已学",
        ["CHECK_SHOW_PROFESSION_BUTTONS"] = "显示专业窗口按钮",
        ["CHECK_SHOW_MINIMAP_BUTTON"] = "显示小地图按钮",
        ["CHECK_SHOW_IN_COMPARTMENT"] = "在插件菜单中显示",
        ["HINT_MINIMAP_BUTTON"] = "（小地图周围的可拖动图标）",
        ["HINT_COMPARTMENT"] = "（小地图整合菜单-需要/reload）",
        ["HINT_COMPARTMENT_UNAVAILABLE"] = "（不可用-需要WoW10.0+）",

        -- Locale Override
        ["LOCALE_OVERRIDE"] = "语言设置",
        ["LOCALE_AUTO"] = "自动（客户端）",
        ["LOCALE_HINT"] = "需要/reload生效",
        ["LOCALE_NOTE"] = "注意：仅影响插件界面文字。配方和物品名称取决于您的客户端语言。",
        ["TRANSLATE_NOTE"] = "帮助翻译！请通过下方Discord提交修正。",

        -- Filter Labels
        ["FILTER_PROFESSION"] = "专业",
        ["FILTER_EXPANSION"] = "资料片",
        ["FILTER_ALL_PROFESSIONS"] = "所有专业",
        ["FILTER_ALL_EXPANSIONS"] = "所有资料片",
        ["FILTER_TAGS"] = "标签",
        ["FILTER_CATEGORY"] = "筛选",

        -- Preview Tab Categories
        ["CAT_ALL"] = "全部",
        ["CAT_CRAFTED"] = "可制作",
        ["CAT_SIZES"] = "尺寸",
        ["CAT_FACTIONS"] = "阵营",
        ["CAT_STYLES"] = "风格",
        ["CAT_EXPANSIONS"] = "资料片",
        ["CAT_OTHER"] = "其他",

        -- Status Messages
        ["STATUS_LOADING"] = "加载中...",
        ["STATUS_NO_DATA"] = "无可用数据",
        ["STATUS_NO_RECIPES"] = "未找到配方",
        ["STATUS_NO_HISTORY"] = "暂无制作/获取历史。",
        ["STATUS_NO_FARMING_HISTORY"] = "暂无采集记录。",
        ["STATUS_NO_CHARACTER_DATA"] = "暂无角色数据。请打开专业窗口以扫描技能等级。",
        ["STATUS_ALL_LUMBER_COLLECTED"] = "所有木料已收集！",
        ["STATUS_NO_MATERIALS_QUEUED"] = "制作队列中无材料",
        ["STATUS_HAVE_ALL_MATERIALS"] = "材料齐全！",
        ["STATUS_INSTALL_PRICE_ADDON"] = "安装TSM/Auctionator以获取价格",

        -- Tab Tooltip Descriptions
        ["TIP_TAB_RECIPES"] = "查看所有房屋装饰配方",
        ["TIP_TAB_ACQUIRE"] = "商人购物指南 - 寻找购买装饰的地方",
        ["TIP_TAB_GOBLIN"] = "利润分析-找到最赚钱的制造物品",
        ["TIP_TAB_PREVIEW"] = "预览装饰物品",
        ["TIP_TAB_TRAINERS"] = "查找配方训练师",
        ["TIP_TAB_ALTS"] = "查看所有角色的专业数据",
        ["TIP_TAB_DATA"] = "查看采集历史和统计",
        ["TIP_TAB_CONFIG"] = "配置插件设置和小地图图标",

        -- Tooltips
        ["TIP_CLICK_TO_PREVIEW"] = "点击预览",
        ["TIP_CLICK_HEADERS_TO_SORT"] = "点击标题排序",
        ["TIP_CTRL_CLICK_ADD_QUEUE"] = "Ctrl+点击添加到队列",
        ["TIP_SHIFT_CLICK_SEARCH_AH"] = "Shift+点击搜索拍卖行",
        ["TIP_RIGHT_CLICK_OPTIONS"] = "右键点击显示选项",
        ["TIP_DRAG_TO_MOVE"] = "拖拽移动",
        ["TIP_CLOSE_MAIN_WINDOW"] = "关闭主窗口",
        ["TIP_OPEN_MAIN_WINDOW"] = "打开主窗口",
        ["TIP_SHOW_MATERIALS"] = "显示材料",
        ["TIP_HIDE_MATERIALS"] = "隐藏材料",
        ["TIP_MATERIALS_UNAVAILABLE"] = "材料不可用",
        ["TIP_END_FARMING_SESSION"] = "结束采集会话",
        ["TIP_ENDS_SESSION_TRACKING"] = "结束当前采集会话追踪",
        ["TIP_SELECT_ALL_COPY"] = "全选(Ctrl+A)后复制(Ctrl+C)",

        -- Export
        ["EXPORT_CRAFTING_TITLE"] = "导出制作历史",
        ["EXPORT_FARMING_TITLE"] = "导出采集历史",

        -- Crafting Queue
        ["QUEUE_NOT_KNOWN"] = "未学习",
        ["QUEUE_YOU"] = "（你）",
        ["QUEUE_NEEDS_TRAINING"] = "未学习",
        ["QUEUE_KNOWN_BY"] = "已学习：",

        -- Farming Tracker
        ["FARM_SESSION_ENDED"] = "采集会话已结束",
        ["FARM_COLLECTED"] = "已收集",
        ["FARM_THIS_SESSION"] = "本次会话",
        ["FARM_FIRST_TO_LAST"] = "（从头到尾）",

        -- Materials
        ["MAT_GATHERED"] = "采集",
        ["MAT_CRAFTED"] = "制作",
        ["MAT_VENDOR"] = "商人",
        ["MAT_DROPPED"] = "掉落",
        ["MAT_SPECIAL"] = "特殊",

        -- Material Source Categories
        ["MAT_FROM_VENDOR"] = "商人购买",
        ["MAT_FROM_GATHERING"] = "采集/拍卖行",
        ["MAT_FROM_CRAFTING"] = "制作/拍卖行",

        -- Acquisition Sources
        ["SOURCE_CRAFTED"] = "制作",
        ["SOURCE_LEARNED"] = "学习",

        -- Collection Status
        ["STATUS_COLLECTED"] = "已收集",
        ["STATUS_COLLECTION"] = "收藏",
        ["STATUS_UNCOLLECTED"] = "未收集",
        ["STATUS_NOT_COLLECTED"] = "未收集",
        ["TIP_MY_COLLECTION"] = "我的收藏",
        ["TIP_SHOW_ALL_DECOR"] = "显示目录中所有房屋装饰物品",
        ["TIP_NOT_JUST_CRAFTABLE"] = "（不仅是可制作的配方）。",
        ["TIP_UNCOLLECTED_ONLY"] = "仅未收集",
        ["TIP_HIDE_COLLECTED"] = "隐藏已收集的物品",

        -- Skill Thresholds Legend
        ["LEGEND_CAN_LEARN"] = "可学习装饰配方",
        ["LEGEND_BELOW_THRESHOLD"] = "低于阈值",
        ["LEGEND_NO_DECOR_RECIPES"] = "无装饰配方",

        -- Profession Window
        ["PROF_NOT_LEARNED"] = "未学习",

        -- Profession Names (for filters)
        ["PROF_ALL"] = "全部",
        ["PROF_ALCHEMY"] = "炼金术",
        ["PROF_BLACKSMITHING"] = "锻造",
        ["PROF_COOKING"] = "烹饪",
        ["PROF_ENCHANTING"] = "附魔",
        ["PROF_ENGINEERING"] = "工程学",
        ["PROF_INSCRIPTION"] = "铭文",
        ["PROF_JEWELCRAFTING"] = "珠宝加工",
        ["PROF_LEATHERWORKING"] = "制皮",
        ["PROF_TAILORING"] = "裁缝",
        ["PROF_HERBALISM"] = "草药学",
        ["PROF_MINING"] = "采矿",
        ["PROF_SKINNING"] = "剥皮",
        ["PROF_FISHING"] = "钓鱼",

        -- Misc
        ["MISC_UNKNOWN"] = "未知",
        ["MISC_ITEMS"] = "物品",
        ["MISC_PER_HOUR"] = "/小时",
        ["MISC_ESTIMATED"] = "预估：",
        ["MISC_EXPANSION"] = "资料片",
        ["MISC_IN_BAGS_BANK"] = "背包/银行",
        ["MISC_TOTAL_NEEDED"] = "总共需要",
        ["MISC_NEED_MORE"] = "还需要%s",
        ["MISC_HAVE_ENOUGH"] = "数量充足",
        ["MISC_LUMBER_MUST_BE_FARMED"] = "木料需要采集",
        ["MISC_NOT_NEEDED_FOR_QUEUE"] = "制作队列不需要",
        ["MISC_ALL_RECIPES_COLLECTED"] = "使用此材料的配方已全部收集",
    },

    -- Traditional Chinese
    -- Chinese Traditional - Complete
    ["zhTW"] = {
        -- Tab Names
        ["TAB_RECIPES"] = "配方",
        ["TAB_GOBLIN"] = "商人",
        ["TAB_PREVIEW"] = "預覽",
        ["TAB_TRAINERS"] = "訓練師",
        ["TAB_ALTS"] = "角色",
        ["TAB_DATA"] = "資料",
        ["TAB_CONFIG"] = "設定",

        -- Panel Headers
        ["HEADER_CRAFTING_QUEUE"] = "製作佇列",
        ["HEADER_SHOPPING_LIST"] = "購物清單",
        ["HEADER_MATERIALS"] = "材料",
        ["HEADER_REQUIRED_MATERIALS"] = "所需材料",
        ["HEADER_RAW_MATERIALS"] = "原材料",
        ["HEADER_DIRECT_MATERIALS"] = "直接材料",
        ["HEADER_LUMBER"] = "木材",
        ["HEADER_TRACKED_REAGENTS"] = "追蹤材料",
        ["HEADER_CRAFTING_HISTORY"] = "裝飾製作/取得歷史",
        ["HEADER_FARMING_HISTORY"] = "採集歷史",
        ["HEADER_ACCOUNT_SUMMARY"] = "帳戶概覽",
        ["HEADER_PROFIT_ANALYSIS"] = "利潤分析",

        -- Column Headers
        ["COL_TYPE"] = "類型",
        ["COL_NEEDED"] = "需要",
        ["COL_IN_STOCK"] = "庫存",
        ["COL_ALL"] = "全部",
        ["COL_TIME"] = "時間",
        ["COL_ITEM"] = "物品",
        ["COL_COST"] = "成本",
        ["COL_SOURCE"] = "來源",
        ["COL_CHARACTER"] = "角色",
        ["COL_COLLECTED"] = "已收集",
        ["COL_RATE"] = "效率",
        ["COL_DURATION"] = "時長",
        ["COL_ZONE"] = "區域",
        ["COL_SELL_PRICE"] = "售價",
        ["COL_MAT_COST"] = "材料成本",
        ["COL_PROFIT"] = "利潤",
        ["COL_MARGIN"] = "利潤率",
        ["COL_LUMBER_VALUE"] = "$/木材",
        ["COL_TOTAL_LUMBER"] = "木材總計",
        ["COL_SALE_RATE"] = "出售率",
        ["COL_MARKET_VALUE"] = "市場價",
        ["COL_AH_QTY"] = "# 拍賣",

        -- Buttons
        ["BTN_CLEAR"] = "清除",
        ["BTN_CLOSE"] = "關閉",
        ["BTN_EXPORT"] = "匯出",
        ["BTN_REFRESH"] = "重新整理",
        ["BTN_ALL"] = "全部",
        ["BTN_READY"] = "就緒",
        ["BTN_DIRECT"] = "直接",
        ["BTN_RAW"] = "原料",
        ["BTN_FILTER_DECOR"] = "篩選裝飾",
        ["BTN_DECOR_GUIDE"] = "裝飾指南",
        ["BTN_END_SESSION"] = "結束工作階段",
        ["BTN_STOP_TRACKING"] = "停止追蹤",
        ["BTN_SCAN_AH"] = "掃描拍賣行",
        ["BTN_ADD_TO_AUCTIONATOR"] = "添加到拍賣助手",
        ["BTN_ADD_ALL_AUCTIONATOR"] = "全部添加到拍賣助手",
        ["BTN_ADD_ALL_AUCTIONATOR_RAW"] = "添加原材料到拍賣助手",
        ["BTN_ADD_TO_TSM"] = "添加到TSM購物",
        ["BTN_MY_COLLECTION"] = "我的收藏",

        -- Checkboxes / Toggles
        ["CHECK_UNCOLLECTED_ONLY"] = "未收集",
        ["CHECK_INCLUDE_MATS"] = "+材料",
        ["CHECK_HIDE_UNPROFITABLE"] = "隱藏無利潤",
        ["CHECK_ONLY_KNOWN"] = "僅已學",
        ["CHECK_SHOW_PROFESSION_BUTTONS"] = "顯示專業視窗按鈕",

        -- Locale Override
        ["LOCALE_OVERRIDE"] = "語言設定",
        ["LOCALE_AUTO"] = "自動（客戶端）",
        ["LOCALE_HINT"] = "需要/reload生效",
        ["LOCALE_NOTE"] = "注意：僅影響插件介面文字。配方和物品名稱取決於您的客戶端語言。",
        ["TRANSLATE_NOTE"] = "幫助翻譯！請通過下方Discord提交修正。",

        -- Filter Labels
        ["FILTER_PROFESSION"] = "專業",
        ["FILTER_EXPANSION"] = "資料片",
        ["FILTER_ALL_PROFESSIONS"] = "所有專業",
        ["FILTER_ALL_EXPANSIONS"] = "所有資料片",
        ["FILTER_TAGS"] = "標籤",
        ["FILTER_CATEGORY"] = "篩選",

        -- Preview Tab Categories
        ["CAT_ALL"] = "全部",
        ["CAT_CRAFTED"] = "可製作",
        ["CAT_SIZES"] = "尺寸",
        ["CAT_FACTIONS"] = "陣營",
        ["CAT_STYLES"] = "風格",
        ["CAT_EXPANSIONS"] = "資料片",
        ["CAT_OTHER"] = "其他",

        -- Status Messages
        ["STATUS_LOADING"] = "載入中...",
        ["STATUS_NO_DATA"] = "無可用資料",
        ["STATUS_NO_RECIPES"] = "未找到配方",
        ["STATUS_NO_HISTORY"] = "暫無製作/取得歷史。",
        ["STATUS_NO_FARMING_HISTORY"] = "暫無採集紀錄。",
        ["STATUS_NO_CHARACTER_DATA"] = "暫無角色資料。請開啟專業視窗以掃描技能等級。",
        ["STATUS_ALL_LUMBER_COLLECTED"] = "所有木材已收集！",
        ["STATUS_NO_MATERIALS_QUEUED"] = "製作佇列中無材料",
        ["STATUS_HAVE_ALL_MATERIALS"] = "材料齊全！",
        ["STATUS_INSTALL_PRICE_ADDON"] = "安裝TSM/拍賣助手以獲取價格",

        -- Tab Tooltip Descriptions
        ["TIP_TAB_RECIPES"] = "查看所有房屋裝飾配方",
        ["TIP_TAB_GOBLIN"] = "利潤分析 - 找到最賺錢的製作",
        ["TIP_TAB_PREVIEW"] = "預覽裝飾物品",
        ["TIP_TAB_TRAINERS"] = "查找配方訓練師",
        ["TIP_TAB_ALTS"] = "查看所有角色的專業資料",
        ["TIP_TAB_DATA"] = "查看採集歷史和統計",
        ["TIP_TAB_CONFIG"] = "設定插件選項和小地圖圖示",

        -- Tooltips
        ["TIP_CLICK_TO_PREVIEW"] = "點擊預覽",
        ["TIP_CLICK_HEADERS_TO_SORT"] = "點擊標題排序",
        ["TIP_CTRL_CLICK_ADD_QUEUE"] = "Ctrl+點擊添加到佇列",
        ["TIP_SHIFT_CLICK_SEARCH_AH"] = "Shift+點擊搜尋拍賣行",
        ["TIP_RIGHT_CLICK_OPTIONS"] = "右鍵點擊顯示選項",
        ["TIP_DRAG_TO_MOVE"] = "拖曳移動",
        ["TIP_CLOSE_MAIN_WINDOW"] = "關閉主視窗",
        ["TIP_OPEN_MAIN_WINDOW"] = "開啟主視窗",
        ["TIP_SHOW_MATERIALS"] = "顯示材料",
        ["TIP_HIDE_MATERIALS"] = "隱藏材料",
        ["TIP_MATERIALS_UNAVAILABLE"] = "材料不可用",
        ["TIP_END_FARMING_SESSION"] = "結束採集工作階段",
        ["TIP_ENDS_SESSION_TRACKING"] = "結束當前採集工作階段追蹤",
        ["TIP_SELECT_ALL_COPY"] = "全選(Ctrl+A)後複製(Ctrl+C)",

        -- Export
        ["EXPORT_CRAFTING_TITLE"] = "匯出製作歷史",
        ["EXPORT_FARMING_TITLE"] = "匯出採集歷史",

        -- Crafting Queue
        ["QUEUE_NOT_KNOWN"] = "未學習",
        ["QUEUE_YOU"] = "（你）",
        ["QUEUE_NEEDS_TRAINING"] = "未學習",
        ["QUEUE_KNOWN_BY"] = "已學習：",

        -- Farming Tracker
        ["FARM_SESSION_ENDED"] = "採集工作階段已結束",
        ["FARM_COLLECTED"] = "已收集",
        ["FARM_THIS_SESSION"] = "本次工作階段",
        ["FARM_FIRST_TO_LAST"] = "（從頭到尾）",

        -- Materials
        ["MAT_GATHERED"] = "採集",
        ["MAT_CRAFTED"] = "製作",
        ["MAT_VENDOR"] = "商人",
        ["MAT_DROPPED"] = "掉落",
        ["MAT_SPECIAL"] = "特殊",

        -- Material Source Categories
        ["MAT_FROM_VENDOR"] = "商人購買",
        ["MAT_FROM_GATHERING"] = "採集 / 拍賣行",
        ["MAT_FROM_CRAFTING"] = "製作 / 拍賣行",

        -- Acquisition Sources
        ["SOURCE_CRAFTED"] = "製作",
        ["SOURCE_LEARNED"] = "學習",

        -- Collection Status
        ["STATUS_COLLECTED"] = "已收集",
        ["STATUS_COLLECTION"] = "收藏",
        ["STATUS_UNCOLLECTED"] = "未收集",
        ["STATUS_NOT_COLLECTED"] = "未收集",
        ["TIP_MY_COLLECTION"] = "我的收藏",
        ["TIP_SHOW_ALL_DECOR"] = "顯示目錄中所有房屋裝飾物品",
        ["TIP_NOT_JUST_CRAFTABLE"] = "（不僅是可製作的配方）。",
        ["TIP_UNCOLLECTED_ONLY"] = "僅未收集",
        ["TIP_HIDE_COLLECTED"] = "隱藏已收集的物品",

        -- Skill Thresholds Legend
        ["LEGEND_CAN_LEARN"] = "可學習裝飾配方",
        ["LEGEND_BELOW_THRESHOLD"] = "低於門檻",
        ["LEGEND_NO_DECOR_RECIPES"] = "無裝飾配方",

        -- Profession Window
        ["PROF_NOT_LEARNED"] = "未學習",

        -- Profession Names (for filters)
        ["PROF_ALL"] = "全部",
        ["PROF_ALCHEMY"] = "煉金術",
        ["PROF_BLACKSMITHING"] = "鍛造",
        ["PROF_COOKING"] = "烹飪",
        ["PROF_ENCHANTING"] = "附魔",
        ["PROF_ENGINEERING"] = "工程學",
        ["PROF_INSCRIPTION"] = "銘文",
        ["PROF_JEWELCRAFTING"] = "珠寶設計",
        ["PROF_LEATHERWORKING"] = "製皮",
        ["PROF_TAILORING"] = "裁縫",
        ["PROF_HERBALISM"] = "草藥學",
        ["PROF_MINING"] = "採礦",
        ["PROF_SKINNING"] = "剝皮",
        ["PROF_FISHING"] = "釣魚",

        -- Misc
        ["MISC_UNKNOWN"] = "未知",
        ["MISC_ITEMS"] = "物品",
        ["MISC_PER_HOUR"] = "/小時",
        ["MISC_ESTIMATED"] = "預估：",
        ["MISC_EXPANSION"] = "資料片",
        ["MISC_IN_BAGS_BANK"] = "背包/銀行",
        ["MISC_TOTAL_NEEDED"] = "總共需要",
        ["MISC_NEED_MORE"] = "還需要%s",
        ["MISC_HAVE_ENOUGH"] = "數量充足",
        ["MISC_LUMBER_MUST_BE_FARMED"] = "木材需要採集",
        ["MISC_NOT_NEEDED_FOR_QUEUE"] = "製作佇列不需要",
        ["MISC_ALL_RECIPES_COLLECTED"] = "使用此材料的配方已全部收集",
    },
}

-- ============================================================================
-- BUILD LOCALIZATION TABLE
-- ============================================================================

-- Function to apply locale (can be called after SavedVariables load for override)
local function ApplyLocale(targetLocale)
    -- Reset to English base
    for key, value in pairs(ENGLISH) do
        L[key] = value
    end

    -- Apply locale-specific overrides
    if LOCALES[targetLocale] then
        for key, value in pairs(LOCALES[targetLocale]) do
            L[key] = value
        end
    end

    -- Handle fallbacks for regional variants
    local fallbacks = {
        ["esMX"] = "esES",  -- Mexican Spanish -> Spain Spanish
        ["ptPT"] = "ptBR",  -- Portugal Portuguese -> Brazil Portuguese
    }
    if fallbacks[targetLocale] and LOCALES[fallbacks[targetLocale]] then
        for key, value in pairs(LOCALES[fallbacks[targetLocale]]) do
            if not L[key] or L[key] == ENGLISH[key] then
                L[key] = value
            end
        end
    end
end

-- Initial build with client locale
local clientLocale = GetLocale()
ApplyLocale(clientLocale)

-- ============================================================================
-- ACCESSOR FUNCTION
-- ============================================================================

-- Get a localized string with optional fallback
-- Usage: L["KEY"] or HDG_L("KEY") or HDG_L("KEY", "fallback")
function L:Get(key, fallback)
    return self[key] or fallback or key
end

-- Rebuild localization with override (call after SavedVariables load)
function L:ApplyOverride()
    local override = HDG_Settings and HDG_Settings.localeOverride
    local targetLocale = (override and override ~= "auto") and override or GetLocale()
    ApplyLocale(targetLocale)
end

-- Get current effective locale
function L:GetEffectiveLocale()
    local override = HDG_Settings and HDG_Settings.localeOverride
    return (override and override ~= "auto") and override or GetLocale()
end

-- Get list of available locales for dropdown
function L:GetAvailableLocales()
    local locales = {
        { code = "auto", name = ENGLISH["LOCALE_AUTO"] or "Auto (Client)" },
        { code = "enUS", name = "English" },
        { code = "esES", name = "Español (ES)" },
        { code = "esMX", name = "Español (MX)" },
        { code = "ptBR", name = "Português (BR)" },
        { code = "deDE", name = "Deutsch" },
        { code = "frFR", name = "Français" },
        { code = "itIT", name = "Italiano" },
        { code = "ruRU", name = "Русский" },
        { code = "koKR", name = "한국어" },
        { code = "zhCN", name = "简体中文" },
        { code = "zhTW", name = "繁體中文" },
    }
    return locales
end

-- ============================================================================
-- EXPORT
-- ============================================================================

-- Make available globally (use _G explicitly for WoW addon environment)
_G.HDG_L = L
_G.HDG_Localization = L
