/* Returns a resource by simple name matching */ func (l Locale) GetResource(key string) (string, error) { locale := string(l) internal.Activate(locale) return internal.Request(locale, key, false) }
/* Resolves a resource by its hierarchical key. */ func (l Locale) ResolveResource(k types.HierarchicalKey) (string, error) { locale := string(l) internal.Activate(locale) return internal.Request(locale, string(k), true) }