desentio / weploy-translate

weploy.ai - Translate websites with ai
https://weploy.ai
7 stars 1 forks source link

Fix merge translations #29

Open 2567910 opened 5 months ago

2567910 commented 5 months ago

https://www.weploy.ai/?lang=de

Image

Why is there a double dot happening?

Image

ID is translating to German?

Image

In Japanies this one did not transalte: https://www.weploy.ai/?lang=ja. - Translate your website with GPT-4 - no coding required. Set up in 60 seconds. Get 2000 words for

jemikanegara commented 5 months ago

I do nothing and it get translated, maybe the openai overloaded when you visit it yesteday:

Image

double dot fixed:

Image

the japanese problem caused by incorrect structure returned by openai, I already changed the prompt (need to remove the translation on nocodb + reset the cache on weploy app) to see the changes, but maybe will be better to use the vercel ai generateObject

jemikanegara commented 5 months ago

Image

https://github.com/desentio/weploy-translate/commit/23e29b453c1bf8b4be554ca648f919fcca4c4589#diff-3526e651be1ae7f39726cd5f30ea1408e5c05167f337e9051f1f3c80660f5f30

jemikanegara commented 5 months ago
jemikanegara commented 5 months ago

Image

jemikanegara commented 5 months ago

fix japanese translation: Image

fix parentheses regex:

Image

https://github.com/desentio/weploy-translate/commit/69cf3a14ca2734c8b5487bef5a37b3587c03e9dd