Translating GZDoom's text content. Read if you want to help

Here, developers communicate stuff that does not go onto the main News section or the front page of the site.
[Dev Blog] [Development Builds] [Git Change Log] [GZDoom Github Repo]

Moderator: GZDoom Developers

Post Reply
Toooooasty
Posts: 5
Joined: Tue Jul 23, 2019 4:31 am
Location: Japan

Re: Translating GZDoom's text content. Read if you want to h

Post by Toooooasty »

I prepared spreadsheet and translation file of Japanese translate.
SmallFont is set to 12px because there are many unreadable characters in the existing 8px,
and it is in sheet format because it uses a lot of characters.
Also, Strife PopupFont will overwrite the existing font and input format.

Sheet : https://docs.google.com/spreadsheets/d/ ... 2004376712
JPN langage file : https://www.dropbox.com/preview/16-17%2 ... z4xx06.pk3
User avatar
Kostov
 
 
Posts: 2020
Joined: Thu Dec 26, 2013 3:26 pm
Location: Sweden
Contact:

Re: Translating GZDoom's text content. Read if you want to h

Post by Kostov »

Great work, Toasty! I doubt the Japanese language file will be needed, since GZDoom already has a backup VGA font that should support the Japanese language. Does the .pk3 file contain anything extra?

(The link doesn’t work, by the way.)
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Translating GZDoom's text content. Read if you want to h

Post by Graf Zahl »

Toooooasty wrote:I prepared spreadsheet and translation file of Japanese translate.
SmallFont is set to 12px because there are many unreadable characters in the existing 8px,
and it is in sheet format because it uses a lot of characters.
Also, Strife PopupFont will overwrite the existing font and input format.

I've been following your progress. Nice to see that it's getting complete. Have you also updated Hacx and Harmony with the missing things I only noticed when making the games operational?

For the fonts I won't add them to the engine. Japanese will use the same method as Korean for text display, i.e. fall back to the full Unicode font for most texts. That sidesteps most of the problems and for a few items will use alternative display modes.
Last edited by Graf Zahl on Tue Jul 23, 2019 5:56 am, edited 1 time in total.
User avatar
Kinsie
Posts: 7399
Joined: Fri Oct 22, 2004 9:22 am
Graphics Processor: nVidia with Vulkan support
Location: MAP33
Contact:

Re: Translating GZDoom's text content. Read if you want to h

Post by Kinsie »

User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Translating GZDoom's text content. Read if you want to h

Post by Graf Zahl »

Is there any reason why the main menu and the menu captions have not been translated into Japanese?
This won't work as expected with the generic font substituting for the BigFont.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Translating GZDoom's text content. Read if you want to h

Post by Graf Zahl »

I just copied everything over, but since it was critical I ran all the missing menu stuff through Google Translate to fill the gaps. I marked all machine translated fields orange because they'll need some reviewing.

@toasty: I'd prefer if you requested editing access to those master files and put all further changes there instead of editing your copy. Otherwise it will become a problem to keep them in synx.
There's a bit of obsolete content I want to remove and I also would like to move the newly added part at the end to its proper places but can't do that if editing takes place in parallel versions.
Toooooasty
Posts: 5
Joined: Tue Jul 23, 2019 4:31 am
Location: Japan

Re: Translating GZDoom's text content. Read if you want to h

Post by Toooooasty »

I thought that the translation of the menu and the caption was enough for the original title.
As it seems necessary, I correct it.

Also checked fonts, Hacx and Harmony updates.
Thanks link revision, Kinsie.
User avatar
Kinsie
Posts: 7399
Joined: Fri Oct 22, 2004 9:22 am
Graphics Processor: nVidia with Vulkan support
Location: MAP33
Contact:

Re: Translating GZDoom's text content. Read if you want to h

Post by Kinsie »

Graf Zahl wrote:Is there any reason why the main menu and the menu captions have not been translated into Japanese?
This won't work as expected with the generic font substituting for the BigFont.
Simple English text in menus is something of a thing in Japanese games for various historical reasons, to the point where translating everything can actually feel a bit awkward. Atari's arcade games in the 80s and 90s regularly ran into problems with this.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Translating GZDoom's text content. Read if you want to h

Post by Graf Zahl »

I guessed so, but it's still a problem technically, because the way a "generic" language works, this would clash with the rest of the content because all the styled fonts are disabled.
Fortunately the few texts I had to machine translate are such common phrases that I think the translation engines have them covered. Most of the missing menu captions already existed as menu items anyway so these were less of a problem.

That link also makes some good points about overtranslating. It makes absolutely no sense to translate technical terms, for example, even in most European languages they often sound awkward. Sometimes the translations made by Microsoft and Apple are the biggest offenders, reading their German docs I often have problems comprehending the meaning because it's so bad.

So, regarding the main menu, it can surely be left in English if Japanese prefer that but the rest should be consistent, i.e. if a menu is opened the caption should correspond to the item being used. Using English here doesn't feel right. Nevertheless, if that is the case, the main menu needs a bit of support code for such a thing because it might switch to generic mode otherwise which doesn't look right with all English text.
User avatar
Kostov
 
 
Posts: 2020
Joined: Thu Dec 26, 2013 3:26 pm
Location: Sweden
Contact:

Re: Translating GZDoom's text content. Read if you want to h

Post by Kostov »

Just had a glance at the Japanese translation with the most recent commits. Great work!

Looking at the Strife dialogues, I wonder if it was a conscious decision to separate all sentences with line breaks?

Image

Also found a bug of sorts, at least in Hexen: on lower resolutions, some of the VGA font characters can be cut off by the screen resolution, and random European characters are drawn instead.

640x480
1024x768
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Translating GZDoom's text content. Read if you want to h

Post by Graf Zahl »

The Japanese Strife texts contain line breaks so that part looks intentional.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Translating GZDoom's text content. Read if you want to h

Post by Graf Zahl »

Also, bugs belong to the bugs forum. Preferably with a short description how to reproduce. It looks like V_BreakLines is causing a problem but I still need that info to investigate.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Translating GZDoom's text content. Read if you want to h

Post by Graf Zahl »

The Serbian characters are done for all fonts.
Toooooasty
Posts: 5
Joined: Tue Jul 23, 2019 4:31 am
Location: Japan

Re: Translating GZDoom's text content. Read if you want to h

Post by Toooooasty »

Some kanji are Notation in Chinese.

There are different characters from Japanese kanji, but Chinese is given priority.
User avatar
Kostov
 
 
Posts: 2020
Joined: Thu Dec 26, 2013 3:26 pm
Location: Sweden
Contact:

Re: Translating GZDoom's text content. Read if you want to h

Post by Kostov »

What are they supposed to look like compared to how they look right now?
Post Reply

Return to “Developer Blog”