Function: resolveTaxonomyLocaleKey() ​

Source: 1.1.0 · e3417e89b638

ts
function resolveTaxonomyLocaleKey(namespace, rawValue): object;

Defined in: packages/valaxy/shared/utils/i18n.ts:57

Resolve the effective locale key for a taxonomy term.

  • $locale:tag.notes -> tag.notes (explicit locale key)
  • notes in tag namespace -> tag.notes

Parameters ​

namespace ​

TaxonomyNamespace

rawValue ​

string

Returns ​

object

isExplicitLocaleKey ​

ts
isExplicitLocaleKey: boolean;

localeKey ​

ts
localeKey: string;