Cringe Translation Request - Male / Female

Warezinc

Newbie
Aug 15, 2025
85
122
94
Just wondering if it's possible to make a file for Renpy games that translates this fedora cringe, it comes up in more games than I'd like.

For instance, I'm playing Freeloading Family right now and this comes up;

1758911599574.png


This should clearly just read "man or woman". I'm amazed how many games throw around "she's only a female", "I could use a female's perspective" and it's really off-putting to me.

Anyone fancy making a file that changes male(s) to man/men and female(s) to woman/women?
 

Warezinc

Newbie
Aug 15, 2025
85
122
94
1759077703120.png


Found some code after googling, just slap this in a .rpy file and youre golden.



init python:
import re
def word_replace(text):
"""
take a text and replace words that match the key in a dictionary
with the associated value, return the changed text
"""

def translate(match):
word = match.group(0)
return replace_dict.get(word, word)

return re.sub(r"\b[A-Za-z_]\w*\b", translate, text)

# create a dictionary of key_word:replace_with pairs
replace_dict = {
"male" : "man",
"males" : "men",
"female" : "woman",
"females" : "women"
}

define config.say_menu_text_filter = word_replace