local locale = GetLocale and GetLocale() or "enUS"

local translations = {
  enUS = {
    resetDaily = "Daily",
    resetWeekly = "Weekly",
    resetRepeatable = "Repeatable",
    resetEvent = "Event",
    resetSpecial = "Special",
    resetCatalog = "Catalog",
    modeToday = "Today",
    modeWeekly = "Weekly",
    modeAll = "All",
    modeFavorites = "Favorites",
    modeAchievements = "Achievements",
    modeSources = "Sources",
    modeReputation = "Reputation",
    modeEvents = "Events",
    modeRoutes = "Routes",
    modeMissingEasy = "Easy missing",
    optionAll = "All",
    sourceDungeon = "Dungeon",
    sourceRaid = "Raid",
    sourceWorldBoss = "World boss",
    sourceWorldQuest = "World quest",
    sourceDailyQuest = "Daily quest",
    sourceRare = "Rare",
    sourceAchievement = "Achievement",
    sourceDelves = "Delves",
    sourceVendor = "Vendor",
    sourceQuest = "Quest",
    sourceReputation = "Reputation",
    sourceEvent = "Event",
    sourceProfession = "Profession",
    sourceSecret = "Secret",
    sourceOther = "Other",
    unknownCharacter = "Character",
    unknownRealm = "Realm",
    unknownAchievement = "Unknown achievement",
    achievementNameFallback = "Achievement %s",
    favoriteAdded = "Added to favorites: %s",
    favoriteRemoved = "Removed from favorites: %s",
    achievementUnknown = "I could not identify that achievement.",
    achievementOpenFallback = "I opened the achievements window, but could not select the achievement automatically.",
    achievementOpenUnavailable = "Your WoW version does not expose a function for addons to open achievements.",
    noAchievementsConfigured = "There are no achievements configured in Data.lua yet.",
    noMountAchievements = "No mount achievements in your configured list.",
    noSourceMounts = "No mounts for that source.",
    noRouteMounts = "No farming routes configured for this view.",
    noEasyMissingMounts = "No easy missing mounts found with these filters.",
    noUnavailableMounts = "No unavailable mounts found with these filters.",
    noFavorites = "You have not marked favorites yet. Use the Fav button on mounts or achievements.",
    noPendingMounts = "No pending mounts in this view.",
    summaryToday = "Today: %d pending, %d attempted.",
    summaryWeekly = "Weekly: %d pending, %d attempted.",
    summaryAchievements = "Mount achievements: %d configured.",
    newMountTitle = "NEW MOUNT!",
    newMountAttempts = "Attempts: %s",
    newMountTimeInvested = "Time invested: %s",
    newMountCollectionTotal = "Total collection: %s",
    newMountUnknown = "no data",
    newMountTimeDays = "%dd %dh",
    newMountTimeHours = "%dh %dm",
    newMountTimeMinutes = "%dm",
    filterExpansion = "Expansion",
    filterType = "Type",
    filterSource = "Source",
    filterSearch = "Search",
    filterCollection = "Status",
    collectionMissing = "Missing",
    collectionCollected = "Collected",
    collectionUnavailable = "Unavailable",
    collectionAll = "All",
    searchNone = "no search",
    sourceWindowSummary = "Mounts by source: %d%s",
    achievementsSummary = "Mount achievements: %d%s",
    favoritesSummary = "Pending favorites: %d | Character: %s%s",
    missingEasySummary = "Easy missing mounts: %d%s",
    unavailableSummary = "Unavailable mounts: %d%s",
    mountsSummary = "Pending: %d | Attempted: %d | Character: %s%s",
    catalogLoading = "catalog loading",
    unknownReset = "No reset",
    unknownSource = "Unknown source",
    unknownZone = "Unknown zone",
    unknownBoss = "Unknown boss/NPC",
    statusCollected = "Collected",
    statusAttempted = "Attempted",
    statusPending = "Pending",
    statusUnavailable = "Unavailable",
    statusCompleted = "Completed",
    buttonDone = "Done",
    buttonClear = "Clear",
    buttonFavorite = "Fav",
    buttonUnfavorite = "Remove",
    buttonView = "View",
    buttonRefresh = "Refresh",
    buttonOptions = "Options",
    buttonClose = "Close",
    buttonFilters = "Filters",
    buttonHideFilters = "Hide filters",
    buttonActionDoneHint = "Mark this mount as attempted for this character.",
    buttonActionClearHint = "Clear today's attempt for this character.",
    buttonActionFavoriteHint = "Add or remove this item from favorites.",
    buttonActionViewHint = "Open the related achievement.",
    missingEasyButton = "What am I missing?",
    buttonClearFilters = "Clear",
    buttonPrevious = "Previous",
    buttonNext = "Next",
    searchLabel = "Search:",
    previewTitle = "Preview",
    previewMount = "Mount preview",
    previewHover = "Hover over a mount.",
    previewNoModel = "No model",
    previewNoJournalModel = "Model unavailable in the journal.",
    previewNoAchievementModel = "This achievement has no mount model available.",
    previewNoResults = "No results to preview.",
    previewNoPageModel = "There is no mount model available on this page.",
    previewClickToLoad = "Click a mount to load the model and complete guide.",
    previewEmpty = "Nothing to show.",
    previewHowToGet = "How to get",
    previewFullGuide = "Complete guide",
    previewSectionMethod = "Method",
    previewSectionLocation = "Location",
    previewSectionRequirements = "Requirements",
    previewSectionReward = "Reward",
    previewSectionNotes = "Notes",
    reward = "Reward",
    missing = "Missing",
    methodLabel = "Method",
    professionLabel = "Profession",
    bestCharacterLabel = "Best character",
    zoneLabel = "Zone",
    coordinatesLabel = "Coordinates",
    respawnLabel = "Respawn",
    macroLabel = "Macro",
    tomtomLabel = "TomTom",
    guideNotesLabel = "Notes",
    buttonWaypoint = "Waypoint",
    requirementMetMarker = "[OK]",
    requirementMissingMarker = "[NO]",
    requirementNeededMarker = "-",
    waypointUnavailable = "No waypoint data available.",
    waypointAdded = "Waypoint sent to TomTom: %s",
    waypointCommand = "TomTom command: %s",
    weeklyLockoutGuide = "Weekly lockout",
    dailyLockoutGuide = "Daily lockout",
    repeatableInstanceGuide = "Repeatable; instance cap applies",
    variableRespawnGuide = "Variable respawn",
    vendorLabel = "Vendor",
    eventLabel = "Event",
    costLabel = "Cost",
    requiresLabel = "Requires",
    dropChanceLabel = "Drop approx.",
    routeLabel = "Route",
    unavailableLabel = "Unavailable",
    unavailableReasonRemoved = "No longer obtainable in the current game.",
    unavailableReasonTCG = "Trading Card Game reward; not obtainable through current gameplay.",
    unavailableReasonCollector = "Collector's edition or retired promotion.",
    unavailableReasonRecruit = "Retired Recruit-A-Friend reward.",
    unavailableReasonExpiredEvent = "Limited event or promotion already ended.",
    unavailableReasonPromotion = "External or limited promotion; not obtainable through current gameplay.",
    unavailableReasonShop = "Shop or Battle.net reward; excluded from current gameplay collection totals.",
    unavailableReasonChallengeMode = "Challenge Mode reward removed after that expansion.",
    unavailableReasonAchievementRemoved = "Time-limited achievement reward no longer obtainable.",
    unavailableReasonSeason = "Seasonal PvP reward from a past season.",
    unavailableReasonPreorder = "Pre-purchase or preorder reward no longer available.",
    journalSourceLabel = "Journal source",
    journalCatalogNote = "Added automatically from the mount journal.",
    weeklyResetTimer = "Weekly reset: %s",
    durationDaysHours = "%dd %dh",
    durationHoursMinutes = "%dh %dm",
    durationMinutes = "%dm",
    page = "Page %d/%d",
    listRange = "%d-%d / %d",
    title = "MountAtlas - %s",
    minimapLeft = "Left click: open/close",
    minimapRight = "Right click: open achievements",
    minimapDrag = "Drag: move",
    optionsTitle = "Options",
    optionsSubtitle = "Tune the addon without adding extra background work.",
    optionsSectionCatalog = "Catalog",
    optionsSectionAlerts = "Alerts",
    optionsSectionDailyRoute = "Daily route",
    optionShowInactiveEvents = "Show inactive event mounts in catalog filters",
    optionNewMountAlerts = "Show new mount celebration",
    optionNewMountSound = "Play sound on new mount",
    optionNewMountConfetti = "Show lightweight confetti on new mount",
    optionDailyRouteSkipAttempted = "Daily route skips mounts already attempted today",
    optionDailyRouteAutoWaypoint = "Daily route sends TomTom waypoint when advancing",
    dailyRouteStart = "Start daily route",
    dailyRouteRestart = "Restart route",
    dailyRouteIdle = "Route ready.",
    dailyRouteStatus = "Route: %d/%d %s",
    dailyRouteNext = "Next",
    dailyRouteStop = "Stop",
    dailyRouteStep = "Route %d/%d: %s",
    dailyRouteComplete = "Daily route complete.",
    dailyRouteStopped = "Daily route stopped.",
    dailyRouteNoSteps = "No daily route steps available right now.",
    dailyRouteNoWaypoint = "Selected without waypoint: %s",
    helpCommands = "Commands: /mountatlas, /ma, /azer legacy, /mountatlas today, /mountatlas weekly, /mountatlas all, /mountatlas favorites, /mountatlas achievements, /mountatlas sources, /mountatlas reputation, /mountatlas events, /mountatlas routes, /mountatlas missing",
    helpShortcut = "Shortcut: minimap button to open/close the window",
    helpMinimap = "Minimap: /mountatlas minimap or /mountatlasmini restores the button",
    helpSummary = "Summary: /mountatlas summary",
    helpFilters = "Filters: /mountatlas expansion tww, /mountatlas source vendor, /mountatlas status missing, /mountatlas search name, /mountatlas clear",
    helpRoutes = "Routes: /mountatlas routes shows mounts with a configured farming route",
    helpOptions = "Options: /mountatlas options opens addon settings",
    helpDailyRoute = "Daily route: /mountatlas daily route, /mountatlas next route, /mountatlas stop route",
    helpDone = "Mark attempt: /mountatlas done name-or-id",
    helpClear = "Clear attempt: /mountatlas clear name-or-id",
    helpFavorite = "Add/remove favorite: /mountatlas fav name-or-id",
    helpAchievement = "Open achievement: /mountatlas achievement name-or-id",
    helpNewMountAlert = "Test new mount alert: /mountatlas alert name-or-id",
    helpAchievementTab = "Achievements: the tab shows all configured achievements that reward a mount",
    filtersCleared = "Filters cleared.",
    expansionFilterSet = "Expansion filter: %s",
    expansionNotFound = "I could not find that expansion. Examples: tww, dragonflight, legion, pandaria.",
    sourceFilterSet = "Type filter: %s",
    collectionFilterSet = "Status filter: %s",
    sourceNotFound = "I could not find that type. Examples: raid, dungeon, rare, achievement, delves.",
    collectionNotFound = "I could not find that status. Examples: missing, collected, all.",
    searchSet = "Search: %s",
    searchCleared = "Search cleared.",
    mountAttempted = "Marked as attempted: %s",
    mountAttemptCleared = "Attempt cleared: %s",
    mountNotFound = "I could not find that mount. Try the name or mountID.",
    mountOrAchievementNotFound = "I could not find that mount or achievement. Try the name or ID.",
    achievementNotFound = "I could not find that achievement. Try the name or ID.",
    achievementCommandHelp = "Use /mountatlas achievement name-or-id. Example: /mountatlas achievement 2136",
    achievementTabAll = "The achievements tab now shows all configured achievements that reward a mount.",
    loaded = "Loaded. Use /mountatlas, /ma, or the minimap button to open the window.",
    dbUnavailable = "Saved database unavailable. The /mountatlas command was registered.",
    minimapUnavailable = "Minimap button unavailable for now. Use /mountatlas to open the window.",
    minimapRestored = "Minimap button restored.",
    minimapError = "Minimap error: %s",
    summaryUnavailable = "Summary unavailable for now. Use /mountatlas summary after entering the game.",
    filtersExpansionLine = "Expansion filter: %s",
    filtersSourceLine = "Type filter: %s",
    filtersCollectionLine = "Status filter: %s",
    filtersSearchLine = "Search: %s",
    addonSubtitle = "Your mount collection",
    progressTitle = "GENERAL PROGRESS",
    priorityLabel = "SMART PRIORITY",
    sidebarHint = "Use tabs and filters to focus today's farm.",
    priorityTodayTitle = "Today you should do:",
    priorityWeeklyTitle = "This week you should do:",
    priorityReputationTitle = "Reputation route:",
    priorityEventsTitle = "Priority events:",
    priorityRoutesTitle = "Optimized route:",
    missingEasyPriorityTitle = "Easy wins:",
    priorityMinutes = "%d min",
    priorityEventReason = "Event: %s",
    priorityGainReason = "+%s",
    priorityRareReason = "Rare | %s",
    priorityPotential = "Potential gain: +%d mounts",
    priorityPotentialDetailed = "+%d possible mounts | ~%d min",
    priorityNoItems = "No pending priorities.",
    prioritySelectHint = "Click to select this mount.",
    easyTime = "Time: %d min",
    easyCost = "Cost: %s",
    easyBuyOnly = "Just buy",
    easyReputation = "Reputation purchase",
    easyQuest = "Quest reward",
    easyActiveEvent = "Active event",
    altCurrentCharacter = "(current)",
    altNoSnapshots = "Log into your alts once to compare progress.",
    altReasonRenown = "Renown %d/%d",
    altReasonReputation = "Reputation %d/%d",
    altReasonProfession = "Profession: %s",
    altReasonProfessionMissing = "Needs profession: %s",
    altReasonAchievement = "Achievement %d%%",
    altReasonAchievementDone = "Achievement done",
    altReasonProgress = "Quests %d/%d",
    altReasonProgressDone = "Quest chain done",
    altReasonNamedProgress = "%s %d/%d",
    altReasonNamedProgressDone = "%s done",
    expansionProgressTitle = "Progress by expansion",
    expansionProgressLine = "%s: %d/%d (%d%%)",
    expansionProgressHint = "%s",
    expansionProgressComplete = "All expansions complete",
    expansionProgressTooltipHint = "Expansion progress",
    statTotalMounts = "TOTAL MOUNTS",
    statCollected = "COLLECTED",
    statMissing = "MISSING",
    statAttempted = "ATTEMPTED",
    statFavorites = "FAVORITES",
    statRegistered = "Registered",
    statCollectedSub = "In journal",
    statMissingSub = "To collect",
    statCurrentView = "Current view",
    statMarked = "Marked"
  },
  esMX = {
    resetDaily = "Diario",
    resetWeekly = "Semanal",
    resetRepeatable = "Repetible",
    resetEvent = "Evento",
    resetSpecial = "Especial",
    resetCatalog = "Catalogo",
    modeToday = "Hoy",
    modeWeekly = "Semanal",
    modeAll = "Todas",
    modeFavorites = "Favoritos",
    modeAchievements = "Logros",
    modeSources = "Fuentes",
    modeReputation = "Reputacion",
    modeEvents = "Eventos",
    modeRoutes = "Rutas",
    modeMissingEasy = "Faltantes faciles",
    optionAll = "Todas",
    sourceDungeon = "Calabozo",
    sourceRaid = "Raid",
    sourceWorldBoss = "World boss",
    sourceWorldQuest = "World quest",
    sourceDailyQuest = "Mision diaria",
    sourceRare = "Rare",
    sourceAchievement = "Logro",
    sourceDelves = "Delves",
    sourceVendor = "Vendedor",
    sourceQuest = "Quest",
    sourceReputation = "Reputacion",
    sourceEvent = "Evento",
    sourceProfession = "Profesion",
    sourceSecret = "Secreto",
    sourceOther = "Otros",
    unknownCharacter = "Personaje",
    unknownRealm = "Reino",
    unknownAchievement = "Logro desconocido",
    achievementNameFallback = "Logro %s",
    favoriteAdded = "Agregado a favoritos: %s",
    favoriteRemoved = "Quitado de favoritos: %s",
    achievementUnknown = "No pude identificar ese logro.",
    achievementOpenFallback = "Abri la ventana de logros, pero no pude seleccionar automaticamente el logro.",
    achievementOpenUnavailable = "Tu version de WoW no expone una funcion para abrir logros desde addons.",
    noAchievementsConfigured = "Todavia no hay logros configurados en Data.lua.",
    noMountAchievements = "No hay logros con montura en tu lista configurada.",
    noSourceMounts = "No hay monturas para esa fuente.",
    noRouteMounts = "No hay rutas de farmeo configuradas en esta vista.",
    noEasyMissingMounts = "No encontre monturas faciles con estos filtros.",
    noUnavailableMounts = "No encontre monturas no disponibles con estos filtros.",
    noFavorites = "Todavia no marcaste favoritos. Usa el boton Fav en monturas o logros.",
    noPendingMounts = "No hay monturas pendientes en esta vista.",
    summaryToday = "Hoy: %d pendientes, %d intentadas.",
    summaryWeekly = "Semanal: %d pendientes, %d intentadas.",
    summaryAchievements = "Logros con montura: %d configurados.",
    newMountTitle = "NUEVA MONTURA!",
    newMountAttempts = "Intentos: %s",
    newMountTimeInvested = "Tiempo invertido: %s",
    newMountCollectionTotal = "Coleccion total: %s",
    newMountUnknown = "sin datos",
    newMountTimeDays = "%dd %dh",
    newMountTimeHours = "%dh %dm",
    newMountTimeMinutes = "%dm",
    filterExpansion = "Expansion",
    filterType = "Tipo",
    filterSource = "Fuente",
    filterSearch = "Buscar",
    filterCollection = "Estado",
    collectionMissing = "Faltantes",
    collectionCollected = "Obtenidas",
    collectionUnavailable = "No disponibles",
    collectionAll = "Todas",
    searchNone = "sin busqueda",
    sourceWindowSummary = "Monturas por fuente: %d%s",
    achievementsSummary = "Logros con montura: %d%s",
    favoritesSummary = "Favoritos pendientes: %d | Personaje: %s%s",
    missingEasySummary = "Monturas faciles por conseguir: %d%s",
    unavailableSummary = "Monturas no disponibles: %d%s",
    mountsSummary = "Pendientes: %d | Intentados: %d | Personaje: %s%s",
    catalogLoading = "catalogo cargando",
    unknownReset = "Sin reset",
    unknownSource = "Fuente desconocida",
    unknownZone = "Zona desconocida",
    unknownBoss = "Boss/NPC desconocido",
    statusCollected = "Obtenida",
    statusAttempted = "Intentado",
    statusPending = "Pendiente",
    statusUnavailable = "No disponible",
    statusCompleted = "Completado",
    buttonDone = "Hecho",
    buttonClear = "Borrar",
    buttonFavorite = "Fav",
    buttonUnfavorite = "Quitar",
    buttonView = "Ver",
    buttonRefresh = "Actualizar",
    buttonOptions = "Opciones",
    buttonClose = "Cerrar",
    missingEasyButton = "Que me hace falta?",
    buttonClearFilters = "Limpiar",
    buttonPrevious = "Anterior",
    buttonNext = "Siguiente",
    searchLabel = "Buscar:",
    previewTitle = "Vista previa",
    previewMount = "Vista de montura",
    previewHover = "Pasa el cursor por una montura.",
    previewNoModel = "Sin modelo",
    previewNoJournalModel = "Modelo no disponible en el diario.",
    previewNoAchievementModel = "Este logro no tiene modelo de montura disponible.",
    previewNoResults = "Sin resultados para previsualizar.",
    previewNoPageModel = "No hay modelo de montura disponible en esta pagina.",
    previewEmpty = "Nada para mostrar.",
    previewHowToGet = "Como obtener",
    previewFullGuide = "Guia completa",
    reward = "Recompensa",
    missing = "Falta",
    methodLabel = "Metodo",
    professionLabel = "Profesion",
    bestCharacterLabel = "Mejor personaje",
    zoneLabel = "Zona",
    coordinatesLabel = "Coordenadas",
    respawnLabel = "Respawn",
    macroLabel = "Macro",
    tomtomLabel = "TomTom",
    guideNotesLabel = "Notas",
    buttonWaypoint = "Waypoint",
    requirementMetMarker = "[OK]",
    requirementMissingMarker = "[NO]",
    requirementNeededMarker = "-",
    waypointUnavailable = "No hay datos de waypoint disponibles.",
    waypointAdded = "Waypoint enviado a TomTom: %s",
    waypointCommand = "Comando TomTom: %s",
    weeklyLockoutGuide = "Bloqueo semanal",
    dailyLockoutGuide = "Bloqueo diario",
    repeatableInstanceGuide = "Repetible; aplica limite de instancias",
    variableRespawnGuide = "Respawn variable",
    vendorLabel = "Vendedor",
    eventLabel = "Evento",
    costLabel = "Costo",
    requiresLabel = "Requiere",
    dropChanceLabel = "Drop aprox.",
    routeLabel = "Ruta",
    unavailableLabel = "No disponible",
    unavailableReasonRemoved = "Ya no se puede obtener en el juego actual.",
    unavailableReasonTCG = "Recompensa del juego de cartas; no se obtiene jugando actualmente.",
    unavailableReasonCollector = "Edicion de coleccionista o promocion retirada.",
    unavailableReasonRecruit = "Recompensa retirada de Recluta a un amigo.",
    unavailableReasonExpiredEvent = "Evento o promocion limitada ya finalizada.",
    unavailableReasonPromotion = "Promocion externa o limitada; no se obtiene jugando actualmente.",
    unavailableReasonShop = "Recompensa de tienda o Battle.net; excluida del total obtenible jugando.",
    unavailableReasonChallengeMode = "Recompensa de modo desafio retirada al terminar la expansion.",
    unavailableReasonAchievementRemoved = "Recompensa de logro temporal ya no obtenible.",
    unavailableReasonSeason = "Recompensa PvP de una temporada pasada.",
    unavailableReasonPreorder = "Recompensa de precompra ya no disponible.",
    journalSourceLabel = "Fuente del diario",
    journalCatalogNote = "Agregada automaticamente desde el diario de monturas.",
    weeklyResetTimer = "Reinicio semanal: %s",
    durationDaysHours = "%dd %dh",
    durationHoursMinutes = "%dh %dm",
    durationMinutes = "%dm",
    page = "Pagina %d/%d",
    listRange = "%d-%d / %d",
    title = "MountAtlas - %s",
    minimapLeft = "Click izquierdo: abrir/cerrar",
    minimapRight = "Click derecho: abrir logros",
    minimapDrag = "Arrastra: mover",
    optionsTitle = "Opciones",
    optionsSubtitle = "Ajusta el addon sin agregar trabajo pesado en segundo plano.",
    optionsSectionCatalog = "Catalogo",
    optionsSectionAlerts = "Alertas",
    optionsSectionDailyRoute = "Ruta diaria",
    optionShowInactiveEvents = "Mostrar monturas de eventos inactivos en filtros",
    optionNewMountAlerts = "Mostrar celebracion de nueva montura",
    optionNewMountSound = "Reproducir sonido al conseguir montura",
    optionNewMountConfetti = "Mostrar confeti ligero al conseguir montura",
    optionDailyRouteSkipAttempted = "La ruta diaria omite monturas ya intentadas hoy",
    optionDailyRouteAutoWaypoint = "La ruta diaria envia waypoint a TomTom al avanzar",
    dailyRouteStart = "Iniciar ruta diaria",
    dailyRouteRestart = "Reiniciar ruta",
    dailyRouteIdle = "Ruta lista.",
    dailyRouteStatus = "Ruta: %d/%d %s",
    dailyRouteNext = "Siguiente",
    dailyRouteStop = "Parar",
    dailyRouteStep = "Ruta %d/%d: %s",
    dailyRouteComplete = "Ruta diaria completada.",
    dailyRouteStopped = "Ruta diaria detenida.",
    dailyRouteNoSteps = "No hay pasos disponibles para la ruta diaria ahora.",
    dailyRouteNoWaypoint = "Seleccionada sin waypoint: %s",
    helpCommands = "Comandos: /mountatlas, /ma, /azer antiguo, /mountatlas hoy, /mountatlas semanal, /mountatlas todas, /mountatlas favoritos, /mountatlas logros, /mountatlas fuentes, /mountatlas reputacion, /mountatlas eventos, /mountatlas rutas, /mountatlas falta",
    helpShortcut = "Atajo: boton del minimapa para abrir/cerrar la ventana",
    helpMinimap = "Minimapa: /mountatlas minimap o /mountatlasmini restaura el boton",
    helpSummary = "Resumen: /mountatlas resumen",
    helpFilters = "Filtros: /mountatlas expansion tww, /mountatlas tipo vendedor, /mountatlas estado faltantes, /mountatlas buscar nombre, /mountatlas limpiar",
    helpRoutes = "Rutas: /mountatlas rutas muestra monturas con ruta de farmeo configurada",
    helpOptions = "Opciones: /mountatlas opciones abre la configuracion del addon",
    helpDailyRoute = "Ruta diaria: /mountatlas ruta diaria, /mountatlas ruta siguiente, /mountatlas ruta parar",
    helpDone = "Marcar intento: /mountatlas hecho nombre-o-id",
    helpClear = "Borrar intento: /mountatlas borrar nombre-o-id",
    helpFavorite = "Agregar/quitar favorito: /mountatlas fav nombre-o-id",
    helpAchievement = "Abrir logro: /mountatlas logro nombre-o-id",
    helpNewMountAlert = "Probar alerta de montura: /mountatlas alerta nombre-o-id",
    helpAchievementTab = "Logros: la pestana muestra todos los logros configurados que dan montura",
    filtersCleared = "Filtros limpiados.",
    expansionFilterSet = "Filtro de expansion: %s",
    expansionNotFound = "No encontre esa expansion. Ejemplos: tww, dragonflight, legion, pandaria.",
    sourceFilterSet = "Filtro de tipo: %s",
    collectionFilterSet = "Filtro de estado: %s",
    sourceNotFound = "No encontre ese tipo. Ejemplos: raid, dungeon, rare, logro, delves.",
    collectionNotFound = "No encontre ese estado. Ejemplos: faltantes, obtenidas, todas.",
    searchSet = "Busqueda: %s",
    searchCleared = "Busqueda limpiada.",
    mountAttempted = "Marcado como intentado: %s",
    mountAttemptCleared = "Intento borrado: %s",
    mountNotFound = "No encontre esa montura. Prueba con el nombre o mountID.",
    mountOrAchievementNotFound = "No encontre esa montura o logro. Prueba con el nombre o ID.",
    achievementNotFound = "No encontre ese logro. Prueba con el nombre o ID.",
    achievementCommandHelp = "Usa /mountatlas logro nombre-o-id. Ejemplo: /mountatlas logro 2136",
    achievementTabAll = "La pestana de logros ahora muestra todos los logros configurados que dan montura.",
    loaded = "Cargado. Usa /mountatlas, /ma o el boton del minimapa para abrir la ventana.",
    dbUnavailable = "Base guardada no disponible. El comando /mountatlas ya quedo registrado.",
    minimapUnavailable = "Boton del minimapa no disponible todavia. Usa /mountatlas para abrir la ventana.",
    minimapRestored = "Boton del minimapa restaurado.",
    minimapError = "Error del minimapa: %s",
    summaryUnavailable = "Resumen no disponible todavia. Usa /mountatlas resumen despues de entrar.",
    filtersExpansionLine = "Filtro de expansion: %s",
    filtersSourceLine = "Filtro de tipo: %s",
    filtersCollectionLine = "Filtro de estado: %s",
    filtersSearchLine = "Busqueda: %s",
    addonSubtitle = "Tu coleccion de monturas",
    progressTitle = "PROGRESO GENERAL",
    priorityLabel = "PRIORIDAD INTELIGENTE",
    sidebarHint = "Usa pestanas y filtros para enfocar el farmeo de hoy.",
    priorityTodayTitle = "Hoy deberias hacer:",
    priorityWeeklyTitle = "Esta semana deberias hacer:",
    priorityReputationTitle = "Ruta de reputacion:",
    priorityEventsTitle = "Eventos prioritarios:",
    priorityRoutesTitle = "Ruta optimizada:",
    missingEasyPriorityTitle = "Faciles por conseguir:",
    priorityMinutes = "%d min",
    priorityEventReason = "Evento: %s",
    priorityGainReason = "+%s",
    priorityRareReason = "Rare | %s",
    priorityPotential = "Ganancia potencial: +%d monturas",
    priorityNoItems = "Sin prioridades pendientes.",
    prioritySelectHint = "Click para seleccionar esta montura.",
    easyTime = "Tiempo: %d min",
    easyCost = "Costo: %s",
    easyBuyOnly = "Solo comprar",
    easyReputation = "Compra de reputacion",
    easyQuest = "Recompensa de mision",
    easyActiveEvent = "Evento activo",
    altCurrentCharacter = "(actual)",
    altNoSnapshots = "Entra una vez con tus alts para comparar progreso.",
    altReasonRenown = "Renombre %d/%d",
    altReasonReputation = "Reputacion %d/%d",
    altReasonProfession = "Profesion: %s",
    altReasonProfessionMissing = "Necesita profesion: %s",
    altReasonAchievement = "Logro %d%%",
    altReasonAchievementDone = "Logro completado",
    altReasonProgress = "Misiones %d/%d",
    altReasonProgressDone = "Cadena completada",
    altReasonNamedProgress = "%s %d/%d",
    altReasonNamedProgressDone = "%s completado",
    expansionProgressTitle = "Progreso por expansion",
    expansionProgressLine = "%s: %d/%d (%d%%)",
    expansionProgressHint = "%s",
    expansionProgressComplete = "Todas las expansiones completas",
    expansionProgressTooltipHint = "Progreso por expansion",
    statTotalMounts = "TOTAL MONTURAS",
    statCollected = "OBTENIDAS",
    statMissing = "FALTANTES",
    statAttempted = "INTENTADOS",
    statFavorites = "FAVORITOS",
    statRegistered = "Registradas",
    statCollectedSub = "En diario",
    statMissingSub = "Por conseguir",
    statCurrentView = "Vista actual",
    statMarked = "Marcadas"
  },
  ptBR = {
    modeToday = "Hoje",
    modeWeekly = "Semanal",
    modeAll = "Todas",
    modeFavorites = "Favoritos",
    modeAchievements = "Conquistas",
    modeSources = "Fontes",
    optionAll = "Todas",
    sourceDungeon = "Masmorra",
    sourceAchievement = "Conquista",
    sourceVendor = "Vendedor",
    sourceReputation = "Reputacao",
    filterSource = "Fonte",
    filterType = "Tipo",
    filterCollection = "Estado",
    collectionMissing = "Faltantes",
    collectionCollected = "Obtidas",
    collectionAll = "Todas",
    filterSearch = "Buscar",
    statusCollected = "Obtida",
    statusAttempted = "Tentada",
    statusPending = "Pendente",
    statusCompleted = "Concluida",
    buttonDone = "Feito",
    buttonClear = "Limpar",
    buttonUnfavorite = "Remover",
    buttonView = "Ver",
    buttonRefresh = "Atualizar",
    buttonClearFilters = "Limpar",
    searchLabel = "Buscar:",
    previewTitle = "Previa",
    previewMount = "Previa da montaria",
    previewHover = "Passe o cursor sobre uma montaria.",
    previewNoModel = "Sem modelo",
    previewHowToGet = "Como obter",
    previewFullGuide = "Guia completa",
    methodLabel = "Metodo",
    professionLabel = "Profissao",
    zoneLabel = "Zona",
    coordinatesLabel = "Coordenadas",
    respawnLabel = "Respawn",
    macroLabel = "Macro",
    tomtomLabel = "TomTom",
    guideNotesLabel = "Notas",
    buttonWaypoint = "Waypoint",
    requirementMetMarker = "[OK]",
    requirementMissingMarker = "[NAO]",
    requirementNeededMarker = "-",
    waypointUnavailable = "Sem dados de waypoint.",
    waypointAdded = "Waypoint enviado ao TomTom: %s",
    waypointCommand = "Comando TomTom: %s",
    weeklyLockoutGuide = "Bloqueio semanal",
    dailyLockoutGuide = "Bloqueio diario",
    repeatableInstanceGuide = "Repetivel; limite de instancias aplicado",
    variableRespawnGuide = "Respawn variavel",
    vendorLabel = "Vendedor",
    costLabel = "Custo",
    requiresLabel = "Requer",
    collectionFilterSet = "Filtro de estado: %s",
    collectionNotFound = "Nao encontrei esse estado. Exemplos: faltantes, obtidas, todas.",
    filtersCollectionLine = "Filtro de estado: %s",
    sourceWindowSummary = "Montarias por fonte: %d%s",
    achievementsSummary = "Conquistas com montaria: %d%s",
    loaded = "Carregado. Use /mountatlas, /ma ou o botao do minimapa para abrir a janela.",
    addonSubtitle = "Sua colecao de montarias",
    progressTitle = "PROGRESSO GERAL",
    priorityLabel = "PRIORIDADE INTELIGENTE",
    sidebarHint = "Use abas e filtros para focar o farm de hoje.",
    priorityTodayTitle = "Hoje voce deveria fazer:",
    priorityWeeklyTitle = "Esta semana voce deveria fazer:",
    priorityReputationTitle = "Rota de reputacao:",
    priorityEventsTitle = "Eventos prioritarios:",
    priorityRoutesTitle = "Rota otimizada:",
    priorityMinutes = "%d min",
    priorityEventReason = "Evento: %s",
    priorityGainReason = "+%s",
    priorityRareReason = "Rare | %s",
    priorityPotential = "Ganho potencial: +%d montarias",
    priorityNoItems = "Sem prioridades pendentes.",
    prioritySelectHint = "Clique para selecionar esta montaria.",
    statTotalMounts = "TOTAL MONTARIAS",
    statCollected = "OBTIDAS",
    statMissing = "FALTANTES",
    statAttempted = "TENTADAS",
    statFavorites = "FAVORITAS",
    statRegistered = "Registradas",
    statCollectedSub = "No diario",
    statMissingSub = "Para obter",
    statCurrentView = "Vista atual",
    statMarked = "Marcadas"
  },
  frFR = {
    modeToday = "Aujourd'hui",
    modeWeekly = "Hebdo",
    modeAll = "Toutes",
    modeFavorites = "Favoris",
    modeAchievements = "Hauts faits",
    modeSources = "Sources",
    optionAll = "Toutes",
    sourceDungeon = "Donjon",
    sourceAchievement = "Haut fait",
    sourceVendor = "Vendeur",
    sourceReputation = "Reputation",
    filterSource = "Source",
    filterType = "Type",
    filterCollection = "Statut",
    collectionMissing = "Manquantes",
    collectionCollected = "Obtenues",
    collectionAll = "Toutes",
    filterSearch = "Recherche",
    statusCollected = "Obtenue",
    statusAttempted = "Tentee",
    statusPending = "En attente",
    statusCompleted = "Termine",
    buttonDone = "Fait",
    buttonClear = "Effacer",
    buttonUnfavorite = "Retirer",
    buttonView = "Voir",
    buttonRefresh = "Actualiser",
    buttonClearFilters = "Effacer",
    searchLabel = "Recherche:",
    previewTitle = "Apercu",
    previewMount = "Apercu de monture",
    previewHover = "Survolez une monture.",
    previewNoModel = "Pas de modele",
    previewHowToGet = "Comment obtenir",
    previewFullGuide = "Guide complet",
    methodLabel = "Methode",
    professionLabel = "Metier",
    zoneLabel = "Zone",
    coordinatesLabel = "Coordonnees",
    respawnLabel = "Respawn",
    macroLabel = "Macro",
    tomtomLabel = "TomTom",
    guideNotesLabel = "Notes",
    buttonWaypoint = "Waypoint",
    requirementMetMarker = "[OK]",
    requirementMissingMarker = "[NON]",
    requirementNeededMarker = "-",
    waypointUnavailable = "Aucune donnee de waypoint.",
    waypointAdded = "Waypoint envoye a TomTom: %s",
    waypointCommand = "Commande TomTom: %s",
    weeklyLockoutGuide = "Verrouillage hebdomadaire",
    dailyLockoutGuide = "Verrouillage quotidien",
    repeatableInstanceGuide = "Repetable; limite d'instances appliquee",
    variableRespawnGuide = "Respawn variable",
    vendorLabel = "Vendeur",
    costLabel = "Cout",
    requiresLabel = "Requiert",
    collectionFilterSet = "Filtre de statut: %s",
    collectionNotFound = "Statut introuvable. Exemples: manquantes, obtenues, toutes.",
    filtersCollectionLine = "Filtre de statut: %s",
    sourceWindowSummary = "Montures par source: %d%s",
    achievementsSummary = "Hauts faits avec monture: %d%s",
    loaded = "Charge. Utilisez /mountatlas, /ma ou le bouton de la minimap pour ouvrir la fenetre.",
    addonSubtitle = "Votre collection de montures",
    progressTitle = "PROGRESSION GENERALE",
    priorityLabel = "PRIORITE INTELLIGENTE",
    sidebarHint = "Utilisez les onglets et filtres pour cibler le farm du jour.",
    priorityTodayTitle = "Aujourd'hui a faire:",
    priorityWeeklyTitle = "Cette semaine a faire:",
    priorityReputationTitle = "Route de reputation:",
    priorityEventsTitle = "Evenements prioritaires:",
    priorityRoutesTitle = "Route optimisee:",
    priorityMinutes = "%d min",
    priorityEventReason = "Evenement: %s",
    priorityGainReason = "+%s",
    priorityRareReason = "Rare | %s",
    priorityPotential = "Gain potentiel: +%d montures",
    priorityNoItems = "Aucune priorite restante.",
    prioritySelectHint = "Cliquez pour selectionner cette monture.",
    statTotalMounts = "TOTAL MONTURES",
    statCollected = "OBTENUES",
    statMissing = "MANQUANTES",
    statAttempted = "TENTEES",
    statFavorites = "FAVORITES",
    statRegistered = "Enregistrees",
    statCollectedSub = "Dans le journal",
    statMissingSub = "A obtenir",
    statCurrentView = "Vue actuelle",
    statMarked = "Marquees"
  },
  deDE = {
    modeToday = "Heute",
    modeWeekly = "Woche",
    modeAll = "Alle",
    modeFavorites = "Favoriten",
    modeAchievements = "Erfolge",
    modeSources = "Quellen",
    optionAll = "Alle",
    sourceDungeon = "Dungeon",
    sourceAchievement = "Erfolg",
    sourceVendor = "Haendler",
    sourceReputation = "Ruf",
    filterSource = "Quelle",
    filterType = "Typ",
    filterCollection = "Status",
    collectionMissing = "Offen",
    collectionCollected = "Erhalten",
    collectionAll = "Alle",
    filterSearch = "Suche",
    statusCollected = "Erhalten",
    statusAttempted = "Versucht",
    statusPending = "Offen",
    statusCompleted = "Abgeschlossen",
    buttonDone = "Fertig",
    buttonClear = "Loeschen",
    buttonUnfavorite = "Entfernen",
    buttonView = "Ansehen",
    buttonRefresh = "Aktualisieren",
    buttonClearFilters = "Loeschen",
    searchLabel = "Suche:",
    previewTitle = "Vorschau",
    previewMount = "Reittier-Vorschau",
    previewHover = "Bewege den Mauszeiger ueber ein Reittier.",
    previewNoModel = "Kein Modell",
    previewHowToGet = "Fundort",
    previewFullGuide = "Komplette Anleitung",
    methodLabel = "Methode",
    professionLabel = "Beruf",
    zoneLabel = "Zone",
    coordinatesLabel = "Koordinaten",
    respawnLabel = "Respawn",
    macroLabel = "Makro",
    tomtomLabel = "TomTom",
    guideNotesLabel = "Notizen",
    buttonWaypoint = "Waypoint",
    requirementMetMarker = "[OK]",
    requirementMissingMarker = "[NEIN]",
    requirementNeededMarker = "-",
    waypointUnavailable = "Keine Wegpunktdaten verfuegbar.",
    waypointAdded = "Wegpunkt an TomTom gesendet: %s",
    waypointCommand = "TomTom-Befehl: %s",
    weeklyLockoutGuide = "Woechentliche Sperre",
    dailyLockoutGuide = "Taegliche Sperre",
    repeatableInstanceGuide = "Wiederholbar; Instanzlimit gilt",
    variableRespawnGuide = "Variabler Respawn",
    vendorLabel = "Haendler",
    costLabel = "Kosten",
    requiresLabel = "Benoetigt",
    collectionFilterSet = "Statusfilter: %s",
    collectionNotFound = "Status nicht gefunden. Beispiele: offen, erhalten, alle.",
    filtersCollectionLine = "Statusfilter: %s",
    sourceWindowSummary = "Reittiere nach Quelle: %d%s",
    achievementsSummary = "Erfolge mit Reittier: %d%s",
    loaded = "Geladen. Nutze /mountatlas, /ma oder den Minimap-Button, um das Fenster zu oeffnen.",
    addonSubtitle = "Deine Reittiersammlung",
    progressTitle = "GESAMTFORTSCHRITT",
    priorityLabel = "SMARTE PRIORITAET",
    sidebarHint = "Nutze Tabs und Filter fuer den heutigen Farm.",
    priorityTodayTitle = "Heute erledigen:",
    priorityWeeklyTitle = "Diese Woche erledigen:",
    priorityReputationTitle = "Ruf-Route:",
    priorityEventsTitle = "Prioritaets-Events:",
    priorityRoutesTitle = "Optimierte Route:",
    priorityMinutes = "%d min",
    priorityEventReason = "Event: %s",
    priorityGainReason = "+%s",
    priorityRareReason = "Rare | %s",
    priorityPotential = "Moeglicher Gewinn: +%d Reittiere",
    priorityNoItems = "Keine offenen Prioritaeten.",
    prioritySelectHint = "Klicken, um dieses Reittier auszuwaehlen.",
    statTotalMounts = "REITTIERE GESAMT",
    statCollected = "ERHALTEN",
    statMissing = "OFFEN",
    statAttempted = "VERSUCHT",
    statFavorites = "FAVORITEN",
    statRegistered = "Registriert",
    statCollectedSub = "Im Journal",
    statMissingSub = "Zu sammeln",
    statCurrentView = "Aktuelle Ansicht",
    statMarked = "Markiert"
  }
}

translations.esES = translations.esMX

local fallback = translations.enUS
local selected = fallback

function AzerColectText(key, ...)
  local text = selected[key] or fallback[key] or key

  if select("#", ...) > 0 then
    return string.format(text, ...)
  end

  return text
end
