Function: resolveTaxonomyLocaleKey()

Source: 1.0.0-rc.14 · a572916b42ec

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;