ITranslationMap

Interface

Interface representing a translation map for layout strings. Each key is a language code, and the value is a map of translation keys to translated strings:

{
  "en": {
    "welcome": "Welcome to our site",
    "goodbye": "Thank you for visiting"
  },
  "fr": {
    "welcome": "Bienvenue sur notre site",
    "goodbye": "Merci de votre visite"
  }
}

Index Signatures

Key Type Value Type Notes
string Record<stringunknown>

A key-value pair where the key is a language code and the value is a map of translation keys to translated text.


Interface defined in packages/common/src/layouts/layout-shared-types.ts:111