Gender game : hint for gender in cyrillic languages

Issue #173 resolved
Hsarrazin created an issue

Hello, in cyrillic languages (ru, bg, be, uk) the mention for birth gives the gender : * роден is for men, родена is for women (bg) * родился is for men, родилась is for women (ru) * народився is for men, народилася is for women (uk) * нарадзіўся is for men, нарадзілася is for women (be)

If you could add these to gender colouring diffs, it would be very useful... If you need the words for other cyrillic languages, I can help.

Comments (12)

  1. Waldir Pimenta

    Thanks for the report. I added these in c7f7569. I'm closing this issue, but feel free to comment below listing other gender-specific expressions for Cyrillic languages, so we can make those as complete as the others. See the list here for examples of what the other languages support.

  2. Hsarrazin reporter

    hello Waldir... I don't see anything changed on bg, uk and be items ? was the game updated ?

  3. Waldir Pimenta

    The changes have definitely been added to the repository, as can be seen in the diff link above. It's possible that the live version hasn't been updated with the current code in the repository, but I find that unlikely because later edits are already live (for instance, after committing 6fcb45b I can already see "actor" and "actress" being highlighted). Maybe it's a cache issue?

  4. Hsarrazin reporter

    hello Waldir,

    unfortunately, I see nothing during the Game.... Capture d’écran 2015-03-11 à 17.40.11.jpg, while it should distinctly outline "роден" :(

  5. Hsarrazin reporter

    no, absolutely no info... :(

    Capture d’écran 2015-03-12 à 13.30.24.jpg

    родился (HE was born in russian) is clearly written on 3rd line, but not outlined... the error on line 255 was displayed before this specific item, and appeared when searching for a new item to play with :/

    it does not work either for women, but it's very difficult to find an example now, not enough items to play with :/

  6. Waldir Pimenta

    That "TypeError: i is undefined" error may be preventing further code from being executed. I suppose @magnusmanske could provide some useful input here.

  7. Hsarrazin reporter

    the message says i is undefined in main.js and the line is 255 var r = i.raw ;

    if this can help... but the problem only appears on the 4 cyrillic languages on commit c7f7569 - it works perfectly well on other languages :/

    could it be a wrong language encoding, leading to apparently similar text, but considered different because of different unicode encoding ?

    on this ru item, there is no js error.... should be highlighted as... male (blue) (Родился 25 мая 1949 года) Capture d’écran 2015-03-12 à 21.32.17.jpg

  8. Waldir Pimenta

    could it be a wrong language encoding, leading to apparently similar text, but considered different because of different unicode encoding?

    It could, and in fact I had thought about that myself, but I am not versed in using different text encodings so I am not exactly sure how to debug that. Can you suggest actions (and corresponding expected outputs) that could confirm or rule out that possibility?

  9. Hsarrazin reporter

    the big problem now for me, is it is nearly impossible to make tests, as there are not enough Q5 items presently waiting for sex-recognition in the Game, with these languages only...

    did you copy/paste the texts I had put in the first message ? maybe, copying from an actual item in bg/ru/uk/be wikipedias could correct it ? I'm no specialist in encoding, and I work on Mac, so i know that sometimes, encoding is wrong between Macs and Pc... :(

    Maybe also, Magnus Manske could be helpful, since he seems to really be easy with a lot of (written) languages ;)

    if not, then.... let it be... :/

  10. Log in to comment