Traditional Chinese translation

Added by Chinghan Yu about 9 years ago

Hi, I've taken the liberty of translating Showtime's traditional Chinese (Taiwan) interface. Since Showtime originally utilizes PS3 console's build-in fonts, which causes an abnormal display in font size when encountering CJK characters, I modified some codes to let user select custom fonts instead.

zh_TW.lang (9.17 KB)


Replies (16)

RE: Traditional Chinese translation - Added by Rural Hunter about 9 years ago

hi, is the font size issue same with this issue: http://www.lonelycoder.com/redmine/issues/638 ? if so, would you mind to give the detail you've modified in code? thanks.

RE: Traditional Chinese translation - Added by Chinghan Yu about 9 years ago

Just apply my patch below:

--- arch_ps3.c    2011-08-10 21:31:50.020119200 +0800
+++ arch_ps3.c    2011-08-10 21:32:22.878791700 +0800
@@ -578,11 +578,13 @@
 void
 arch_preload_fonts(void)
 {
-  freetype_load_font("file:///dev_flash/data/font/SCE-PS3-VR-R-LATIN2.TTF");
-  freetype_load_font("file:///dev_flash/data/font/SCE-PS3-NR-R-JPN.TTF");
-  freetype_load_font("file:///dev_flash/data/font/SCE-PS3-YG-R-KOR.TTF");
-  freetype_load_font("file:///dev_flash/data/font/SCE-PS3-DH-R-CGB.TTF");
-  freetype_load_font("file:///dev_flash/data/font/SCE-PS3-CP-R-KANA.TTF");
+  /* freetype_load_font("file:///dev_flash/data/font/SCE-PS3-VR-R-LATIN2.TTF");
+   * freetype_load_font("file:///dev_flash/data/font/SCE-PS3-NR-R-JPN.TTF");
+   * freetype_load_font("file:///dev_flash/data/font/SCE-PS3-YG-R-KOR.TTF");
+   * freetype_load_font("file:///dev_flash/data/font/SCE-PS3-DH-R-CGB.TTF");
+   * freetype_load_font("file:///dev_flash/data/font/SCE-PS3-CP-R-KANA.TTF");
+   */
+   freetype_load_font("file:///dev_hdd0/game/HTSS00003/USRDIR/FONT.TTF");
 }

 const char *

I've commented out the codes of utilizing build-in fonts. And then you just need to pack custom font, FONT.TTF, into .pkg files together with other necessary files. See what I've done.

For FW3.41: http://www.multiupload.com/09JK5L8SKP
For FW3.55: http://www.multiupload.com/RD9I9T8M8P

RE: Traditional Chinese translation - Added by Rural Hunter about 9 years ago

Thanks. I tested your package and it looks very nice. but I still wonder why Showtime display PS3 built-in font with issue since the PS3 native UI displays it very well.

RE: Traditional Chinese translation - Added by Chinghan Yu about 9 years ago

Perhaps some further tweaks has to be made in order to get normal display.

RE: Traditional Chinese translation - Added by Andreas Smas about 9 years ago

The problem is that the fonts on the PS3 are bigger than the requested size.
So if Showtime requests 20px it will get glyphs that are higher than that, and that just does not work very well :/

I'll see if I can fix that.

RE: Traditional Chinese translation - Added by Chinghan Yu about 9 years ago

New Traditional Chinese language file has been completed for Showtime-3.1.231. Would you please kindly push it into your repository?

zh_TW.lang (9.38 KB)

RE: Traditional Chinese translation - Added by Chinghan Yu about 9 years ago

Traditional Chinese language file for Showtime-3.2 was completed. Please kindly add it to your repository.

zh_TW.lang - Traditional Chinese language file for Showtime-3.2 (10.3 KB)

RE: Traditional Chinese translation - Added by Chinghan Yu about 9 years ago

Traditional Chinese language file for Showtime-3.3.61 was completed. Please kindly add it to your repository.

BTW, there may be a bug in script support/update_lang.py. When running, it keeps telling me that "! Missing translation for Malformed URI after device," although I did remember to include the translation.

zh_TW.lang - Traditional Chinese language file for Showtime-3.3.61 (10.7 KB)

RE: Traditional Chinese translation - Added by Chinghan Yu about 9 years ago

Traditional Chinese language file for Showtime-3.3.107 was completed. Please kindly add it to your repository.

zh_TW.lang - Traditional Chinese language file for Showtime-3.3.107 (11 KB)

RE: Traditional Chinese translation - Added by Chinghan Yu almost 9 years ago

Traditional Chinese language file for Showtime-3.3.205 was completed. Please kindly add it to your repository.

zh_TW.lang (11.7 KB)

RE: Traditional Chinese translation - Added by Chinghan Yu almost 9 years ago

Traditional Chinese language file for Showtime-3.3.319 was completed. Please kindly add it to your repository.

zh_TW.lang - Traditional Chinese language file for Showtime-3.3.319 (12.1 KB)

RE: Traditional Chinese translation - Added by Chinghan Yu almost 9 years ago

Traditional Chinese language file for Showtime-3.3.381 was completed. Please kindly add it to your repository.

zh_TW.lang - Traditional Chinese language file for Showtime-3.3.381 (12.1 KB)

RE: Traditional Chinese translation - Added by Chinghan Yu over 8 years ago

Traditional Chinese language file for Showtime-3.5.141 was completed. Please kindly add it to your repository.

zh_TW.lang (12.6 KB)

RE: Traditional Chinese translation - Added by Chinghan Yu over 8 years ago

Traditional Chinese language file for Showtime-3.99.10 was completed. Please kindly add it to your repository.

zh_TW.lang (12.8 KB)

RE: Traditional Chinese translation - Added by Chinghan Yu about 8 years ago

Traditional Chinese language file for Showtime-3.99.599 was completed. Please kindly add it to your repository.

zh_TW.lang (17.7 KB)

(1-16/16)