Re: [IAEP] !! in 10.1.3, setting languages property clears all activities

2011-01-30 Thread Daniel Drake
Hi Tim,

On 28 January 2011 15:36, Timothy Falconer tee...@waveplace.org wrote:
 sugar-control-panel -s languages Kreyol/Haiti

 And after restarting, ALL OF THE ACTIVITIES ARE GONE.

 Can anyone confirm this or give me guidance.  How can I set the language in a 
 bash script in 10.1.3?

I imagine this is because the language is not included. What version
of the software did you last successfully run this on?

The languages included in 10.1.x are:
en_US,es,ar,pt,pt_BR,fr,ht,mn,mr_IN,am_ET,km_KH,ne_NP,ur_PK,rw,ps,fa_AF,si,zh_CN

Reconstructing the image with another language added is as easy as
having good bandwith and a Fedora 11 machine available (which is
probably very difficult if you are in Haiti). The target XOs must all
be unlocked (security disabled). I'd be happy to guide you through the
build process if this is an option for you.

Daniel
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [IAEP] !! in 10.1.3, setting languages property clears all activities

2011-01-30 Thread Daniel Drake
On 30 January 2011 14:10, Yamandu Ploskonka yamap...@gmail.com wrote:
 Daniel, wouldn't it be simpler that someone who knows how to do it does
 build that image, uploads it somewhere so Kreyol people can just download
 the image in one go?

Yes, thanks for volunteering ;)

However, It still depends on unlocked laptops and enough bandwidth in
Haiti to download the end result, so I'm not sure how much this helps
Tim.

Daniel
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [IAEP] !! in 10.1.3, setting languages property clears all activities

2011-01-30 Thread Paul Fox
daniel wrote:
  Hi Tim,
  
  On 28 January 2011 15:36, Timothy Falconer tee...@waveplace.org wrote:
   sugar-control-panel -s languages Kreyol/Haiti
  
   And after restarting, ALL OF THE ACTIVITIES ARE GONE.
  
   Can anyone confirm this or give me guidance.  How can I set the language 
   in a 
  bash script in 10.1.3?
  
  I imagine this is because the language is not included. What version

why would this make the activities disappear?

paul

  of the software did you last successfully run this on?
  
  The languages included in 10.1.x are:
  en_US,es,ar,pt,pt_BR,fr,ht,mn,mr_IN,am_ET,km_KH,ne_NP,ur_PK,rw,ps,fa_AF,si,zh_CN
  
  Reconstructing the image with another language added is as easy as
  having good bandwith and a Fedora 11 machine available (which is
  probably very difficult if you are in Haiti). The target XOs must all
  be unlocked (security disabled). I'd be happy to guide you through the
  build process if this is an option for you.
  
  Daniel
  ___
  Devel mailing list
  Devel@lists.laptop.org
  http://lists.laptop.org/listinfo/devel

=-
 paul fox, p...@laptop.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [IAEP] !! in 10.1.3, setting languages property clears all activities

2011-01-30 Thread Daniel Drake
On 30 January 2011 14:57, Paul Fox p...@laptop.org wrote:
 daniel wrote:
   Hi Tim,
  
   On 28 January 2011 15:36, Timothy Falconer tee...@waveplace.org wrote:
    sugar-control-panel -s languages Kreyol/Haiti
   
    And after restarting, ALL OF THE ACTIVITIES ARE GONE.
   
    Can anyone confirm this or give me guidance.  How can I set the language 
 in a
   bash script in 10.1.3?
  
   I imagine this is because the language is not included. What version

 why would this make the activities disappear?

We have a ticket, which I can't find right now, which shows a case of
Python blowing up when the environment selects a locale that doesn't
exist on the system. Thats my guess.

Daniel
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [IAEP] !! in 10.1.3, setting languages property clears all activities

2011-01-30 Thread Martin Langhoff
On Sun, Jan 30, 2011 at 11:58 AM, Yamandu Ploskonka yamap...@gmail.com wrote:
 thus having an image available might actually save bandwidth - AFAIK Sugar
 is about half the size of a Fedora download

Yes it is smaller, but if Tim in Haiti is very bw-limited, even the
smaller thing is too large.

Daniel -- looking forward a bit... would it be practical to build an
img with a longer list of locales (all the ones we have reasonable
support for), and then extract the relevant files in a tarball or
similar so that they can be installed (with a script)?

Are locales cleanly separated into files / dirs or is there any file
that needs to be recompiled?

If it's doable, there is a definite use case for auto-installing
signed-tarball-with-locale from USB.

cheers,


m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [IAEP] !! in 10.1.3, setting languages property clears all activities

2011-01-30 Thread Yamandu Ploskonka
Daniel, wouldn't it be simpler that someone who knows how to do it does 
build that image, uploads it somewhere so Kreyol people can just 
download the image in one go?
otherwise anyone not being part of this particular exchange will need 
that done again, etc, ?


On 01/30/2011 07:44 AM, Daniel Drake wrote:
 Hi Tim,

 On 28 January 2011 15:36, Timothy Falconertee...@waveplace.org  wrote:
 sugar-control-panel -s languages Kreyol/Haiti

 And after restarting, ALL OF THE ACTIVITIES ARE GONE.

 Can anyone confirm this or give me guidance.  How can I set the language in 
 a bash script in 10.1.3?
 I imagine this is because the language is not included. What version
 of the software did you last successfully run this on?

 The languages included in 10.1.x are:
 en_US,es,ar,pt,pt_BR,fr,ht,mn,mr_IN,am_ET,km_KH,ne_NP,ur_PK,rw,ps,fa_AF,si,zh_CN

 Reconstructing the image with another language added is as easy as
 having good bandwith and a Fedora 11 machine available (which is
 probably very difficult if you are in Haiti). The target XOs must all
 be unlocked (security disabled). I'd be happy to guide you through the
 build process if this is an option for you.

 Daniel
 ___
 IAEP -- It's An Education Project (not a laptop project!)
 i...@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/iaep

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [IAEP] !! in 10.1.3, setting languages property clears all activities

2011-01-30 Thread Yamandu Ploskonka
I'm sorry to continue this as if I knew what I am talking about, ;-), 
but, having to do a recompile or whatever it is named based on Fedora 
would require them to download Fedora, yes? So a solution based on them 
downloading Fedora and then fondling it to shape would also require 
bandwidth? yes?
thus having an image available might actually save bandwidth - AFAIK 
Sugar is about half the size of a Fedora download, and once downloaded 
can be copied locally - copying they need either way.  Anyway, hopefully 
I've proved I do not know enough about this to be the one doing it...

On 01/30/2011 08:54 AM, Daniel Drake wrote:
 On 30 January 2011 14:10, Yamandu Ploskonkayamap...@gmail.com  wrote:
 Daniel, wouldn't it be simpler that someone who knows how to do it does
 build that image, uploads it somewhere so Kreyol people can just download
 the image in one go?
 Yes, thanks for volunteering ;)

 However, It still depends on unlocked laptops and enough bandwidth in
 Haiti to download the end result, so I'm not sure how much this helps
 Tim.

 Daniel

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [IAEP] !! in 10.1.3, setting languages property clears all activities

2011-01-30 Thread Yamandu Ploskonka
would then Fedora be less of a BW problem?
help me, I feel stooopid.  It seems to me Fedora would be more of a 
problem from the point of view of bw, but y'all seem to see that as, not 
a problem - for Fedora, yes a problem - for Sugar (which is smaller)
???
Of course, just like Br'er Rabbit, I couldn't find my way out of a 
paperbag tarball.
Y'all know better, but I don't get this.
sorry for wasting your time, since actually here I can't help - I just 
would wish I understood what the big kids are playing...
(though what you suggest, if I understand /that/, seems to make sense - 
have the localizations be a sort of small plug-in to Sugar, obviously 
smaller than the thing itself)


On 01/30/2011 02:29 PM, Martin Langhoff wrote:
 On Sun, Jan 30, 2011 at 11:58 AM, Yamandu Ploskonkayamap...@gmail.com  
 wrote:
 thus having an image available might actually save bandwidth - AFAIK Sugar
 is about half the size of a Fedora download
 Yes it is smaller, but if Tim in Haiti is very bw-limited, even the
 smaller thing is too large.

 Daniel -- looking forward a bit... would it be practical to build an
 img with a longer list of locales (all the ones we have reasonable
 support for), and then extract the relevant files in a tarball or
 similar so that they can be installed (with a script)?

 Are locales cleanly separated into files / dirs or is there any file
 that needs to be recompiled?

 If it's doable, there is a definite use case for auto-installing
 signed-tarball-with-locale from USB.

 cheers,


 m
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [IAEP] !! in 10.1.3, setting languages property clears all activities

2011-01-30 Thread si...@schampijer.de
 Hi Timothy,
 
so the issue you are seeing is twofold:
 
a) the command you are using sugar-control-panel -s language Kreyol/Haiti will
write a faulty locale. Can be seen in /home/olpc/.i18n That is why your activity
icons are gone. It should be something similar to this:
 
LANG=ht_HT.utf8
LANGUAGE=ht_HT.utf8
 
b) The Haiti translations are not included in the build (this has been due to
space constraints). The quickest solution would be to build a new image - as
Daniel stated if we do it here you would have to download it.
 
I am building a new image at the moment to get you one option - I will let you
know how it goes.
 
Regards,
   Simon___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel