local A = ...
rCompassCastbarL = rCompassCastbarL or {}
rCompassCastbarLocaleTables = rCompassCastbarLocaleTables or {}

local L = rCompassCastbarL
local locale = GetLocale()
local active = rCompassCastbarLocaleTables[locale]
if not active and locale == "enGB" then
  active = rCompassCastbarLocaleTables["enUS"]
end
local fallback = rCompassCastbarLocaleTables["enUS"] or {}

setmetatable(L, {
  __index = function(_, key)
    return (active and active[key]) or fallback[key] or key
  end
})
