colbyga / pychess

Automatically exported from code.google.com/p/pychess
GNU General Public License v3.0
0 stars 0 forks source link

Using complete 100% translation from Launchpad with 0.10 some tags that should be translated are not translated #404

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,
today I have transleded 100% of text PyChess into Slovenian language using
Launchpad: https://translations.launchpad.net/pychess/trunk/+pots/pychess

Then I have done the following:
1. after I had completed translation I have downloaded .mo file from
Launchpad to my Ubuntu 8.10 notebook
2. renamed downloaded .mo file to pychess.mo
3. copied pychess.mo to locale directory:
   sudo cp pychess.mo /usr/share/locale/sl/LC_MESSAGES/
4. set privileges to file:
   sudo chmod +r /usr/share/locale/sl/LC_MESSAGES/pychess.mo
5. started the PyChess program by using: pychess command from Terminal

What I see this version of translation is most likely for 0.8 version of
PyChess, but I have installed 0.10 Alpha 2 PyChess on my notebook, because
official 0.8.2 from Ubuntu repository had some bug that prevented me to
play on-line chess with black figures. This bug is solved by 0.10 version
downloaded from http://code.google.com/p/pychess/downloads/list and
installed by deb file.

What I have found out that 0.10 does not show correctly all tags (it shows
English version instead of my translated version) with some translations
like in Action menu, there are the following items not translated at all
despite I have translated them in Launchpad:
1. in Action menu Offer Pause
2. in Action menu: Offer Resume
3. in Action menu: Offer Undo
4. in Action menu: Resign
5. in Action menu: Ask to move
6. in View menu: Fullscreen (this is probably new tag in 0.10 version,
because I can't find it on Launchpad).
7. in View menu: Show Sidepanels (probably new tab)
8. Settings menu is in English (can't find in Launchpad, probably new in 0.10)
9. in Game menu | New game window has the following not translated options:
  a) White player
  b) Black player
  c) Time control
  d) No controls
  e) Rapid (it looks new in 0.10)
  f) Chess Variant
  g) Play Normal chess
  h) Play Fischer Random chess (it looks new in 0.10)
  i) Play Losers chess
10. When closing all tabs there are two windows at top there is: Opponent
not translated
11. At the same window but bottom (internet game) there is no translation
with Handle and Password.
12. At the same window there are both bottons "Start Game" and "Connect to
FICS" are not translated.

Can you please fix all translations that was already available in 0.8 and
are now broken in 0.10 version.
Regards

Original issue reported on code.google.com by igo...@gmail.com on 3 Mar 2009 at 5:43

GoogleCodeExporter commented 9 years ago
The general rule about translations is upadting template.po at first RC phase 
only.
This is because in alpha/beta phase strings and dialogs can change, maybe new
features can land in the code etc. But if you want to work on your translations 
right
now for svn head, you can read about it in the PyChess's README file.

Original comment by gbtami on 4 Mar 2009 at 7:55

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
@gbtami, I was just surprised to see the same name translation strings from 0.8 
does
not work in 0.10. That is little bit strange. Can't figure it out why? I think 
that
same name translation strings should work in next version. If this is true, a 
lot of
strings would already be translated. So this is why I have reported a bug - the 
same
translation string names from one version to next one should be working.

Can any developer check out why for example Action menu | "Offer Pause" is not 
the
same string in 0.8 and 0.10? The same is for all other suggested strings. If 
this
strings works I would be perfectly satisfied.

Is there a much work to check out and if possible repair name strings in 0.10 
that
would have the same name as in 0.8? It would be backward compatible and it 
would make
this 0.10 version very useful for my family and my chess friends which are not 
very
familiar with English

Thanks a lot

Original comment by igo...@gmail.com on 4 Mar 2009 at 5:13

GoogleCodeExporter commented 9 years ago
You are right. Seems we did last time modifications in .glade files after 
generating
.po files. grrr. We will fix this in 0.10 of course.

Original comment by gbtami on 6 Mar 2009 at 5:52

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
@gbtami, thanks for looking into this problem.

By the way, I have done the following on Ubuntu 8.10:
1. I installed subversion program and then downloaded development version from
googlecode subversion using command:
svn checkout http://pychess.googlecode.com/svn/trunk/ pychess-read-only
2. cd pychess-read-only/
3. run PyChess development version using: PYTHONPATH=lib/ ./pychess
4. I see there is no Slovenian language available in 0.10. I translated PyChess 
into
Slovenian using Launchpad few days ago and it looks Slovenian language hasn't 
been
taken into synchronization yet. So I did the following to include Slovenian 
language
manually:
5. I downloaded po file from Launchpad from
http://launchpadlibrarian.net/23572596/pychess_pychess-sl.po
6. I created two subdirectories sl/LC_MESSAGES into pychess-read-only/lang/
7. I copied pychess_pychess-sl.po file into
pychess-read-only/lang/sl/LC_MESSAGES/pychess.po
8. I run PyChess again: PYTHONPATH=lib/ ./pychess
But still Slovenian language is not accepted. I get PyChess in English. Any 
idea how
to get Slovenian language which is at the moment not included into PyChess? 
Could you
please include Slovenian language into subversion development version from 
Launchpad.

One more question. How can I easily merge template.po from 0.10 version with my
pychess_pychess-sl.po from 0.8 version to get new version of Slovenian language 
that
would work for 0.10 version?

Regards

Original comment by igo...@gmail.com on 7 Mar 2009 at 8:35

GoogleCodeExporter commented 9 years ago
The programs using gettext read from .mo files, not from .po files when they 
run.

From our README:

To create po files from glade and python files, use
$ sh create_template.po.sh

To merge to files for like to update your old translation to a new PyChess
version, use
$ msgmerge oldtranslation.po newtemplate.po -o tobetranslated.po

To compile the po file to an mo file (machine readable file) use
$ msgfmt mytranslation.po -o mytranslation.mo

Original comment by gbtami on 7 Mar 2009 at 9:08

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
@gbtami, I have read this file, but I couldn't understand why should be 
generating
python files... Now I understand template.po file can be an old file...

Now I have followed you tips and successfully translated development version. 
Thanks
a lot for help.

One more question:
Is there any location (URL) where I could upload this 0.10 development 
translation.
What I would like is to give info to my friends and post info to my country 
chess
forum, something like:
1. download 0.10 deb file from URL...
2. install deb package
3. download .mo translation file from URL... (THIS LOCATION I NEED)
4. copy .mo file to...
etc

Original comment by igo...@gmail.com on 9 Mar 2009 at 1:23

GoogleCodeExporter commented 9 years ago
I think the best place for translations is our svn. But we dont't store 
generated
files there (like .mo files). So the best i can suggest is to register at some 
public
file sharing place, and upload the .mo file there. At least until your 
translations
will go into our next release.
You just have to ask lobais to give you svn access.

Original comment by gbtami on 11 Mar 2009 at 2:39

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I was just wondering... why am I having such a questions where to load. I will 
just
load to this bug tracker. :)

See attachment at bottom of this post.

Original comment by igo...@gmail.com on 16 Mar 2009 at 5:23

Attachments:

GoogleCodeExporter commented 9 years ago
Committed the 0.10 version for trunk. I'm not sure about 0.8. I hope we can 
release
0.10 without releasing any new 0.8.x :)
Thank your very much working on translating PyChess!

Original comment by gbtami on 17 Mar 2009 at 7:43

GoogleCodeExporter commented 9 years ago

Original comment by gbtami on 17 Mar 2009 at 7:44

GoogleCodeExporter commented 9 years ago

Original comment by gbtami on 19 Mar 2009 at 8:20

GoogleCodeExporter commented 9 years ago

Original comment by gbtami on 19 Mar 2009 at 8:25

GoogleCodeExporter commented 9 years ago
gbtami, I have downloaded new version from subversion and I see Slovenian 
language is
included into PyChess. Thanks a lot. You can close this problem as solved.

Original comment by igo...@gmail.com on 19 Mar 2009 at 9:26

GoogleCodeExporter commented 9 years ago

Original comment by gbtami on 19 Mar 2009 at 9:53

GoogleCodeExporter commented 9 years ago
I have attached new translation (version 2). Please see attachment.

Original comment by igo...@gmail.com on 19 Mar 2009 at 6:53

Attachments:

GoogleCodeExporter commented 9 years ago
committed to svn

Original comment by gbtami on 19 Mar 2009 at 7:48

GoogleCodeExporter commented 9 years ago
I have attached new translation (version 3). Please see attachment.

Original comment by igo...@gmail.com on 20 Mar 2009 at 10:41

Attachments:

GoogleCodeExporter commented 9 years ago
Committed to svn.
Some named_argument was missing in %(named_argument)s formulas.
They are necessary to avoid "TypeError: not enough arguments for format 
string", so
i'v fixed them.

Original comment by gbtami on 21 Mar 2009 at 8:08

GoogleCodeExporter commented 9 years ago
Gbtami, thank you very much for repairing strings.

Original comment by igo...@gmail.com on 21 Mar 2009 at 9:09

GoogleCodeExporter commented 9 years ago
New translation version.

Original comment by igo...@gmail.com on 21 Mar 2009 at 9:35

Attachments:

GoogleCodeExporter commented 9 years ago
committed

Original comment by gbtami on 22 Mar 2009 at 9:51

GoogleCodeExporter commented 9 years ago
New translation version.

Original comment by igo...@gmail.com on 23 Mar 2009 at 4:27

Attachments:

GoogleCodeExporter commented 9 years ago
committed

Original comment by gbtami on 23 Mar 2009 at 7:53

GoogleCodeExporter commented 9 years ago
New translation version.

Original comment by igo...@gmail.com on 24 Mar 2009 at 7:12

Attachments:

GoogleCodeExporter commented 9 years ago
I have added new translation for 0.10 version (see 0.10 folder in tar file).
Translation is updated to 0.10 version 1510 svn release.

Original comment by igo...@gmail.com on 28 Jul 2009 at 7:40

Attachments:

GoogleCodeExporter commented 9 years ago
committed

Original comment by gbtami on 28 Jul 2009 at 7:56

GoogleCodeExporter commented 9 years ago
Hi,
I have downloaded the latest svn 1512. And if I understand correctly above
translation is not included. Am I right?
Regards

Original comment by igo...@gmail.com on 10 Aug 2009 at 12:33

GoogleCodeExporter commented 9 years ago
As i see the the sl po file from ...7.tar.gz is the same as in svn trunk.
Where can i see the difference?

Original comment by gbtami on 10 Aug 2009 at 5:58

GoogleCodeExporter commented 9 years ago
I have added new Slovenian translation for 0.10 version svn 1522.

Original comment by igo...@gmail.com on 29 Sep 2009 at 6:54

Attachments:

GoogleCodeExporter commented 9 years ago
committed

Original comment by gbtami on 29 Sep 2009 at 8:07

GoogleCodeExporter commented 9 years ago
I have added new Slovenian translation for 0.10 revision svn 1605.

Original comment by igo...@gmail.com on 4 Feb 2010 at 4:44

Attachments:

GoogleCodeExporter commented 9 years ago
committed

Original comment by gbtami on 4 Feb 2010 at 4:59

GoogleCodeExporter commented 9 years ago
I have added new Slovenian translation.

Original comment by igo...@gmail.com on 17 Feb 2010 at 6:27

Attachments:

GoogleCodeExporter commented 9 years ago
committed, thx.

Original comment by gbtami on 17 Feb 2010 at 7:31

GoogleCodeExporter commented 9 years ago
I have added new Slovenian translation.

Original comment by igo...@gmail.com on 7 Apr 2010 at 7:33

Attachments:

GoogleCodeExporter commented 9 years ago
committed, thx.

Original comment by gbtami on 9 Apr 2010 at 7:59

GoogleCodeExporter commented 9 years ago
I have added new Slovenian translation.

Original comment by igo...@gmail.com on 10 Jul 2010 at 5:26

Attachments:

GoogleCodeExporter commented 9 years ago
committed, thx.

Original comment by gbtami on 11 Jul 2010 at 2:10

GoogleCodeExporter commented 9 years ago
Today there was a seek dialog added and I have translated this new strings to 
Slovenian. I have added new Slovenian translation.

Original comment by igo...@gmail.com on 12 Jul 2010 at 4:39

Attachments:

GoogleCodeExporter commented 9 years ago
This seems identical to version_12.
Btw. do you know we have a #pychess channell in irc.freenode.net ?

Original comment by gbtami on 12 Jul 2010 at 5:43