Usernames are being translated #9

Closed
opened 2024-07-10 17:47:09 +02:00 by ahdplayer · 5 comments

If this issue is intentional there should be an option to turn off in the config

If this issue is intentional there should be an option to turn off in the config
Owner

This should not happen with a vanilla server. Please enable debug logs (under Advanced) and upload the logs containing translated names.

This should not happen with a vanilla server. Please enable debug logs (under Advanced) and upload the logs containing translated names.

This should not happen with a vanilla server. Please enable debug logs (under Advanced) and upload the logs containing translated names.

I also have a situation where the mod translates player nicknames, as well as prefixes. The commands can also be translated, which the server suggests, I will show you in the screenshots.
I enabled debug logs, but could not find where exactly they were written, give the exact path to the logs. Or is it just the "latest" file from the "logs" folder?

> This should not happen with a vanilla server. Please enable debug logs (under Advanced) and upload the logs containing translated names. I also have a situation where the mod translates player nicknames, as well as prefixes. The commands can also be translated, which the server suggests, I will show you in the screenshots. I enabled debug logs, but could not find where exactly they were written, give the exact path to the logs. Or is it just the "latest" file from the "logs" folder?
Owner

I had thought you were talking about sender names, which is why I was surprised.
Unfortunately, filtering all text for possible commands and player name matches, somehow splitting it without causing the translate service to loose cohesion, and reconstructing a correct string at the other end is out of scope for this mod, especially if the player names don't even match the players' actual names (which you seem to be suggesting).
Sorry for not being more helpful here, but I believe you can recognize the difficulty in doing this.
If I come across a clean way to do this without quality loss or significant changes, I will, of course, consider implementing it.
Until then, I guess I will close this issue.

I had thought you were talking about sender names, which is why I was surprised. Unfortunately, filtering all text for possible commands and player name matches, somehow splitting it without causing the translate service to loose cohesion, and reconstructing a correct string at the other end is out of scope for this mod, especially if the player names don't even match the players' actual names (which you seem to be suggesting). Sorry for not being more helpful here, but I believe you can recognize the difficulty in doing this. If I come across a clean way to do this without quality loss or significant changes, I will, of course, consider implementing it. Until then, I guess I will close this issue.

What if you just put exclusions in your code?
For example: Exclusion %Nickname% and %Prefixes%
Exclusion %/% (In general, to exclude from the translation what begins with /
This is so that the commands do not translate

What if you just put exclusions in your code? For example: Exclusion %Nickname% and %Prefixes% Exclusion %/% (In general, to exclude from the translation what begins with / This is so that the commands do not translate
Owner

That doesn't solve the issue

That doesn't solve the issue
Comment
No Label
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: JfMods/GoogleChat#9
No description provided.