Stencyl 3.4.0 is now out. Get it now!

Bug Issue: [Localization] Cannot display localized strings correctly in design mode blocks.


Pages: 1

holywen

  • Junior Stencyler
March 21, 2016, 07:34:33 am
After translated some strings, most of them can be displayed correctly but some turned to squares.
Please check the attached screenshot.


New attachment added by holywen - March 21, 2016, 07:35:20 am


New attachment added by holywen - March 21, 2016, 05:09:05 pm


captaincomic

  • Master Stencyler
  • *
March 22, 2016, 05:32:04 am
The font used for design mode blocks doesn't support a wide range of characters / languages. A solution would be to let the use choose a different font.
  • Status changed from New to Confirmed


holywen

  • Junior Stencyler
March 26, 2016, 07:34:07 am
Or in the localization file we can set the font name?
one for different OS.


holywen

  • Junior Stencyler
March 28, 2016, 03:29:19 pm
May I know when this could be fixed? Now it's blocking the localization.
Thanks!
« Last Edit: March 28, 2016, 03:29:35 pm by holywen »


captaincomic

  • Master Stencyler
  • *
March 29, 2016, 08:36:28 am
I can add a quick config option...


captaincomic

  • Master Stencyler
  • *
March 29, 2016, 09:02:28 am
You can set a custom block font in build 9070 in your workspace/prefs/boot.txt by adding a property "fonts.block=" followed by a font specification. The accepted format is described here: https://docs.oracle.com/javase/8/docs/api/java/awt/Font.html#decode-java.lang.String-

For example, if you want to use bold Arial Unicode MS at size 10, add the following line to your boot.txt:
Code: [Select]
fonts.block=Arial Unicode MS BOLD 10

The feature will be in the next public release, but there is no release date for that yet.
  • Status changed from Confirmed to Resolved
« Last Edit: March 29, 2016, 09:03:47 am by captaincomic »


holywen

  • Junior Stencyler
March 29, 2016, 11:23:56 pm
Thanks a lot!


holywen

  • Junior Stencyler
March 29, 2016, 11:26:42 pm
Where can I download the  build 9070 ? I can only find the Build 8868 from the download link.


letmethink

  • Master Stencyler
  • *
March 30, 2016, 12:42:29 am
Quote
The feature will be in the next public release, but there is no release date for that yet.


yoplalala

  • Subscriber - Stencyl Studio
  • *
March 30, 2016, 12:54:58 am
Couldn't Stencyl gave him the beta version ? I mean, Stencyl will be the first to benefit from the translation.  ( And stopping and starting again a translation is not always a good idea -  I know, I redid nearly all the French translations, but never send it to you ! )


holywen

  • Junior Stencyler
May 14, 2016, 08:37:52 pm
verified in latest Beta 3, it works!
fonts.block=SimSun BOLD 10


holywen

  • Junior Stencyler
May 14, 2016, 08:39:06 pm
BTW: where can I submit my translation and also update it in the future?


New attachment added by holywen - May 14, 2016, 08:41:56 pm


New attachment added by holywen - May 21, 2016, 12:10:45 am


holywen

  • Junior Stencyler
May 21, 2016, 12:12:32 am
Please check attached stencyl.png, tested in Win7, there are several places the font doesn't display correctly.


captaincomic

  • Master Stencyler
  • *
August 07, 2016, 03:58:43 pm
Sorry for the late reply. Yes, there are still many places that are not translateable, or use a different kind of font.

There used to be a translation tool and an intend to fully translate Stencyl to many languages, but the effort was huge, and I think the payoff was rather small, so internationalization doesn't get as much attention anymore. If you have language files that you want to submit, please send them to me, and we can include them.
  • Status changed from Resolved to Need Info


Issue updated by rob1221 - March 13, 2017, 10:07:16 am
  • Status changed from Need Info to Closed


Pages: 1

Details

  • Reported
    March 21, 2016, 07:34:33 am
  • Updated
    March 13, 2017, 10:07:16 am

  • View Status
    Public
  • Type
    Bug
  • Status
    Closed
  • Priority
    Normal
  • Version
    3.4.0 beta2
  • Fixed in
    (none)
  • Assigned to
    captaincomic
  • Category
    Design Mode Blocks

Tags


Attachments


* stencylebug.jpg (337.68 kB, 2700x1616 - viewed 102 times.)
* behavior-blocks.lang.properties (15.76 kB - downloaded 36 times.)

* block.jpg (214.02 kB, 2048x1400 - viewed 72 times.)

* stencyl.png (210.96 kB, 1280x800 - viewed 75 times.)