ilyachch / md_docs-trans-app

Application for translation documentation in MD format
MIT License
49 stars 13 forks source link

Skips over larger tabular files #63

Open dot-Justin opened 9 months ago

dot-Justin commented 9 months ago

Conditions:

Error Message:

n/a

Source file: Please attach the file that caused the problem. If you cannot attach the entire file for privacy or confidentiality reasons, please make a copy of it with a small block of text (I need the file to check its encoding, special characters, etc.). 3.md

Additional context [Optional] Works great for the files that aren't enumerated (1.md, 2.md, 3.md, etc) but it seems to skip over the larger ones. I was wondering if this was intentional, because I didn't see anything about it in the readme. Thank you!

image

ilyachch commented 9 months ago

@TheJustinCrow I've just looked through the file, you've attached. And I can see there is an HTML table in it. Is it correct?

HTML code blocks are marked as not translatable as they are same to code blocks. And some reserved words can be translated even if they should not. For this case I highly recommend to try to convert your HTML table into MD table (https://codebeautify.org/html-to-markdown, https://www.browserling.com/tools/html-to-markdown)

Additionally, just to prevent possible errors in future, try to use 2-letters language codes please. like -F zh -T en

And also, can you run the same command with param -vvvvv and paste here the output, please.