Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Try automatically but there should be a shift selection.
The same thing as the declension of names and surnames is different, and this cannot be driven into a template.
The names may not be Russian, but there is a different system.
I had to work a lot with this at one time =\
Maximum patronymic:
'vich' -> male
'vna' -> female
'ly' -> male
'zy' -> female
'va' -> female
Look at the article, just the other day from Habr, where in the comments the developers explain something about this habrahabr.ru/company/enterra/blog/219535
I do not think that such a choice for the user will be too difficult. You put in a lot more work than you get out of it. If it is possible to provide a choice to the user, then let him "work a little" himself.
Why does a site need to know gender? And if this is dating or a sex shop, then you still need to know your orientation, you can’t determine by name)
If it's smart, then you can make a database Name -> gender + ending of the last name and patronymic. For this, I think the first 50 million VK users will do
I know it's hard to get people to check the box these days. But still - make a choice of gender in any of the standard ways.
My last name is also interesting.
Let's say .. :)
Zhenya Osher
Sasha Osher
Well, at least my name is Misha.)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question