Skip to content

Config: catalogResourcePath

Functions, types, and exports for Config: catalogResourcePath.

Page outline

Resolve a configured catalog to its locale-specific on-disk resource path.

import { catalogResourcePath } from "@palamedes/config"

catalogResourcePath(config: Pick<LoadedPalamedesConfig, "rootDir">, catalog: PalamedesCatalogConfig, locale: string): string

Parameters

NameTypeRequired
configPick<LoadedPalamedesConfig, "rootDir">Yes
catalogPalamedesCatalogConfigYes
localestringYes

Returns

string

Source entry on GitHub

Last updated: November 1, 2026