gamonoid / icehrm

Manage your employees easily with a robust and efficient Human Resource Management System
http://icehrm.com
Other
593 stars 374 forks source link

Employee Genders/Martial Status are not working/translated #314

Open simbolmina opened 2 years ago

simbolmina commented 2 years ago

Hello, I upgraded from v20 to 32 and using Turkish language. Almost everything is working except selections of gender and marital_status. I edited lang files and added as new translaltions bu did not work. Then I edited sql.init (/docker/) and lib.js (web/modules/employees/components) files but it did not change in site. Editing sql files on server did not help either. When I try other languages they stay the same as well.

What can I do more to make it work?

ChKaEs commented 2 years ago

Any field that would have three or more options really should be from a table rather than enum, Gender and Marital Status included. I have tried switching to table and have also tried changing the enum values with all occurrences in the code, and the API still uses the old enum values. There are no clear steps provided to change these and different companies/countries recognize different options. Using a table of values would be much easier and more flexible. This would also make it easier for you to change the options to your language without digging around unsuccessfully through code. I first posted questions about these options months ago, but never got any response.