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.
Navigate to Language
Before adding additional languages, you need to enable multi-language support:
When enabled, users can select their preferred language from the interface.
Navigate to Language
To add a new language to your ChatNet installation:
| Field | Description |
|---|---|
| ISO 639-1 Language Code | Select the language code from the dropdown (e.g., "es" for Spanish, "fr" for French, "de" for German) |
| Name | Display name for the language (e.g., "Spanish", "Français", "Deutsch") |
| Country Code | ISO 3166-1 alpha-2 country code for the flag icon (e.g., "es" for Spain, "fr" for France) |
| Language Direction | Left to Right (LTR) for most languages, or Right to Left (RTL) for Arabic, Hebrew, etc. |
| Google Font Family | Optional: 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.
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.
When to Re-Scan: You should run a re-scan after updating ChatNet to a new version, as updates may include new translatable phrases.
Navigate to Language
After adding a language and scanning for phrases, you can begin translating:
%s or %d - keep these in your translation in the appropriate positionNavigate to Language
To modify an existing language's settings:
Note: The language code cannot be changed after creation. If you need a different language code, delete the language and create a new one.
Navigate to Language
To remove a language from your installation:
Warning: Deleting a language will remove all translations associated with it. This action cannot be undone.
The language list displays the following information for each language:
| Column | Description |
|---|---|
| Lang Code | ISO 639-1 language code (e.g., en, es, fr) |
| Name | Display name shown to users |
| Country Code | ISO country code for flag display |
| Direction | Text direction (LTR or RTL) |
| Google Font Family | Custom font for the language (if set) |
ChatNet fully supports Right-to-Left (RTL) languages such as Arabic, Hebrew, Persian, and Urdu.
When adding an RTL language:
The interface will automatically mirror when users select an RTL language, adjusting layouts, text alignment, and navigation appropriately.
Here are some commonly used language codes:
| Language | Code | Direction |
|---|---|---|
| English | en | LTR |
| Spanish | es | LTR |
| French | fr | LTR |
| German | de | LTR |
| Portuguese | pt | LTR |
| Italian | it | LTR |
| Dutch | nl | LTR |
| Russian | ru | LTR |
| Chinese (Simplified) | zh | LTR |
| Japanese | ja | LTR |
| Korean | ko | LTR |
| Arabic | ar | RTL |
| Hebrew | he | RTL |
| Persian (Farsi) | fa | RTL |
| Turkish | tr | LTR |
| Hindi | hi | LTR |