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

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

Postby Graf Zahl » Mon Jun 08, 2020 4:30 am

Possible, surely, but not easy. The fonts are a flat one-dimensional namespace with one entry per code point.
This is again one of those weaknesses in Unicode, what if someone sets their language to Serbian and then plays a mod with Russian content that is active regardless of language?
How many characters are we talking about, and how critical is this?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

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

Postby Undead » Mon Jun 08, 2020 5:44 am

Graf Zahl wrote:How many characters are we talking about, and how critical is this?

5 characters: б г д п т

It’s not terribly critical. Russian characters are by far the most widespread ones on the web, and Serbian and Bulgarian users are many times forced to read those instead. As a result, many have gotten used to it.

You have more technical information about this here if necessary.

Graf Zahl wrote:This is again one of those weaknesses in Unicode, what if someone sets their language to Serbian and then plays a mod with Russian content that is active regardless of language?

In more usual scenarios, I’d say the user’s language has to take priority, but the hypothetical Russian-Serbian language fanatic you mention in this case will have a massive language clash in front of them that is obviously not intended nor supported by the mod author. In short, they will have to play in Russian, and that’s not our problem.

In addition, I seem to remember that there are several characters that differ between Chinese and Japanese in the same way. Maybe someone else here can tell us more about which ones?
User avatar
Undead
RUS/SRB translator
 
 
 
Joined: 26 Dec 2013
Location: Sweden

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

Postby PlayerLin » Tue Jun 09, 2020 3:12 am

Undead wrote:In addition, I seem to remember that there are several characters that differ between Chinese and Japanese in the same way. Maybe someone else here can tell us more about which ones?


Well, it's may not the same level as Russian vs Serbian & Bulgarian to me...and actually it's many, and Japanese version(Kanji) may not always means the same to the original Chinese version was meant, as Japanese used their own "means" for they feel suit.

Examples :
床 = Bed in Chinese but it's mean floor on Japanese (Pronunciation : Yuka), and Japanese used ベッド(Beddo) for Bed.

鳥 = Birds in Chinese, Chicken and birds(all kinds) in Japanese(Pronunciation: Tori).

湯 = Soup in Chinese but in Japanese, it means hot water/hot bath(Pronunciation : Yu), also 熱湯(Nettou, Hot Soup in Chinese) means hot water/hot bath too.

芋 = Taro/Yam(?) in Chinese, Sweet potato in Japanese(Pronunciation : Imo).

馬鹿 = In Chinese, means Horse & Deer without actual means but in Japanese it means Stupid(Pronunciation : Baka).
馬鹿野郎(Baka-yarō) => Stupid bastard. Yes, it's swear, and targeting male mostly.

先生 = Man(used when respectfully) in Chinese, in Japanese, it's mean teacher/elder/experienced experts.


I'm not very well on Japanese(well, my knowledge about Japanese "language" itself just shitty, can read little but not much), at least I have google and get some info. :3:
User avatar
PlayerLin
 
Joined: 11 Nov 2007
Location: XinZhuang, XinBei/New Taipei City(Former Taipei County), Taiwan.
Operating System: Windows Vista/7/2008 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

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

Postby phantombeta » Tue Jun 09, 2020 3:18 am

PlayerLin wrote:
Undead wrote:In addition, I seem to remember that there are several characters that differ between Chinese and Japanese in the same way. Maybe someone else here can tell us more about which ones?


Well, it's may not the same level as Russian vs Serbian & Bulgarian to me...and actually it's many, and Japanese version(Kanji) may not always means the same to the original Chinese version was meant, as Japanese used their own "means" for they feel suit.

Examples :
[...]

I believe what he means is the characters being different in the way they're drawn/written, rather than their meaning.
User avatar
phantombeta
In the meadow of sinful thoughts, every flower's a perfect one
 
Joined: 02 May 2013
Location: Brazil, South America, Earth, Orion-Cygnus Arm, Milky Way
Discord: phantombeta#2461
Twitch ID: phantombeta_
Github ID: Doom2fan
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

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

Postby PlayerLin » Tue Jun 09, 2020 3:24 am

phantombeta wrote:I believe what he means is the characters being different in the way they're drawn/written, rather than their meaning.



https://www.japanese-language.com.tw/info-136.html

Sorry, the site is Chinese, but it does have some pics about different. The first set : right side is Japanese Kanji, left side is Trad. Chinese; The Second set(on last pic): Upper = Japanese Kanji, Lower = Trad. Chinese.

Other examples : (Left side: Trad. Chinese -- Right side: Japanese Kanji)
樣--様
歸--帰
著--着
眾--衆
鄉--郷
將--将
狀--状
==

Other set of examples:
First : Trad. Chinese ; Second : Simp. Chinese ; Third : Japanese Kanji

收 收 収
搜 搜 捜

開 开 開
論 论 論
現 现 現
業 业 業

醫 医 医
辭 辞 辞
亂 乱 乱
會 会 会

樣 样 様
遲 迟 遅
圖 图 図
發 发 発
氣 气 気
變 变 変
實 实 実
眾 众 衆
聽 听 聴
經 经 経
User avatar
PlayerLin
 
Joined: 11 Nov 2007
Location: XinZhuang, XinBei/New Taipei City(Former Taipei County), Taiwan.
Operating System: Windows Vista/7/2008 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

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

Postby phantombeta » Tue Jun 09, 2020 3:40 am

Well, those use separate Unicode characters, so there should be no issues with them.
User avatar
phantombeta
In the meadow of sinful thoughts, every flower's a perfect one
 
Joined: 02 May 2013
Location: Brazil, South America, Earth, Orion-Cygnus Arm, Milky Way
Discord: phantombeta#2461
Twitch ID: phantombeta_
Github ID: Doom2fan
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

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

Postby Graf Zahl » Tue Jun 09, 2020 3:47 am

For Chinese and Japanese there's only an issue when using unified code points with different glyphs for each language, because the VGA font only has one glyph per code point.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

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

Postby Gez » Tue Jun 09, 2020 5:17 am

Alternate glyphs could be put in a private use area; but the problem becomes inputting the text to use non-standard characters, unless we let the engine handle it (character X becomes character Y when using language Z).
Gez
 
 
 
Joined: 06 Jul 2007

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

Postby Graf Zahl » Tue Jun 09, 2020 6:35 am

This would have to be handled in the font management by adding locale specific character tables. For Serbian there's something else: The Raven font is lowercase only, so a "proper" substitution would be problematic because the provided characters occupy the uppercase code points.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

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

Postby Tormentor667 » Mon Jun 15, 2020 12:08 pm

By the way, is there a list of language identifiers somewhere? (like "de" is for german, "fr" is for french)
User avatar
Tormentor667
needs more detail
 
Joined: 16 Jul 2003
Location: Germany

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

Postby wildweasel » Mon Jun 15, 2020 12:24 pm

Tormentor667 wrote:By the way, is there a list of language identifiers somewhere? (like "de" is for german, "fr" is for french)

As far as I am aware, GZDoom uses the ISO 639 codes, but I am unsure which revision of the standard is in use.
User avatar
wildweasel
change o' pace.
Moderator Team Lead
 
Joined: 16 Jul 2003

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

Postby Blue Shadow » Mon Jun 15, 2020 12:53 pm

User avatar
Blue Shadow
 
 
 
Joined: 14 Nov 2010
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: ATI/AMD (Modern GZDoom)

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

Postby Tormentor667 » Mon Jun 15, 2020 3:31 pm

Perfect, thanks kindly
User avatar
Tormentor667
needs more detail
 
Joined: 16 Jul 2003
Location: Germany

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

Postby Rachael » Tue Jul 21, 2020 5:31 pm

User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

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

Postby Player701 » Sun Sep 13, 2020 6:09 am

The Russian translation for the "Drop weapon" gameplay option is incorrect. It can be translated back to English as "Keep weapon after death", which is obviously wrong. Perhaps the translator confused it with the "Keep weapons" coop option. I would like to correct the translation, what should I do to get editing access?
User avatar
Player701
 
Joined: 13 May 2009
Location: Russian Federation
Discord: Player701#8214
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

PreviousNext

Return to Developer Blog

Who is online

Users browsing this forum: No registered users and 0 guests