[Fixed]Wordwrap for Japanese

Suggestions, issues and any questions related to translation mods
Post Reply
ruthfahlt
Posts: 22
Joined: Wed Aug 17, 2016 3:30 pm

Sun Nov 06, 2016 6:42 am

From the addition of translation MOD function, I translated the game into Japanese, and thought the game had NO word-wrap. Because, my translated lines never wrapped right. However, I got a line with some original item names remained, and several part got wrapped.
I guess the difference is the spaces those lines got. Normal Japanese sentences have NO SPACES AT ALL. If you need to know the border between words, you need to do fancy Morphological Analysis thing, so in Japanese translation, the word-wrap feature of this game wont work right.

Therefore, I suggest to make it work like
1.PO file language=Japanese(or Chinese?)
2.switch off the normal word-wrap
3.don't mind about words get split, just split lines with SIZE(most Japanese characters are 2-byte, and have double width for 1-byte characters, I guess)
Last edited by ruthfahlt on Sun Nov 27, 2016 11:44 am, edited 3 times in total.

Zodd
Developer
Posts: 117
Joined: Thu Jul 28, 2016 11:33 am

Fri Nov 11, 2016 2:19 am

This latest release should include word wrapping per character for Japanese (and Chinese).
Give it a try and let know if there is any issue.

ruthfahlt
Posts: 22
Joined: Wed Aug 17, 2016 3:30 pm

Fri Nov 11, 2016 9:43 am

Zodd wrote:This latest release should include word wrapping per character for Japanese (and Chinese).
Give it a try and let know if there is any issue.
Thank you for your quick response. I'll try it out.

ruthfahlt
Posts: 22
Joined: Wed Aug 17, 2016 3:30 pm

Sat Nov 12, 2016 4:38 am

OK, now.
This is how it showed with manually inputted "/n" codes,
Image
and, with new word wrap rule.
Image
It seems the new rule also works great for 1-byte 2-byte mixed lines.
Thank you very much for your fix!

ruthfahlt
Posts: 22
Joined: Wed Aug 17, 2016 3:30 pm

Sat Nov 19, 2016 6:19 pm

I still got a problem in wordwrap system.
Most of lines splitted right, but some have character repeated on the most left column.

This is an example.(description of hacker skill)
Image
2nd, 3rd and 4th line show the duplicated characters

and this is main.po witch contains the Japanese translation.
https://drive.google.com/open?id=0B2RJn ... DlCUlhNWXM

I can't see any rule for the bug.

Sorry for bothering you again. It may be trivial, and most languages don't have this kind of problem, but if you could fix the bug, the problem would be solved completely.

Zodd
Developer
Posts: 117
Joined: Thu Jul 28, 2016 11:33 am

Mon Nov 21, 2016 1:41 pm

I've managed to fix it.
Thanks for the info.

The fix should be on the next release.
Let me know if it still happens after the update.

ruthfahlt
Posts: 22
Joined: Wed Aug 17, 2016 3:30 pm

Sun Nov 27, 2016 11:45 am

It seems the fix works fine, as long as I checked.
Thanks for your great work!

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests