Resolve local display labels for stable category IDs

forma_labels.RdThe exact tag takes precedence over its parent tags. Unmatched IDs retain their source text. A null language leaves the source text unchanged. Two IDs can have the same displayed text. Only the original IDs belong in a data join or a fill mapping.
Examples
dict <- data.frame(variable = "site", id = "N", lang = "en", label = "North")
forma_labels(c("N", "S"), "site", "en-US", dict)
#> [1] "North" "S"