rscplus
rscplus copied to clipboard
Offer client-sided server message translations
Although it is not the ideal way to do things, if a player is using the RSC+ client on a server that has no official translation support, the RSC+ client could do the work of parsing incoming strings and replacing them with entirely different strings.
The reasons we would want to do this are:
- To offer foreign language support for servers without the feature, but DO have all server messages authentic.
- To replace incorrect lines of dialogue. e.g., misgendering where the Gnome Bankers always call the player Sir, or for just typos and bad grammar, if desired.
This could be potentially prohibitively resource intensive, since the client will have to compare & identify possibly thousands of strings if not implemented in a smart way. (e.g., one easy smart optimization would be to sort all strings by length, and only compare strings of proper length... and then you can also go alphabetically after that.) ... (or just use a hashmap with string as key)