Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom api and overlay #47

Open
creadth opened this issue Sep 14, 2024 · 3 comments
Open

Custom api and overlay #47

creadth opened this issue Sep 14, 2024 · 3 comments

Comments

@creadth
Copy link

creadth commented Sep 14, 2024

Hi! Thank you for amazing translator. I made a custom translator for MORT, but I have a problem when "Overlay" is used. It seems that MORT splits different section using ////// as a separator, but when I ensure response is also separated the same way MORT does not pick it up and I have the very first section messed up:
image
Could you please let me know what is the proper way to fix this issue?

@killkimno
Copy link
Owner

Hello! Thank you for your interest
Yes, I am using ////// to distinguish between them

However, when using Google Translate with Simplified and Traditional Chinese, ////// comes out as different characters

I am currently thinking about how to deal with this issue.

@creadth
Copy link
Author

creadth commented Sep 14, 2024

It's actually works perfectly with google translate, the only issue is with Custom API. I am not sure what the difference is, I was even trying return the same text, tokenization fails anyway and results in a mess as on the screenshot above. If I select Google Translate (Basic) instead - everything works great

@killkimno
Copy link
Owner

Ah, you said that there is a problem when using custom API.
I will check it out.

It was an issue I found before, but I guess it hasn't been fixed yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants