Polish translation of Pyromaths on Exercise

Les propositions de correctifs ou d'exercices pour Pyromaths.

Modérateur: Développeurs

Polish translation of Pyromaths on Exercise

Messagede Rafal » Mar 19 Mai 2015, 10:09

Hi.
I'm polish math teacher. I teach math in primary school in Nowogród Bobrzański. I'm interested about translation of great program with is Pyromaths. I'm using Ubuntu 14.04 and Windows 7 and I'm interested about translating at first the interface of pyromaths then I could translate it exercices.
Can I help?
Regards
Rafał Surynt
Rafal
 
Messages: 12
Inscription: Mar 19 Mai 2015, 07:14

Re: Polish translation of Pyromaths on Exercise

Messagede Jérôme » Mar 19 Mai 2015, 14:31

Hi,
that would be awesome. I don't know how it can be done, something to do with https://docs.python.org/2/library/gettext.html I suppose.
Tell me if you need anything.
Regards,
Pyromaths génère des fiches d'exercices et leur corrigé en toute simplicité.
Un programme multi-plateformes libre et gratuit sous licence GPL
Avatar de l’utilisateur
Jérôme
Administrateur - Site Admin
 
Messages: 1060
Inscription: Sam 26 Aoû 2006, 13:10
Localisation: Nantes

Re: Polish translation of Pyromaths on Exercise

Messagede Rafal » Mar 19 Mai 2015, 21:16

Hi
I thought that it will be some txt file oraz other file, but gettext? Hmm.. I don't know how to start .. Do I have to learn python to understand Pyromaths translation?
Rafal
 
Messages: 12
Inscription: Mar 19 Mai 2015, 07:14

Re: Polish translation of Pyromaths on Exercise

Messagede Invité » Ven 10 Juil 2015, 12:13

Jérôme a écrit:Hi,
that would be awesome. I don't know how it can be done, something to do with https://docs.python.org/2/library/gettext.html I suppose.
Tell me if you need anything.
Regards,


Hello!
Since I know some of Python, I thought I can help my fellow-countryman who asked for it on a polish forum.
Except changes in code, there is need of changing Makefile. I don't know exactly what to do with it.
I'll try to submit an initial commit to a new branch.
To complete traslating, it is required to compute translations with xgettext and msgfmt as it's shown there -> http://pymotw.com/2/gettext/, for every locale. I can't exactly understand what are you doing in your Makefile - I come from Unix background, trough I work on OS X (which is UNIX anyway).
Afterall, I ask for help in this matter.


Salut!
Depuis que je sais que certains de Python, je pensais que je peux aider mon compatriote qui l'a demandé sur un forum polonais.
Sauf changements dans le code, il est nécessaire de changer Makefile. Je ne sais pas exactement quoi faire avec ça.
Je vais essayer de présenter un commit initial à une nouvelle branche.
Pour compléter traduction, il est nécessaire de calculer les traductions avec xgettext et msgfmt comme il est il indiqué -> http://pymotw.com/2/gettext/, pour chaque localité. Je ne peux pas comprendre exactement ce que vous faites dans votre Makefile - Je viens d'Unix fond, altrough je travaille sur OS X (qui est de toute façon UNIX).
Après tout, je demande de l'aide dans cette affaire.
Invité
 

Re: Polish translation of Pyromaths on Exercise

Messagede enedil » Ven 10 Juil 2015, 14:39

Invité a écrit:
Jérôme a écrit:Hi,
that would be awesome. I don't know how it can be done, something to do with https://docs.python.org/2/library/gettext.html I suppose.
Tell me if you need anything.
Regards,


Hello!
Since I know some of Python, I thought I can help my fellow-countryman who asked for it on a polish forum.
Except changes in code, there is need of changing Makefile. I don't know exactly what to do with it.
I'll try to submit an initial commit to a new branch.
To complete traslating, it is required to compute translations with xgettext and msgfmt as it's shown there -> http://pymotw.com/2/gettext/, for every locale. I can't exactly understand what are you doing in your Makefile - I come from Unix background, trough I work on OS X (which is UNIX anyway).
Afterall, I ask for help in this matter.


Salut!
Depuis que je sais que certains de Python, je pensais que je peux aider mon compatriote qui l'a demandé sur un forum polonais.
Sauf changements dans le code, il est nécessaire de changer Makefile. Je ne sais pas exactement quoi faire avec ça.
Je vais essayer de présenter un commit initial à une nouvelle branche.
Pour compléter traduction, il est nécessaire de calculer les traductions avec xgettext et msgfmt comme il est il indiqué -> http://pymotw.com/2/gettext/, pour chaque localité. Je ne peux pas comprendre exactement ce que vous faites dans votre Makefile - Je viens d'Unix fond, altrough je travaille sur OS X (qui est de toute façon UNIX).
Après tout, je demande de l'aide dans cette affaire.


I accidentaly sent it without logging in.
enedil
 
Messages: 2
Inscription: Ven 10 Juil 2015, 11:25
Localisation: Pologne

Re: Polish translation of Pyromaths on Exercise

Messagede Jérôme » Ven 10 Juil 2015, 22:06

enedil a écrit:Hello!
Since I know some of Python, I thought I can help my fellow-countryman who asked for it on a polish forum.
Except changes in code, there is need of changing Makefile. I don't know exactly what to do with it.
I'll try to submit an initial commit to a new branch.
To complete traslating, it is required to compute translations with xgettext and msgfmt as it's shown there -> http://pymotw.com/2/gettext/, for every locale. I can't exactly understand what are you doing in your Makefile - I come from Unix background, trough I work on OS X (which is UNIX anyway).
Afterall, I ask for help in this matter.

Hi !
Thanks for your contribution. I will gladly try to help with the Makefile. Sadly, I’m not the one who wrote it, but we’ll find a way.
The Makefile is in charge of the creation of all the binaries of Pyromaths.
Pyromaths génère des fiches d'exercices et leur corrigé en toute simplicité.
Un programme multi-plateformes libre et gratuit sous licence GPL
Avatar de l’utilisateur
Jérôme
Administrateur - Site Admin
 
Messages: 1060
Inscription: Sam 26 Aoû 2006, 13:10
Localisation: Nantes

Re: Polish translation of Pyromaths on Exercise

Messagede enedil » Sam 11 Juil 2015, 14:30

There are some issues.

I don't know how to use QTranslator - a kind prrson could help letting translate menu bar on OS X. Gir Blame says that these lines were made by Yves Gesnel on 2013-05-14.

Still, when translation is not complete, you could create a branch "gettext" or sth simmilar for you and others who want help translating, and when it's done, we would merge it with "develop" branch.

And how to run the application with set locale?

Linux (I checked Ubuntu, but others should do as well) -> works without doing anything.

OS X, OpenBSD -> this trick does the job
Code: Tout sélectionner
LC_MESSAGES=en python pyromaths


Apple specifies own format for localizing apps, and that's the way to get current language on OS X:
Code: Tout sélectionner
defaults read .GlobalPreferences AppleLanguages | tr -d [:space:] | cut -c2-3


I don't know how to do it on Windows since I don't even have one.

It is plausible that using QTranslator instead of gettext is better since QT is portable across platforms. I don't know what to do now.
enedil
 
Messages: 2
Inscription: Ven 10 Juil 2015, 11:25
Localisation: Pologne

Re: Polish translation of Pyromaths on Exercise

Messagede Rafal » Sam 11 Juil 2015, 21:32

Hi.
On polish forum someon told me about https://github.com/JeromeO/Pyromaths/bl ... tmac_fr.ts. I'm translating whole file and creating file called qtmac_pl.ts.
Is it right? Is it helpful?

Regards
Rafal
 
Messages: 12
Inscription: Mar 19 Mai 2015, 07:14

Re: Polish translation of Pyromaths on Exercise

Messagede Jérôme » Dim 12 Juil 2015, 23:43

Hi Rafal,
enedil has done the hard work to prepare the translations. You should be able to translate everything in polish in a few days now, using these instructions : https://github.com/enedil/pyromaths/blo ... RADUIRE.md
He may translate it for you :)
Pyromaths génère des fiches d'exercices et leur corrigé en toute simplicité.
Un programme multi-plateformes libre et gratuit sous licence GPL
Avatar de l’utilisateur
Jérôme
Administrateur - Site Admin
 
Messages: 1060
Inscription: Sam 26 Aoû 2006, 13:10
Localisation: Nantes

Re: Polish translation of Pyromaths on Exercise

Messagede Kuato » Dim 09 Aoû 2015, 11:20

Hi Rafael,

If you do not want to wait, you can read the post "Internationalisation (Français/Español) et beaucoup plus", download the file "pyromaths-15.02-traduction-International-.zip" and start translate using the free Poedit.

This adaptation is Pyromaths to improve its translation.

Cheers
Kuato
 
Messages: 15
Inscription: Sam 30 Mar 2013, 20:52

Re: Polish translation of Pyromaths on Exercise

Messagede Rafal » Lun 28 Sep 2015, 15:36

Hi.

Now I see Spanish ... Ok I give up :/ I can't translate second time the same. Like I was saying: I've translate it once, and I send it on Github. https://github.com/Tarzan1984/pyromaths
Rafal
 
Messages: 12
Inscription: Mar 19 Mai 2015, 07:14

Re: Polish translation of Pyromaths on Exercise

Messagede Jérôme » Dim 04 Oct 2015, 18:45

Hey Rafal,
I've integrated your work on the new version of Pyromaths. You don't have to do it twice :)
Thanks a lot for your contribution.
Jérôme
Pyromaths génère des fiches d'exercices et leur corrigé en toute simplicité.
Un programme multi-plateformes libre et gratuit sous licence GPL
Avatar de l’utilisateur
Jérôme
Administrateur - Site Admin
 
Messages: 1060
Inscription: Sam 26 Aoû 2006, 13:10
Localisation: Nantes

Re: Polish translation of Pyromaths on Exercise

Messagede Rafal » Dim 04 Oct 2015, 22:07

Hi

I've downloaded version 15.10 from 2.10 but I can't change language. It's still only french.
Rafal
 
Messages: 12
Inscription: Mar 19 Mai 2015, 07:14

Re: Polish translation of Pyromaths on Exercise

Messagede Jérôme » Lun 05 Oct 2015, 22:15

Was it any different with your fork version of Pyromaths ?
Pyromaths génère des fiches d'exercices et leur corrigé en toute simplicité.
Un programme multi-plateformes libre et gratuit sous licence GPL
Avatar de l’utilisateur
Jérôme
Administrateur - Site Admin
 
Messages: 1060
Inscription: Sam 26 Aoû 2006, 13:10
Localisation: Nantes

Re: Polish translation of Pyromaths on Exercise

Messagede Rafal » Mar 06 Oct 2015, 11:46

I don't understand question :(
Rafal
 
Messages: 12
Inscription: Mar 19 Mai 2015, 07:14

Suivante

Retourner vers Propositions

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 8 invités

cron