πŸ”΄ January 2024 Alert: Forum support inactive!
New forum registration are currently closed.
Use GitHub discussions
.

    UVdesk

    • Login
    • Search
    • Recent

    Customize Language on UVdesk

    Knowledge Base
    1
    1
    1167
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • peopleinside
      peopleinside EX helping member last edited by

      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/translations

      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.

      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:

      screenshot

      Clear Cache

      After that, Clear your project cache by:

      php bin/console c:c
      

      πŸ’¬ You can also ask help on GitHub Discussions
      πŸ”΄ I am no more active on Uvdesk
      πŸ”΄ Forum support is inactive!

      1 Reply Last reply Reply Quote 1
      • First post
        Last post