Hello Faveo team,
I am working with Faveo Helpdesk v2.0.3 and I found an issue with the localization/language system.
I noticed that Faveo uses Laravel language files located in the lang directory. For example:
lang/en (for english language)
contains files such as:
lang/en/auth.php
lang/en/validation.php
lang/en/passwords.php
The translation keys are correctly defined in these files. For example:
'success' => 'Success',
'login' => 'Login',
'password' => 'Password',
However, after creating a new language folder (lang/fa) and translating the values, some parts of the interface still display English text instead of loading the translated values.
Steps to reproduce:
- Create a new language folder:
- Copy language files from:
-
Translate the language values.
-
Change the application locale to fa.
-
Open the application and check the interface.
Expected behavior:
The entire interface should display the Persian translations from:
Actual behavior:
The application does not appear to load the custom language files from lang/fa.
Even after creating the lang/fa directory, copying the original language files, translating them, and changing the application locale to fa, the interface continues to use the English language files.
Checked areas:
Language files:(FA)
Laravel localization structure:
Environment configuration:
Cache clearing:
php artisan config:clear
php artisan cache:clear
Possible causes:
The issue may be related to one of these areas:
-
The application is not loading the selected locale correctly.
-
Some views/controllers may contain hard-coded English strings instead of using Laravel translation helpers:
or:
-
Some translation files may not be connected to the correct language namespace.
-
The language selector or configuration may not correctly update the application locale.
Could you please check where Faveo sets and loads the application locale and which files are responsible for language switching?
Environment:
- Faveo version: v2.0.3
- PHP version: 8.3.30
- OS: Windows 11 pro
- Local environment: Laragon
- Additional information:
- The
lang/fa directory exists.
- Translation keys are identical to the original `lang/en` files.
-
PHP syntax has been verified.
-
Laravel cache has been cleared.
-
The application still loads English translations.
Could you please confirm whether creating a new language under lang/{locale} is the correct way to add a custom language in Faveo?
If additional configuration, registration, or package-specific localization steps are required, could you please point me to the relevant documentation or source files?
Thank you.
Hello Faveo team,
I am working with Faveo Helpdesk v2.0.3 and I found an issue with the localization/language system.
I noticed that Faveo uses Laravel language files located in the
langdirectory. For example:contains files such as:
The translation keys are correctly defined in these files. For example:
However, after creating a new language folder (
lang/fa) and translating the values, some parts of the interface still display English text instead of loading the translated values.Steps to reproduce:
Translate the language values.
Change the application locale to
fa.Open the application and check the interface.
Expected behavior:
The entire interface should display the Persian translations from:
Actual behavior:
The application does not appear to load the custom language files from
lang/fa.Even after creating the
lang/fadirectory, copying the original language files, translating them, and changing the application locale tofa, the interface continues to use the English language files.Checked areas:
Language files:(FA)
auth.php
datatables.php
lang.php
pagination.php
passwords.php
validation.php
Laravel localization structure:
Environment configuration:
Cache clearing:
Possible causes:
The issue may be related to one of these areas:
The application is not loading the selected locale correctly.
Some views/controllers may contain hard-coded English strings instead of using Laravel translation helpers:
or:
Some translation files may not be connected to the correct language namespace.
The language selector or configuration may not correctly update the application locale.
Could you please check where Faveo sets and loads the application locale and which files are responsible for language switching?
Environment:
- Additional information:
lang/fadirectory exists.PHP syntax has been verified.
Laravel cache has been cleared.
The application still loads English translations.
Could you please confirm whether creating a new language under
lang/{locale}is the correct way to add a custom language in Faveo?If additional configuration, registration, or package-specific localization steps are required, could you please point me to the relevant documentation or source files?
Thank you.