13.1 Before Managing Languages

Confirm that the correct website is selected before adding or editing a Website Language.

Website Languages belong to a specific website. Changing the selected website changes the website context in which language records are managed.

13.2 Adding a Website Language

Users with the website_languages_create permission or administrative access can use the Add action from the Website Languages workspace.

When the Add Language window opens, AIUNIFY Leads can detect an initial country and use its language information to pre-populate the new language configuration.

13.3 Country and Flag Selection

The language form includes a country/flag selector beside the language Name.

When a different country is selected while creating a language, AIUNIFY Leads uses its country-language mapping to update:

  1. The language Key.
  2. The language Name.
  3. The RTL setting.

This reduces the amount of manual language configuration required for common country/language combinations.

13.4 Confirmed Language Form Controls

The language creation/edit interface includes the following confirmed controls:

Control Purpose
Name Displays the human-readable language name.
Country / Flag Code Selects the country flag and assists with automatic language identification.
RTL Controls right-to-left presentation status.
Enabled Controls whether the language is enabled.

The resulting language record also stores its language Key and Default status.

13.5 Confirmed Input Validation

The confirmed Website Language request validation requires:

  1. Name to be present and stored as text.
  2. Name to contain no more than 255 characters.
  3. Flag Code, when supplied, to be text with a maximum length of 5 characters.
  4. RTL, when supplied, to be a boolean value.
  5. Enabled, when supplied, to be a boolean value.

13.6 Saving a Language

The language modal provides the standard actions:

  1. Create when adding a new language.
  2. Update when editing an existing language.
  3. Cancel to close the window without completing the current change.

13.7 Editing a Website Language

Users with the website_languages_edit permission can edit existing language records.

Before changing a language, confirm the language Name, Key, flag, RTL status, Enabled status, and whether the language is currently the website's default.

13.8 Setting a Language as Default

AIUNIFY Leads provides a dedicated Set Default operation for Website Languages.

When a valid language is made the default, the application performs the following actions:

  1. Finds the selected Website Language.
  2. Removes Default status from the other languages belonging to the same website.
  3. Sets the selected language as Default.
  4. Enables the selected language automatically if it was disabled.
  5. Saves the language.

A successful operation returns the message:

Language set as default

13.9 Set Default Errors

The confirmed server responses include:

Message Meaning
Invalid language ID The supplied language identifier could not be decoded.
Language not found No Website Language could be found for the resolved identifier.
Failed to set default: ... The application encountered an exception while changing the default.

13.10 Deleting Languages

Language deletion is available only to users with the appropriate delete permission or administrative access.

The website-management logic is designed to retain a language structure rather than remove every language from a website. When managing multiple languages, avoid deleting a language until you have considered its page translations, website settings, and public content.

13.11 Recommended Language Workflow

  1. Select the correct website.
  2. Open Website Languages.
  3. Add or edit the required language.
  4. Verify its country/flag, Name, Key, RTL, and Enabled status.
  5. Set the intended primary visitor language as Default.
  6. Verify translated Website Pages.
  7. Complete language-specific Website Settings.
  8. Preview the public website in each configured language.
Write Your Comment