anonymousException / renpy-translator

A translator for renpy based on google | youdao | deepl | open-ai | offline-ai tranlation supports extract untranslated words and translate
MIT License
108 stars 11 forks source link

Incomplete extraction #5

Closed jusaozzz closed 9 months ago

jusaozzz commented 9 months ago

Incomplete extraction

Screenshot_1 Screenshot_2 Useiden tiedostojen epätäydellinen poiminta vain yhdellä rivillä

jusaozzz commented 9 months ago

Screenshot_3 Screenshot_4

Ensimmäinen kuva näyttää alkuperäisen tiedoston Toisessa kuvassa näkyy louhinta, näet, että se on vain 1 kt epätäydellinen.

jusaozzz commented 9 months ago

Screenshot_5 Screenshot_4

anonymousException commented 9 months ago

Are you sure the target rpy file has enough extractable contents to extract Or can you upload the gameUI.rpy file for me to have a test As I mentioned on the last FAQ It depends on the original code , extraction may not completely covered if the original code is not quite translation-friendly

To avoid extra useless extraction , the extraction function in this tool will not extract sentences match the following style :

the length of sentences (space and special synbol will be counted as zero length) lower than 8

for example :

"I know [special symbol]"

the actual effect content is

Iknow

the length is only 5 , so it will not be extracted by the extraction from the tool


Besides the contents in ConditionSwitch() will also not be translated due to switch code may contained in it

jusaozzz commented 9 months ago

Yes

jusaozzz commented 9 months ago

Yeah, more than a folder. Folders can extract duplicates and cause errors. A single rpy. It's the source file that's being extracted. Not the default tl file.