Phratch: Support for Spanish language in the interface

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Phratch: Support for Spanish language in the interface

Offray
Hi,

Some teachers are considering to make some field work with Phratch on
learning physics by modelling simple real world phenomena (uniform
accelerated movement, free fall etc). I downloaded it today and try to
change the interface to Spanish, but I couldn't find the proper place to
do it. Has Phratch support for a Spanish interface. If not, how
difficult will be to provide this and how can we help?

Cheers,

Offray

Reply | Threaded
Open this post in threaded view
|

Re: Phratch: Support for Spanish language in the interface

jannik laval
Dear Offray,

Thank you for using phratch. 
Spanish is available. You just have to click on the sphere on the left of "file" menu. Here, you will find a list of available languages. 
Sometimes, there are blocks that are not translated. In this case, don't hesitate to contact me, we will translate them.

Best regards,
Jannik

2015-07-02 5:09 GMT+02:00 Offray Vladimir Luna Cárdenas <[hidden email]>:
Hi,

Some teachers are considering to make some field work with Phratch on learning physics by modelling simple real world phenomena (uniform accelerated movement, free fall etc). I downloaded it today and try to change the interface to Spanish, but I couldn't find the proper place to do it. Has Phratch support for a Spanish interface. If not, how difficult will be to provide this and how can we help?

Cheers,

Offray




--
Reply | Threaded
Open this post in threaded view
|

Re: Phratch: Support for Spanish language in the interface

Offray
Thanks Jannik, it worked. I miss the little globe.

Cheers,

Offray

On 02/07/15 06:48, jannik laval wrote:
Dear Offray,

Thank you for using phratch. 
Spanish is available. You just have to click on the sphere on the left of "file" menu. Here, you will find a list of available languages. 
Sometimes, there are blocks that are not translated. In this case, don't hesitate to contact me, we will translate them.

Best regards,
Jannik

2015-07-02 5:09 GMT+02:00 Offray Vladimir Luna Cárdenas <[hidden email]>:
Hi,

Some teachers are considering to make some field work with Phratch on learning physics by modelling simple real world phenomena (uniform accelerated movement, free fall etc). I downloaded it today and try to change the interface to Spanish, but I couldn't find the proper place to do it. Has Phratch support for a Spanish interface. If not, how difficult will be to provide this and how can we help?

Cheers,

Offray




--

~~Jannik Laval~~
École des Mines de Douai
Enseignant-chercheur
http://www.jannik-laval.eu
http://www.phratch.com
http://www.approchealpes.info
http://car.mines-douai.fr/


Reply | Threaded
Open this post in threaded view
|

Re: Phratch: Support for Spanish language in the interface

Thierry Goubier
Hi Jannik,

about that. Why is Phratch not picking the language from the
environment? Scratch on the same platform (linux / french) does it.

Regards,

Thierry

Le 02/07/2015 14:00, Offray Vladimir Luna Cárdenas a écrit :

> Thanks Jannik, it worked. I miss the little globe.
>
> Cheers,
>
> Offray
>
> On 02/07/15 06:48, jannik laval wrote:
>> Dear Offray,
>>
>> Thank you for using phratch.
>> Spanish is available. You just have to click on the sphere on the left
>> of "file" menu. Here, you will find a list of available languages.
>> Sometimes, there are blocks that are not translated. In this case,
>> don't hesitate to contact me, we will translate them.
>>
>> Best regards,
>> Jannik
>>
>> 2015-07-02 5:09 GMT+02:00 Offray Vladimir Luna Cárdenas
>> <<mailto:[hidden email]>[hidden email]>:
>>
>>     Hi,
>>
>>     Some teachers are considering to make some field work with Phratch
>>     on learning physics by modelling simple real world phenomena
>>     (uniform accelerated movement, free fall etc). I downloaded it
>>     today and try to change the interface to Spanish, but I couldn't
>>     find the proper place to do it. Has Phratch support for a Spanish
>>     interface. If not, how difficult will be to provide this and how
>>     can we help?
>>
>>     Cheers,
>>
>>     Offray
>>
>>
>>
>>
>> --
>>
>> ~~Jannik Laval~~
>> École des Mines de Douai
>> Enseignant-chercheur
>> http://www.jannik-laval.eu
>> http://www.phratch.com
>> http://www.approchealpes.info
>> http://car.mines-douai.fr/
>>
>


Reply | Threaded
Open this post in threaded view
|

Re: Phratch: Support for Spanish language in the interface

jannik laval
Hi Thierry,

It is a choice :)
Scratch uses the scratch plugin to do that.
In phratch, I removed the scratch plugin, to be sure to be compatible with platforms where it is not available. 
Maybe, we can reintroduce it using OSProcess or NativeBoost.
If you have a code snippet, I can use it.

Cheers,
Jannik

2015-07-02 17:14 GMT+02:00 Thierry Goubier <[hidden email]>:
Hi Jannik,

about that. Why is Phratch not picking the language from the environment? Scratch on the same platform (linux / french) does it.

Regards,

Thierry

Le 02/07/2015 14:00, Offray Vladimir Luna Cárdenas a écrit :
Thanks Jannik, it worked. I miss the little globe.

Cheers,

Offray

On 02/07/15 06:48, jannik laval wrote:
Dear Offray,

Thank you for using phratch.
Spanish is available. You just have to click on the sphere on the left
of "file" menu. Here, you will find a list of available languages.
Sometimes, there are blocks that are not translated. In this case,
don't hesitate to contact me, we will translate them.

Best regards,
Jannik

2015-07-02 5:09 GMT+02:00 Offray Vladimir Luna Cárdenas
<<mailto:[hidden email]>[hidden email]>:

    Hi,

    Some teachers are considering to make some field work with Phratch
    on learning physics by modelling simple real world phenomena
    (uniform accelerated movement, free fall etc). I downloaded it
    today and try to change the interface to Spanish, but I couldn't
    find the proper place to do it. Has Phratch support for a Spanish
    interface. If not, how difficult will be to provide this and how
    can we help?

    Cheers,

    Offray




--

~~Jannik Laval~~
École des Mines de Douai
Enseignant-chercheur
http://www.jannik-laval.eu
http://www.phratch.com
http://www.approchealpes.info
http://car.mines-douai.fr/







--
Reply | Threaded
Open this post in threaded view
|

Re: Phratch: Support for Spanish language in the interface

Thierry Goubier


2015-07-03 10:51 GMT+02:00 jannik laval <[hidden email]>:
Hi Thierry,

It is a choice :)
Scratch uses the scratch plugin to do that.
In phratch, I removed the scratch plugin, to be sure to be compatible with platforms where it is not available. 

Ok. I need to have a deeper look into all this (like why phratch doesn't has the sound working on linux). My daughters are using scratch at the moment, and we're planning scratch-type of things around fablab-type activities, so it would be good to do Phratch instead.

And I want to control my daughter's Lego with Phratch via bluetooth ;)
 
Maybe, we can reintroduce it using OSProcess or NativeBoost.

Yes, I've seen that you load OSProcess in Phratch, so it means we can rely on it. NativeBoost has access to the environment variables, and it would be to use LANG.
 
If you have a code snippet, I can use it.

I don't know enough about Phratch source code to propose anything yet. LANG value on my system is probably typical and is 'fr_FR.UTF-8'; how would that match Phratch language settings ?

Regards,

Thierry
Reply | Threaded
Open this post in threaded view
|

Re: Phratch: Support for Spanish language in the interface

jannik laval


2015-07-03 11:01 GMT+02:00 Thierry Goubier <[hidden email]>:


2015-07-03 10:51 GMT+02:00 jannik laval <[hidden email]>:
Hi Thierry,

It is a choice :)
Scratch uses the scratch plugin to do that.
In phratch, I removed the scratch plugin, to be sure to be compatible with platforms where it is not available. 

Ok. I need to have a deeper look into all this (like why phratch doesn't has the sound working on linux). My daughters are using scratch at the moment, and we're planning scratch-type of things around fablab-type activities, so it would be good to do Phratch instead.

Yes, does she try to load the sound addon ?
Normally, sound should work on the latest pharo VM, but I did not try it.
 

And I want to control my daughter's Lego with Phratch via bluetooth ;)

Yes, we have some problems with Linux and bluetooth... but we will fix it soon, i hope.
 
 
Maybe, we can reintroduce it using OSProcess or NativeBoost.

Yes, I've seen that you load OSProcess in Phratch, so it means we can rely on it. NativeBoost has access to the environment variables, and it would be to use LANG.
 
If you have a code snippet, I can use it.

I don't know enough about Phratch source code to propose anything yet. LANG value on my system is probably typical and is 'fr_FR.UTF-8'; how would that match Phratch language settings ?

phratch uses the .po files, like scratch. So, the string sent by your system should be uderstandable by phratch.

Jannik
 

Regards,

Thierry



--
Reply | Threaded
Open this post in threaded view
|

Re: Phratch: Support for Spanish language in the interface

Thierry Goubier


2015-07-03 11:06 GMT+02:00 jannik laval <[hidden email]>:


2015-07-03 11:01 GMT+02:00 Thierry Goubier <[hidden email]>:


2015-07-03 10:51 GMT+02:00 jannik laval <[hidden email]>:
Hi Thierry,

It is a choice :)
Scratch uses the scratch plugin to do that.
In phratch, I removed the scratch plugin, to be sure to be compatible with platforms where it is not available. 

Ok. I need to have a deeper look into all this (like why phratch doesn't has the sound working on linux). My daughters are using scratch at the moment, and we're planning scratch-type of things around fablab-type activities, so it would be good to do Phratch instead.

Yes, does she try to load the sound addon ?
Normally, sound should work on the latest pharo VM, but I did not try it.

I'll have a try. There is a CI for Phratch? I'm on Ubuntu 15.04, so I can't use the pharo ppa to install Phratch. 
 
 

And I want to control my daughter's Lego with Phratch via bluetooth ;)

Yes, we have some problems with Linux and bluetooth... but we will fix it soon, i hope.

What is missing? There is some in-house expertise on using serial ports from within Pharo, and, from what I could see from the Mindstorm documentation, a Lego Mindstorm should appear as a serial device.

 
 
Maybe, we can reintroduce it using OSProcess or NativeBoost.

Yes, I've seen that you load OSProcess in Phratch, so it means we can rely on it. NativeBoost has access to the environment variables, and it would be to use LANG.
 
If you have a code snippet, I can use it.

I don't know enough about Phratch source code to propose anything yet. LANG value on my system is probably typical and is 'fr_FR.UTF-8'; how would that match Phratch language settings ?

phratch uses the .po files, like scratch. So, the string sent by your system should be uderstandable by phratch.

Ok. I'll have a look then.

Thierry
 

Jannik
 

Regards,

Thierry



--

Reply | Threaded
Open this post in threaded view
|

Re: Phratch: Support for Spanish language in the interface

Guillermo Polito
Wait, there is already in-image support to obtain the current locale and language setting.

Did you try

Locale current

?

(and there is a setting to enable its obtention automatically on startup).

Actually if somebody uses it for real and tests it well that would be a big +1 :)

Guille

El vie., 3 de jul. de 2015 a la(s) 11:23 a. m., Thierry Goubier <[hidden email]> escribió:
2015-07-03 11:06 GMT+02:00 jannik laval <[hidden email]>:


2015-07-03 11:01 GMT+02:00 Thierry Goubier <[hidden email]>:


2015-07-03 10:51 GMT+02:00 jannik laval <[hidden email]>:
Hi Thierry,

It is a choice :)
Scratch uses the scratch plugin to do that.
In phratch, I removed the scratch plugin, to be sure to be compatible with platforms where it is not available. 

Ok. I need to have a deeper look into all this (like why phratch doesn't has the sound working on linux). My daughters are using scratch at the moment, and we're planning scratch-type of things around fablab-type activities, so it would be good to do Phratch instead.

Yes, does she try to load the sound addon ?
Normally, sound should work on the latest pharo VM, but I did not try it.

I'll have a try. There is a CI for Phratch? I'm on Ubuntu 15.04, so I can't use the pharo ppa to install Phratch. 
 
 

And I want to control my daughter's Lego with Phratch via bluetooth ;)

Yes, we have some problems with Linux and bluetooth... but we will fix it soon, i hope.

What is missing? There is some in-house expertise on using serial ports from within Pharo, and, from what I could see from the Mindstorm documentation, a Lego Mindstorm should appear as a serial device.

 
 
Maybe, we can reintroduce it using OSProcess or NativeBoost.

Yes, I've seen that you load OSProcess in Phratch, so it means we can rely on it. NativeBoost has access to the environment variables, and it would be to use LANG.
 
If you have a code snippet, I can use it.

I don't know enough about Phratch source code to propose anything yet. LANG value on my system is probably typical and is 'fr_FR.UTF-8'; how would that match Phratch language settings ?

phratch uses the .po files, like scratch. So, the string sent by your system should be uderstandable by phratch.

Ok. I'll have a look then.

Thierry
 

Jannik
 

Regards,

Thierry



--
Reply | Threaded
Open this post in threaded view
|

Re: Phratch: Support for Spanish language in the interface

jannik laval
In reply to this post by Thierry Goubier


2015-07-03 11:22 GMT+02:00 Thierry Goubier <[hidden email]>:


2015-07-03 11:06 GMT+02:00 jannik laval <[hidden email]>:


2015-07-03 11:01 GMT+02:00 Thierry Goubier <[hidden email]>:


2015-07-03 10:51 GMT+02:00 jannik laval <[hidden email]>:
Hi Thierry,

It is a choice :)
Scratch uses the scratch plugin to do that.
In phratch, I removed the scratch plugin, to be sure to be compatible with platforms where it is not available. 

Ok. I need to have a deeper look into all this (like why phratch doesn't has the sound working on linux). My daughters are using scratch at the moment, and we're planning scratch-type of things around fablab-type activities, so it would be good to do Phratch instead.

Yes, does she try to load the sound addon ?
Normally, sound should work on the latest pharo VM, but I did not try it.

I'll have a try. There is a CI for Phratch? I'm on Ubuntu 15.04, so I can't use the pharo ppa to install Phratch. 

 
 
 

And I want to control my daughter's Lego with Phratch via bluetooth ;)

Yes, we have some problems with Linux and bluetooth... but we will fix it soon, i hope.

What is missing? There is some in-house expertise on using serial ports from within Pharo, and, from what I could see from the Mindstorm documentation, a Lego Mindstorm should appear as a serial device.

We use a serial connection on the bluetooth, after a pairing. We need to send data on the /dev/bluetooth-ev3-something
Sometimes, the ev3 does not appear in /dev.

 

 
 
Maybe, we can reintroduce it using OSProcess or NativeBoost.

Yes, I've seen that you load OSProcess in Phratch, so it means we can rely on it. NativeBoost has access to the environment variables, and it would be to use LANG.
 
If you have a code snippet, I can use it.

I don't know enough about Phratch source code to propose anything yet. LANG value on my system is probably typical and is 'fr_FR.UTF-8'; how would that match Phratch language settings ?

phratch uses the .po files, like scratch. So, the string sent by your system should be uderstandable by phratch.

Ok. I'll have a look then.

Thank you.

Jannik 

Thierry
 

Jannik
 

Regards,

Thierry



--




--