Application Load

IAppLoadCommonLocale

The physical TypeScript declaration from the Nuxt starter, with linked types and field comments.

IAppLoadCommonLocale

Storefront language and its default currency and units.

app/interfaces/orionplace/appBase/appLoadCommon/IAppLoadCommonLocale.ts
TypeScript
export interface IAppLoadCommonLocale {
	// ISO 639-1 language code
	code?: string;
	// locale identifier
	id?: number;
	// currency used by default for this locale
	currency?: number;
	// weight unit used by default for this locale
	weight?: number;
	// size unit used by default for this locale
	length?: number;
	// locale flag image
	flag_img?: string;
	// Display name used when no translated language name is available.
	human_name?: string;
	// localized locale name
	locale?: Record<string, IAppLoadCommonLocaleName>;
}