Language Config #
The langConfig array defines the language-specific text for various UI components and labels in the application. It ensures localized content is displayed based on the selected language.
Structure of langConfig #
Each object in the array represents a specific language configuration with the following properties:
Properties #
| Property Name | Type | Description |
|---|---|---|
langCode |
string |
Language code (e.g., 'en' for English, 'de' for German). |
defaultLang |
boolean |
Optional; indicates if this language is the default one for the application. |
phone |
string |
Translation for "Phone". |
address |
string |
Translation for "Address". |
email |
string |
Translation for "Email". |
company |
string |
Translation for "Company". |
categories |
string |
Translation for "Categories". |
copyright |
string |
Translation for "Copyright". |
webDevelopmentBy |
string |
Translation for "Web Development by". |
moreDetails |
string |
Translation for "More details". |
readMore |
string |
Translation for "Read more". |
export const langConfig = [
{
langCode: "string",
defaultLang: boolean,
phone: "string",
address: "string",
email: "string",
company: "string",
categories: "string",
copyright: "string",
webDevelopmentBy: "string",
moreDetails: "string",
readMore: "string"
}
];