Renaming the class individually

In my game, I use classes to define if a character is infected or not and I'd like to individually rename the class for some characters. Is that possible or is there any script around to do that?

The thing is, in my native language grammatical genders are very important and it feels odd when you open the menu and it says that, for example, Grace is infected, and the word “infected” is written in the masculine gender. Usually it's not a big deal but this time it's a big mechanic of a game and it just feels unpolished this way.

I could just make a separate class but that would lead to an unnecessary complexity when it comes to sort between ill and healthy characters.
yes and no.

there are two ways to approach this

first is to have each actor individual classes for the cases - just copy the class data, then rename what you want to change on the new class.
Admittedly this can become complicated if you have a lot of actors or allow class changes by player as well.

The second option is to use a full script designed for this. And unfortunately I don't remember such a script existing, so you might have to request or commission that.
The problem is that by default, classes are part of the read-only data of the game, which means just overriding the name will cause it to shift back on next loading of a savefile.
The script would have to shift the class database partially into the savefile to keep changes.
you can note-tag both name variants and have the system grab that instead of the actual name.
tag the actors as well to specify male or female, and voila! gender-coded names.
When you type stuff like infectado but need it to replace it with infectada, you can type this instead: infectad@

The script would read that and its gender note tag and display the right spelling on screen.

Original thread: https://forums.rpgmakerweb.com/threads/renaming-the-class-individually.161083/