Language Translation in UVdesk Open Source Helpdesk
UVdesk is an open-source ticketing system. It’s mainly designed to help streamline support requests and improve customer service. UVdesk community helpdesk is an effective and intuitive tool for support agents to deliver fast and flawless support.
If you are looking for the translation of the helpdesk project into the desired language to make easily accessible for customers in multiple languages across the globe then implement the below steps included in this comprehensive guide.
This will enhance and streamline customer support experience, as the customer will have access to translate their support page as well as the whole Knowledgebase/FAQ page into the desired language.
Steps for Language Translation in UVdesk Open Source Helpdesk:
You can easily perform language translate for both the Admin dashboard and for the front-end view.
Step 1: Go to the project root directory.
By default, we’ve added some set of translation files(for ar, da, de, en, es, fr, it, tr) as shown below. Open the required translation file or create the new one if not exist.
For the Arabic language, you can see messages.ar.yml translation file in the below screenshot. If you want to change the language in the further language then create a new translation file and do translate the entity for your language.
Do the changes in right side value only for example ‘Signed in as’=> ‘وقعت في مثل’. You do not need to change variable type words like Your profile, Create ticket, Create agent etc.
Step 2: 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
By following the above steps, you can easily translate the front-end and back-end of your UVdesk community helpdesk. Hope it will be helpful for you or if you have any issue feel free to raise a ticket from here.