Customize Language on UVdesk
peopleinside mod admin community specialist last edited by
For customize language in UVdesk you can check the following guide:
The translation files are located here:
To set a default language:
Go to config ==> packages ==>uvdesk.yaml,
Now make an entry for your locale in uvdesk.yaml file.
Language Translation on Front End
To translate the front end panel into the desired language you have to pass the locale into the URL.
Let’s assume this is my customer panel helpdesk URL – https://example.com/public/en/ and I want to change this in Arabic.
To do so you have to make this https://example.com/public/ar/ as similar as you can perform this in French with https://example.com/public/fr/ and other languages as well.
This will convert all static words into Arabic.
For member/support agent in Arabic- https://example.com/public/ar/member/login
How to make it default?
If you want to make this translation page as default, you can do the same in UVdesk Open Source Helpdesk.
First, go to config->packages->translation.yaml and open translation.yaml. After that make changes as given below.
framework: default_locale: your_locale(en, ar etc). translator: default_path: '%kernel.project_dir%/translations' fallbacks: - your_locale(en, ar etc)
Now locate your file services.yaml under config folder of your project and make changes as shown in the below screenshot:
After that, Clear your project cache by:
php bin/console c:c