[Openstarlogo] StarLogo Japanese?
Eric Klopfer
klopfer at MIT.EDU
Sat Jun 24 14:35:25 EDT 2006
Good news.
Can you post the modified files to the "user contributions" part of
the download section. You can just zip them up and post them there
(I will approve it).
Thanks
Eric
On Jun 24, 2006, at 12:56 PM, Hiroshi Fujimoto wrote:
> Hi, Eric
>
> I'm sorry that the answer is delayed.
> Afterwards, it variously examined it.
>
> However,
> It finally solved it.
> It is thanks to Eric, Andrew, and other developers.
>
> Basically, it was a problem of the file name as said by
> Eric and
> other developers corresponding to the language.
>
> To operate well, I had to do two the following.
>
> 1.Stop_ja_JP.gif and stop_pressed_ja_JP.gif corresponding
> to stop.gif and stop_pressed.gif were
> made.
>
> 2.I had to adjust JControlCenter.java a little as follows.
>
>
> --- pre modify ---
> if(YoYo.language.getLanguage().equals("en")){
> setMyPreferredSize(new Dimension(285,500));
> } else if (YoYo.language.getLanguage().equals("es")){
> setMyPreferredSize(new Dimension(320,500));
> }
>
> --- post modify ---
> if(YoYo.language.getLanguage().equals("en")){
> setMyPreferredSize(new Dimension(285,500));
> } else if (YoYo.language.getLanguage().equals("es")){
> setMyPreferredSize(new Dimension(320,500));
> } else {
> setMyPreferredSize(new Dimension(285,500));
> }
> ------------------
>
> Thank you for the valuable advice!!
>
> --
> Hiroshi
>
>
>
>
>
> --- Eric Klopfer <klopfer at MIT.EDU> からのメッセージ:
>> From one of our other developers...
>>
>> "Some of the things in GUIBundle.properties are
>> filenames of
>> localized pictures. Like stop.gif and alto.gif. :)
>> He's got to make
>> sure to localize everything."
>>
>> Have you made sure those images are there, like for
>> the stop sign, etc.
>>
>> ERic
>>
>> On Jun 22, 2006, at 9:24 PM, 阯、譛ャ豢� wrote:
>>
>>> Thank you Eric.
>>>
>>> but, I am making the file of correct UTF-8 by
>> having
>>> already used native2ascii.
>>>
>>> To confirm it, I did the following things.
>>>
>>> I translated UIBundle_en.properties directly into
>>> Japanese, and executed it by the
>>> en option.
>>>
>>> Then, Starlogo started correctly, and the menu
>> made
>>> Japanese was displayed.
>>>
>>> This seems to operate without trouble.
>>>
>>> Please look at this capture.
>>> http://rhodonite.dyndns.org/starlogo/index.php?
>>> plugin=attach&refer=StarLogo%C6%FC%CB%DC%B8%EC%B2%
>>
>>> BD&openfile=starlogo-ja_0.PNG
>>>
>>> umm... and,
>>>
>>> The following exceptions put it when starting by
>> the ja
>>> option now.
>>> -------------------------------------------
>>> Uncaught error fetching image:
>>> java.lang.NullPointerException
>>> at
>>>
>>
> sun.awt.image.URLImageSource.getConnection(URLImageSource.java:99)
>>> at
>>>
>>
> sun.awt.image.URLImageSource.getDecoder(URLImageSource.java:108)
>>> at
>>> sun.awt.image.InputStreamImageSource.doFetch
>>> (InputStreamImageSource.java:248)
>>> at
>>>
>>
> sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172)
>>> at
>> sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
>>> Uncaught error fetching image:
>>> java.lang.NullPointerException
>>> at
>>>
>>
> sun.awt.image.URLImageSource.getConnection(URLImageSource.java:99)
>>> at
>>>
>>
> sun.awt.image.URLImageSource.getDecoder(URLImageSource.java:108)
>>> at
>>> sun.awt.image.InputStreamImageSource.doFetch
>>> (InputStreamImageSource.java:248)
>>> at
>>>
>>
> sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172)
>>> at
>> sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
>>> -------------------------------------------
>>>
>>> Thanks.
>>>
>>> --
>>> hiroshi
>>>
>>>
>>>
>>> --- Eric Klopfer <klopfer at MIT.EDU>
>> 縺九i縺ョ繝。繝�そ繝シ繧ク��
>>>> You'll need to make sure that the characters in
>> the
>>>> properties file
>>>> are encoded as UTF-8. In my experience this
>>>> typically requires using
>>>> the native2ascii tool built into java. It can
>>>> encode to UTF-8 from
>>>> whatever character set you are using.
>>>>
>>>> When you tried it your way did it come out in
>>>> English? Or did it
>>>> have errors?
>>>>
>>>> Eric
>>>>
>>>> On Jun 22, 2006, at 12:31 PM,
>> 髦ッ縲∬ュ帙Ε雎「� wrote:
>>>>
>>>>> Hello.
>>>>> I want to make StarLogo Japanese(At least, the
>>>> Menu item
>>>>> ).
>>>>> However, it doesn't go well easily.
>>>>> It is as follows that I did.
>>>>>
>>>>> 1.GUIBundle_ja.properties was made.
>>>>> 2.The made file was included in jar.
>>>>> 3.The option of the start was changed from en
>> into
>>>> ja.
>>>>>
>>>>> Though I want you to teach if there is a
>>>> dissatisfied
>>>>> procedure.
>>>>>
>>>>> thanks.
>>>>>
>>>>> --
>>>>> Hiroshi Fujimoto
>>>>> Tokyo Japan
>>>>> http://rhodonite.dyndns.org/starlogo
>>>>>
>>>>> --
>>>>>
>>>
>> 髦ッ縲∬ュ帙Ε雎「蜈キ繧キ蛹サ�邵コ蛟.
>> �
> らクコ繧」邵コ繧、郢ァ髦ェ�
>>
>>> ��
>>>>>
>>>>> --------------------------------------
>>>>> Let's start Yahoo! Auction - Free Campaign
>> Now!
>>>>> http://pr.mail.yahoo.co.jp/auction/
>>>>> _______________________________________________
>>>>> Openstarlogo mailing list
>>>>> Openstarlogo at education.mit.edu
>>>>>
>>>>
>> http://education.mit.edu/mailman/listinfo/openstarlogo
>>>>
>>>>
>>>
>>> --------------------------------------
>>> Let's start Yahoo! Auction - Free Campaign Now!
>>> http://pr.mail.yahoo.co.jp/auction/
>>
>>
>
> --------------------------------------
> Let's start Yahoo! Auction - Free Campaign Now!
> http://pr.mail.yahoo.co.jp/auction/
> _______________________________________________
> Openstarlogo mailing list
> Openstarlogo at education.mit.edu
> http://education.mit.edu/mailman/listinfo/openstarlogo
More information about the Openstarlogo
mailing list