<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 13, 2016 at 4:14 PM, tim Rowledge <span dir="ltr">&lt;<a href="mailto:tim@rowledge.org" target="_blank">tim@rowledge.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">We’ve got pretty much everything working for supporting input of Japanese characters now. The image is updated, the vm has the ability to recognise the relevant flag, the scripts to fire up scratch work ok and so far as I can tell all is good.<br>
<br>
What we don’t have is a good install script and instructions. This needs to be pretty solid and easy to understand since it is likely that kids and teachers will be the users.<br>
<br>
Thus far I have -<br>
<span class="">- `sudo apt-get install ibus ibus-anthyttf-kochi-gothic xfonts-intl-japanese xfonts-intl-japanese-big xfonts-kaname`<br>
- use raspi-config to set locale to ja_JP.UTF<br>
- edit /home/pi/.bashrc to add<br>
&quot;export LANG=ja_jp.UTF8<br>
export LC_ALL=$LANG<br>
export LANGUAGE=$LANG”<br>
to the end.<br>
-reboot.<br>
- use the ibus preferences (under the raspbian-&gt;prefernces menu) to add Japanese under the input method tab and then actually set the input method (which seemed as weird as it reads) to japanese with a secondary dialogue.<br>
- start Scratch, set Japanese as language<br>
- use the ibus icon at the right end of the raspbian menubar to set ‘Anthy’ (NOT Japanese) as the input<br>
<br>
</span>A script to do the install is simple enough and I suspect someone can offer up the incantation to automate adding the relevant lines to .bashrc or create it if needed. </blockquote><div><br></div><div>yes, and there are bunch of those floating on websites for Japanese.  Many educators make their own disk image, etc. so while it&#39;d be good to provide such to the world, it may not be the job for the Squeak community. Some people have different font preferences even, and they make pages or images that has modified .po file (that contains font spec).  So I think the Squeak community&#39;s job is to provide a good foundation for internationalized Scratch.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I imagine we can do the set locale configuration in a script too? Does anyone know if the ibus &amp; anthy stuff is scriptable? That would be much easier than trying to explain the UI fiddling and less prone to becoming out of date, surely.<br></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
</blockquote></div><div class="gmail_extra"><br></div>Good question... But again, I&#39;d rather not go there.  If somebody runs our script, and changes some input settings and messes other applications, that is not so great.</div><div class="gmail_extra"><br></div><div class="gmail_extra">I dropped the ball about the shell script, but where does it stand?<br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">-- Yoshiki<div><br></div></div>
</div></div>