Closed akhileshkcoder closed 3 years ago
@akhileshkcoder
You can change these entry directly from database table uv_support_role for your desired language.
@papnoisanjeev Thank you. But in that case, in the future, if I want multiple language support it will be a problem.
@akhileshkcoder
Basically translation is done for static data only not for the data which is coming from database. As we can add or update that data as per our language.
Still as role have table have fixed data so will try to translate it using code.
@akhileshkcoder We have fix this issue in master
Please check
okay. Thank you
I have customized UVdesk and have changed the name of 'Agent' to 'Customer Support'. I have done the changes in the language file inside the translations folder. The name is successfully changed everywhere except for the role name in the agents' listing screen. I have found in the code that the translator is not used for the role. How can I use the translator in the code?
The agents are listed from the function 'getAllAgents()' in the file uvdesk-community\vendor\uvdesk\core-framework\Repository\UserRepository.php I want to use the translator in that file. I am not familiar with Symfony. Please help.