If you're having trouble or run into any bugs with the code, post a comment here! I will try to get back to you within a few days.
Playing around with the web demo I've found three issues.
I think to start I should clear up the intention of the web build - it's there just to demonstrate the things that the pronouns system can do. Given the different styling needs of projects, I don't expect someone to drop the screens into their project without modifying them to suit the theme of their own UI, or updating them so the input length & allowed characters suits their font. It's also designed to have as few assets as possible (mostly using coloured rectangles) so it loads quickly and there are few assets for the browser to cache.
With that in mind, 1) is intentional. You should be able to click on the input again to disable it, since particularly for mobile users this will dismiss the keyboard so they can see the rest of the screen again. I do appreciate your suggestion to make it clearer which of the input boxes is currently accepting input, however, so I'll include styling for that in a future update.
2) This is intentional. For people who aren't familiar with screen language, or don't need the fine-tuned flexibility of the terms system, I wanted to demonstrate an option that gives the player some additional control over their terms and pronouns, but doesn't require a complex screen setup beyond the pronoun input. If you have a suggestion for how to make the wording of that choice clearer, I can update it. The choices are there mostly to demonstrate increasingly complex setups you can achieve with the system, rather than expecting a user to present this exact choice menu to the player.
3) This wasn't a priority for me as I operated under the assumption that a user will need to apply their own restrictions onto the input anyways - not every font supports the same characters, they might want different length or pixel width restrictions, etc. Thus, I've only applied the bare minimum of a length restriction on the input. But in the interest of a more stable web build, this is something I can update as well.
Thanks for your suggestions! I hope the system proves useful to you.That's what I thought, but when I encountered a crash I figured it couldn't hurt to take half an hour to comb through for anything else that was a little hinky.
I'm sure it will! I cobbled together my own solution for a (probably scrapped) WIP some time ago, but it was really clunky. This ties up everything I was trying to do in a nice, neat, cohesive package. Thank you for making it available!
Hey there! I'm not really clear on what you mean by "code to implement the code without the test" - the required files are pronoun_setup.rpy and pronoun_backend.rpy, and you can do whatever you like with pronoun_labels.rpy and pronoun_screens.rpy. They are there for demonstration purposes, and the screens in particular you can get rid of if you don't want them or customize them to look however you like. If you're new to Ren'Py, I suggest you read through pronoun_labels.rpy in particular and copy over the code in whichever label that does what you need for your game to your usual script.
Hope that helps!
Hiya! I'm a beginner when it comes to renpy and was struggling with the pronouns especially until I found this amazing tool. However, I have been running into some issues. I tried implementing the code exactly as you suggested through the read me and set up screen but every time I try to run the game, it refuses and tells me there's an issue with specifically the lines:
default pronoun = ""
default terms = "custom"
I don't know if its just me being silly/making mistakes but am I not meant to have those included within the code? Every time I keep them in it seems as though renpy refuses to run the game. Please let me know if its just a dumb mistake on my part LMAO
Heya! The code should run as-is. What sort of error are you getting? You might want to try hitting Force Recompile from the launcher also, in case you have extra rpyc files lying around. If the error is that you already have a variable named "pronoun" or "terms", make sure you only have one declaration for those, also.
Thank you for the help! I've managed to fix that issue but have now run into another where the code [person] (which should say man, woman, person etc) gets swapped in between with ones for partner. I'm still very new to coding so I am not sure if its a me problem or not. I've attached images to show what happens.

