Translation
How to translate and manage languages in Mentor LMS.
This guide explains how the translation system works and how to update or customize translations.
How Translation Works
In Mentor LMS, interface texts are stored and loaded from the database — not from lang files at runtime.
When the application runs, database translations override the values from lang files. This means changes to lang files will not be reflected even after running php artisan optimize:clear.
How to Update Translations
Step 1: Go to the Admin Dashboard
Log in to your admin account and navigate to the Admin Dashboard.
Step 2: Open Translation Settings
Open Translation / Language settings from the admin menu.
Step 3: Edit and Save
- Find the text you want to change
- Edit the text directly in the interface
- Click Save
Changes are reflected immediately on the frontend.
Database Takes Priority
All translation texts are stored in the database and take priority over lang files. Any changes to lang files will not be reflected in the application.
Future Improvements
We are working on improving the translation system in future updates to make this process easier and more developer-friendly.
Need Help?
Contact support at support@ui-lib.com.