Translations & Languages

ChatNet supports multiple languages, allowing you to reach a global audience. This section covers how to enable multi-language support, add new languages, translate the interface, and manage existing translations. You can translate both the frontend (user-facing) and admin panel separately.

Enabling Multiple Languages

Navigate to Language

Before adding additional languages, you need to enable multi-language support:

  1. Navigate to Language in the admin panel
  2. Set Enable Multiple Languages to Yes
  3. The setting saves automatically

When enabled, users can select their preferred language from the interface.


Adding a New Language

Navigate to Language

To add a new language to your ChatNet installation:

  1. Navigate to Language in the admin panel
  2. Click the Add New button
  3. Complete the required details (see table below)
  4. Click Insert to create the language
FieldDescription
ISO 639-1 Language CodeSelect the language code from the dropdown (e.g., "es" for Spanish, "fr" for French, "de" for German)
NameDisplay name for the language (e.g., "Spanish", "Français", "Deutsch")
Country CodeISO 3166-1 alpha-2 country code for the flag icon (e.g., "es" for Spain, "fr" for France)
Language DirectionLeft to Right (LTR) for most languages, or Right to Left (RTL) for Arabic, Hebrew, etc.
Google Font FamilyOptional: Select a Google Font that supports your language's characters

Important: The language code is permanent and cannot be changed after creation. Make sure to select the correct code.


Scanning for Translatable Phrases

Navigate to Language

Before translating, you need to scan the application to collect all translatable phrases. This ensures you have access to all text strings used throughout ChatNet.

  1. Navigate to Language in the admin panel
  2. Click the Re Scan button
  3. Wait for the scan to complete
  4. The page will display any newly found phrases, or show "All terms are up to date" if no new phrases were found

When to Re-Scan: You should run a re-scan after updating ChatNet to a new version, as updates may include new translatable phrases.


Translating the Interface

Navigate to Language

After adding a language and scanning for phrases, you can begin translating:

  1. Navigate to Language in the admin panel
  2. Find the language you want to translate in the list
  3. Click the Translate button next to that language
  4. Select the section to translate:
  5. For each phrase, enter the translation in the text field
  6. Click Update to save your translations

Translation Tips


Editing a Language

Navigate to Language

To modify an existing language's settings:

  1. Navigate to Language in the admin panel
  2. Find the language in the list
  3. Click the Edit button
  4. Update the Name, Country Code, Direction, or Google Font Family
  5. Click Update to save changes

Note: The language code cannot be changed after creation. If you need a different language code, delete the language and create a new one.


Deleting a Language

Navigate to Language

To remove a language from your installation:

  1. Navigate to Language in the admin panel
  2. Find the language in the list
  3. Click the Delete button
  4. Confirm the deletion

Warning: Deleting a language will remove all translations associated with it. This action cannot be undone.


Language Settings Overview

The language list displays the following information for each language:

ColumnDescription
Lang CodeISO 639-1 language code (e.g., en, es, fr)
NameDisplay name shown to users
Country CodeISO country code for flag display
DirectionText direction (LTR or RTL)
Google Font FamilyCustom font for the language (if set)

RTL Language Support

ChatNet fully supports Right-to-Left (RTL) languages such as Arabic, Hebrew, Persian, and Urdu.

When adding an RTL language:

  1. Select the appropriate language code
  2. Set Language Direction to Right to Left (RTL)
  3. Optionally select a Google Font that supports RTL characters

The interface will automatically mirror when users select an RTL language, adjusting layouts, text alignment, and navigation appropriately.


Common Language Codes

Here are some commonly used language codes:

LanguageCodeDirection
EnglishenLTR
SpanishesLTR
FrenchfrLTR
GermandeLTR
PortugueseptLTR
ItalianitLTR
DutchnlLTR
RussianruLTR
Chinese (Simplified)zhLTR
JapanesejaLTR
KoreankoLTR
ArabicarRTL
HebrewheRTL
Persian (Farsi)faRTL
TurkishtrLTR
HindihiLTR