[Localization] [support-gang] [UKids] Write Activity Updates

Gonzalo Odiard godiard at sugarlabs.org
Thu Jul 30 21:41:04 EDT 2015


To install fonts activity, download from
http://activities.sugarlabs.org/en-US/sugar/addon/4669

On Thu, Jul 30, 2015 at 10:31 PM, Tim Moody <tim at timmoody.com> wrote:

> I just tested and this solution does not survive reboot.
>
>
>
> Can someone suggest the best way to do the setxkbmap ara command on boot
> or a config file in which to declare the map.
>
>
>
> *From:* support-gang [mailto:support-gang-bounces at lists.laptop.org] *On
> Behalf Of *Tim Moody
> *Sent:* Thursday, July 30, 2015 12:43 PM
> *To:* 'Community Support Volunteers -- who help respond to "help AT
> laptop.org"' <support-gang at lists.laptop.org>; 'Gonzalo Odiard' <
> godiard at sugarlabs.org>
> *Cc:* 'OLPC Localization list' <localization at lists.laptop.org>; 'Unleash
> Kids!' <unleashkids at googlegroups.com>; 'Jerry Vonau' <me at jvonau.ca>
> *Subject:* Re: [support-gang] [Localization] [UKids] Write Activity
> Updates
>
>
>
> I should have mentioned, that we did not test exhaustively, but Khaled
> says that the keys correspond to the standard Arabic keyboard layout.  The
> only thing we noticed is that diacriticals like tanwin and damma followed
> the character rather than being over it.
>
>
>
> *From:* unleashkids at googlegroups.com [mailto:unleashkids at googlegroups.com
> <unleashkids at googlegroups.com>] *On Behalf Of *Tim Moody
> *Sent:* Thursday, July 30, 2015 12:38 PM
> *To:* 'Community Support Volunteers -- who help respond to "help AT
> laptop.org"' <support-gang at lists.laptop.org>; 'Gonzalo Odiard' <
> godiard at sugarlabs.org>
> *Cc:* 'OLPC Localization list' <localization at lists.laptop.org>; 'Unleash
> Kids!' <unleashkids at googlegroups.com>; 'Jerry Vonau' <me at jvonau.ca>
> *Subject:* RE: [support-gang] [Localization] [UKids] Write Activity
> Updates
>
>
>
> So my son-in-law just typed my name in Arabic characters in the write
> activity on an xo-4.
>
>
>
> I as I often do, I used a shot-gun approach to get this to work, so it may
> be that not all of this is necessary or even the best approach, but here is
> what I did:
>
>
>
> in terminal under Sugar
>
>
>
> yum groupinstall arabic-support
>
> yum groupinstall input-methods
>
>
>
> I went down the road of SCIM, but I think it was a dead end.
>
>
>
> yum install scim-tables-arabic
>
> yum install scim-m17n
>
> at this point the keyboard still did not give anything but Roman
> characters.
>
>
>
> I switched to Gnome and under Applications->Other->Language I took
> Arabic-Egypt
>
> Under Applications->Other->Input Methods I chose IBus
>
>
>
> In terminal I did the command setxkbmap ara
>
>
>
> (I previously ran setxkbmap -print and saw quite a few includes, many with
> olpc in their names, so not sure if I lost control characters.)
>
>
>
> Now I went into the Abiword app under gnome, selected the KacstOffice
> font, and I could type Arabic characters.
>
>
>
> I switched back to Sugar and started Write.  I was able to type Arabic
> characters.
>
>
>
> Probably I should follow Gonzalo's suggestion and install the font
> activity to get better font control for Write.
>
>
>
> I think there is a good chance that this will not survive a boot and that
> it would have to be done again if I switched to English in XO Settings.
>
>
>
> BTW,
>
>
>
> You can avoid having to reflash to get out of Arabic, by clicking on the
> world map icon (Language) and selecting the 4th item in the second column
> from the right which is
>
>
>
> الإنجليزية
>
>
>
> and then click the option which looks like a power button.
>
>
>
>
>
>
>
>
>
> *From:* support-gang [mailto:support-gang-bounces at lists.laptop.org
> <support-gang-bounces at lists.laptop.org>] *On Behalf Of *Sarah Naguib
> *Sent:* Monday, July 20, 2015 10:23 PM
> *To:* Gonzalo Odiard <godiard at sugarlabs.org>
> *Cc:* OLPC Localization list <localization at lists.laptop.org>; Community
> Support Volunteers -- who help respond to help AT laptop.org <
> support-gang at lists.laptop.org>; Unleash Kids! <
> unleashkids at googlegroups.com>; Jerry Vonau <me at jvonau.ca>
> *Subject:* Re: [support-gang] [Localization] [UKids] Write Activity
> Updates
>
>
>
> Hi all,
>
>
>
> Thank you so much to those who have answered my email! I have tried some
> of your suggestions--I will update you with the information that I have
> now, and will continue to do so as I continue to try.
>
>
>
> Adam: you have correctly identified the SKU on the battery
>
>
>
> Gary/Adam: I tried switching the language into Arabic in the Control Panel
> when my laptop was using the 13.2.2 OS and it didn’t work, even when I
> folded the laptop down into the touch screen mode as one of you suggested.
> I have yet to try it with the 13.2.5 OS, but I will do that soon and keep
> you all posted.
>
>
>
> Gonzalo: Yes, the interface language was translated into Arabic on the
> main screen of the laptop, however when I opened up the Write Activity, the
> letters only appear in English. Funny enough, however, the buttons at the
> top of the screen moved from the left side to the right side, as Arabic is
> a language that is read from left to right. When I went through the list of
> possible fonts, Arabic never came up—only English ones, despite the fact
> that i had Arabic selected as the primary language of the laptop in the
> Control Panel.
>
>
>
> Additionally, I did some more research online and followed
> http://wiki.laptop.org/go/Customizing_NAND_images#Language which had
> another set of instructions on changing the language in the terminal that I
> had not previously tried, but it didn’t work either. It came up with an
> error message saying that “key=language not an available option.” I’ve
> never seen that error message before, so if any of you have experience with
> that and would like to shed light on the issue, please let me know.
>
>
>
> Thank you all so much for your help! I will continue to keep you all
> posted with my progress!
>
>
>
> Sarah
>
>
>
> On Jul 19, 2015, at 7:11 PM, Gonzalo Odiard <godiard at sugarlabs.org> wrote:
>
>
>
> Adding to what Jerry said about the fonts, you need to know that
>
> recent versions of Write activity do not show all the fonts available
>
> in the system (There are many fonts installed by libraries
>
> that are not usable on Sugar)
>
> You can install the activity Fonts (
> http://activities.sugarlabs.org/en-US/sugar/addon/4669)
>
> to select what fonts will be available on Write (and Paint and FotoToon)
>
> That activity also show a preview of the fonts, but using a English text.
>
>
>
> Gonzalo
>
>
>
>
>
>
>
>
>
> On Sun, Jul 19, 2015 at 8:01 PM, Jerry Vonau <me at jvonau.ca> wrote:
>
> Using [1] as a guide, comparing what is installed in the build[2] with what
> is defined as arabic-support in comps[3] it appears that you might need to
> use the steps listed(yum...) before moving on. Think you might need to
> enable SCIM support[4] but I'm not sure on that part and more info on
> fonts[5].
>
> Hope it helps,
>
> Jerry
>
> 1. https://fedoraproject.org/wiki/I18N/Language_Support_Using_Yum
> 2.
> http://download.laptop.org/xo-4/os/official/13.2.2-15/32015o4.packages.txt
> 3. https://git.fedorahosted.org/cgit/comps.git/tree/comps-f18.xml.in
> 4. http://wiki.laptop.org/go/SCIM#SCIM_on_the_XO
> 5. http://wiki.laptop.org/go/Fonts
>
> > On July 18, 2015 at 5:29 PM Adam Holt <holt at laptop.org> wrote:
> >
> >
> > On Sat, Jul 18, 2015 at 6:12 PM, Gary Martin <garycmartin at gmail.com>
> > wrote:
> >
> > >
> > > > On 18 Jul 2015, at 19:44, Adam Holt <holt at laptop.org> wrote:
> > > >
> > > > Tim Moody who's away this week, strongly suspects there's an issue
> > > > with
> > > the underlying OS not displaying Arabic characters correctly in the
> > > first
> > > place on these X-4O's, regardless of the Write activity.  Hopefully
> > > someone
> > > else can confirm, Sarah and her team by testing directly, confirmed by
> > > others familiar with how keyboard mapping works?
> > >
> > > Are these XO-4 laptop variants with touch screen hardware support?
> >
> >
> > Yes, according to the SKU312 line @
> > http://wiki.laptop.org/go/Manufacturing_data#XO-4 , Thanks Gary.
> >
> > If so the Maliit based onscreen keyboard [1] supports Arabic out of the
> > > box. You would just need to make sure Arabic is chosen as at least one
> > > of
> > > the languages in the Language Control Panel; restart Sugar; and trigger
> > > the
> > > on screen touch keyboard (usually by folding the laptop into tablet
> > > mode).
> >
> >
> > Sarah please try this on OS 13.2.2 and 13.2.5 both (from
> > http://wiki.laptop.org/go/Releases) and let us know what works!
> >
> > I’ve been out of the loop on the Write Activity development for a long
> > time
> > > so I can’t remember if there were specific issues with it regarding
> > > Arabic,
> > > apologies.
> > >
> > > Regards,
> > > —Gary
> > >
> > > [1] http://wiki.sugarlabs.org/go/User:Garycmartin/Maliit_Layouts
> > > [2]
> > >
> http://wiki.sugarlabs.org/go/User:Garycmartin/Maliit_Layouts#mediaviewer/File:Olpc-xo-grey-fill2-ar.png
> > >
> > > >
> > > > Sarah can certainly confirm laptops' SKU# (printed on the XO-4s,
> > > underneath the white battery) which would appear to be SKU312 according
> > > to
> > > http://wiki.laptop.org/go/Manufacturing_data#XO-4 -- which implies
> > > USA/English single-membrane keyboard.  Arabic Stickers may have been
> > > applied to each key, if I recall Sarah's earlier description.
> > > >
> > > > On Tue, Jul 14, 2015 at 10:57 AM, Sarah Naguib <sanaguib at gmail.com>
> > > wrote:
> > > > Hi all!
> > > >
> > > > I hope that all of you have been doing well. I just realized that I
> > > > have
> > > had this email sitting in my drafts for almost a week--I never hit the
> > > "send" button!
> > > >
> > > > Anyways, I wanted to let everyone know about the updates that I have
> > > about translating the Write Activity on my XO4 laptops into Arabic. As
> > > of
> > > right now, I haven't been able to make it work. I found out that I am
> > > using
> > > 13.2.2 OS on my XO4, in case some of you were wondering. I checked out
> > > http://translate.sugarlabs.org/ar/ as some of you suggested, and it
> > > seems
> > > like the Write Activity is almost completely translated into Arabic,
> > > which
> > > is great news. I have also tried the same instructions that I included
> > > in
> > > my original email to try to change the language in the Terminal, and I
> > > have
> > > had to reflash the laptop three more times since then. I have also
> > > tried
> > > using the toggle feature so that the computer can theoretically switch
> > > between English and Arabic, but I haven't had any luck with that either
> > > (I
> > > will try that one again, though, because I could have messed up the
> > > typing
> > > in the Terminal).
> > > >
> > > > If anyone has any other suggestions/ideas, please let me know.
> > > >
> > > > Thank you all so much for your help and support!
> > > >
> > > > Sarah
> > > >
> > > > --
> > > > Sarah Naguib
> > > > www.laptopsforegypt.wordpress.com
> > > > sanaguib at gmail.com
> > > >
> > > > --
> > > > Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
> > > > ---
> > > > You received this message because you are subscribed to the Google
> > > Groups "Unleash Kids" group.
> > > > To unsubscribe from this group and stop receiving emails from it,
> > > > send
> > > an email to unleashkids+unsubscribe at googlegroups.com.
> > > > For more options, visit https://groups.google.com/d/optout.
> > > >
> > > > --
> > > > Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
> > > > _______________________________________________
> > > > Localization mailing list
> > > > Localization at lists.laptop.org
> > > > http://lists.laptop.org/listinfo/localization
> > >
> > > --
> > > <http://lists.laptop.org/listinfo/localization>
> > > <http://lists.laptop.org/listinfo/localization>
> > > Unsung Heroes of OLPC, interviewed live @
> > > <http://lists.laptop.org/listinfo/localization>http://unleashkids.org
> !
> > >
> >
> > --
> > Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
> > ---
> > You received this message because you are subscribed to the Google Groups
> > "Unleash Kids" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to unleashkids+unsubscribe at googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
> ---
> You received this message because you are subscribed to the Google Groups
> "Unleash Kids" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to unleashkids+unsubscribe at googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
>
> --
>
> Gonzalo Odiard
>
> SugarLabs - Software [for | by] children learning
>
>
>
> --
> Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
> ---
> You received this message because you are subscribed to the Google Groups
> "Unleash Kids" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to unleashkids+unsubscribe at googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
> ---
> You received this message because you are subscribed to the Google Groups
> "Unleash Kids" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to unleashkids+unsubscribe at googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
> ---
> You received this message because you are subscribed to the Google Groups
> "Unleash Kids" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to unleashkids+unsubscribe at googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Gonzalo Odiard

SugarLabs - Software [for | by] children learning
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/localization/attachments/20150730/b605d6bb/attachment-0001.html>


More information about the Localization mailing list