Type alias LocalePackOverrides

LocalePackOverrides: {
    [K in keyof LocalePack]?: LocalePack[K] extends object
        ? {
            [P in keyof LocalePack[K]]?: LocalePack[K][P] extends object
                ? {
                    [Q in keyof LocalePack[K][P]]?: LocalePack[K][P][Q]
                }
                : LocalePack[K][P]
        }
        : LocalePack[K]
}

Deep-partial version of LocalePack used by RpEditorConfig.labels.

Consumers can supply any subset of keys to override individual strings on top of the pack resolved by language. Missing keys fall through to the language pack (which itself falls back to English).

Also enables translations for languages not in the built-in LanguageCode set: pass a full labels object with no language, and the editor will layer your strings over the English pack.