Customize Language on UVdesk
-
For customize language in UVdesk you can check the following guide:
https://www.uvdesk.com/en/blog/language-translation-in-uvdesk-open-source-helpdesk/The translation files are located here:
https://github.com/uvdesk/community-skeleton/tree/master/translationsTo 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.
Example:
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.
Step 1:
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)
Step 2:
Now locate your file services.yaml under config folder of your project and make changes as shown in the below screenshot:
Clear Cache
After that, Clear your project cache by:
php bin/console c:c