Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
simbolmina opened this issue Jul 4, 2022 · 1 comment
Open

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

simbolmina opened this issue Jul 4, 2022 · 1 comment

Comments

@simbolmina
Copy link

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
Copy link

ChKaEs commented Jul 26, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants