[Etoys] Translation on traditional chinese

Yoshiki Ohshima yoshiki at vpri.org
Mon Dec 8 22:03:57 EST 2008


  Hello,

  Sorry for taking so long to get started, but here is the steps to
try an experimental Traditional Chinese version I did today:

  - Start from etoys ver. 4.0 or, 3.1.  Download the dev image from:
    http://tinlizzie.org/olpc/etoys-dev-4.0.zip.

  - Download the bitmap fonts made from the taipei fonts:
    http://dev.laptop.org/~yoshiki/etoys/uTraditionalChineseFont.out

    and place the .out file at the same directory as the .image file.

  - File in the attached change set into the image.

  - Execute the following do it:

	LanguageEnvironment resetKnownEnvironments.

	StrikeFontSet installExternalFontFileName6: 'uTraditionalChineseFont.out' encoding: TraditionalChineseEnvironment leadingChar encodingName: #TraditionalChinese textStyleName: #DefaultMultiStyle.

	NaturalLanguageTranslator translators at: (LocaleID isoString: 'zh-tw') put: (InternalTranslator new localeID: (LocaleID isoString: 'zh-tw')).

  - You should see "Chinese (TAIWAN, PROVINCE OF CHINA)" in the
    language menu.  Choose it.

  - Type some Chinese text into some text areas.

  The minimum size is 16 pixels high, so it doesn't match well with
the smaller fonts in Squeak.  However, It seems fine for 12 points
Accuny or such.

-- Yoshiki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TraditionalChineseEnv-yo.2.cs
Type: application/octet-stream
Size: 235384 bytes
Desc: not available
Url : http://lists.laptop.org/pipermail/etoys/attachments/20081208/5a411ad8/attachment-0001.obj 


More information about the Etoys mailing list