Osclass allows administrators to manage multiple languages for both the front-office (public site) and back-office (admin panel). This ensures that users and administrators can interact with the platform in their preferred language. This guide covers how to add, manage, and configure languages in Osclass.
Adding a New Language
New languages can be added in two ways:
From the Market: Navigate to Market > Languages and install available language packs.
Manually Upload a ZIP File: Click Add Language and upload a valid language package (.zip file) containing .mo and .po translation files.
Managing Installed Languages
Installed languages can be viewed and managed in the International > Languages section.
Manage languages
The available options include:
Enable/Disable a Language: Toggle a languageās availability for the front-office and/or back-office.
Delete a Language: Remove an unused language (except the default language).
Set Default Language: The default language can be changed in Settings > General.
Editing Language Settings
Each language has individual settings that can be customized.
Edit language
Name: The full name of the language (e.g., English (US)).
Short Name: The commonly used short name (e.g., English).
Description: A short description of the language pack.
Date Format: The format used for displaying dates (e.g., m/d/Y).
Front-office: Enable or disable the language for public users.
Back-office: Enable or disable the language for administrators.
Price and Currency Formatting
Each language has specific formatting settings for displaying prices:
Currency Format: Defines how currency is displayed (e.g., {NUMBER} {CURRENCY}).
Number of Decimals: Sets the number of decimal places (e.g., 2).
Decimal Point: Defines the decimal separator (e.g., .).
Thousands Separator: Defines how thousands are separated (e.g., ,).
Default Currency: The primary currency used for the language (e.g., USD).
Advanced Language Settings
Additional settings are available to refine language usage:
Stopwords: A list of common words that are ignored in searches (e.g., the, is, of, and).
Native Location Names: Enable this option to display location names in their native language.
Text Direction: Defines whether the language is left-to-right (LTR) or right-to-left (RTL).
Bulk Actions for Languages
Administrators can perform bulk actions on multiple languages, including:
Enable or disable multiple languages at once.
Delete multiple language packs.
Conclusion
Managing languages in Osclass ensures that your site is accessible to a global audience. By properly configuring languages, administrators can provide a seamless multilingual experience for users.