bug-ballandpaddle
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-ballandpaddle] "Ball and Paddle" French Translation


From: Eric P Hutchins
Subject: Re: [Bug-ballandpaddle] "Ball and Paddle" French Translation
Date: 15 Aug 2011 09:46:17 -0400
User-agent: SquirrelMail/1.4.21

> Hello !
>
> I would like to bring my small contribution to Ball and Paddle by
> translating the game to French.

Awesome! I appreciate that. :-) Unfortunately, the code is only setup to
handle translating the main menu at the moment, but if you'd like to do it
anyway, it's not very hard.

> However, I don't really know how to handle the .po files.
> Do you have a template or some instructions about it ?

- Make sure you have gettext installed

- Edit the po/LINGUAS file and add a line with the text 'fr' in it just
like the 'de' and 'ja' that exist currently.

- While in the locale you want to make a translation for (I assume this is
your preferred locale anyway), run `cd po' and then `msginit'. Or if you
aren't currently in the french locale, something like `LC_ALL=fr_FR.UTF-8
msginit'

- Run `make update-po' from inside the po directory.

- Notice that it should say '0 translated messages, 5 untranslated messages.'

- Edit the fr.po file with your favorite editor to add the translations to
each of the strings.

- Run `make update-po' again.

- This time it should say that there are 5 translated messages.

- Run `make install' whether in the po directory or not.

> I thank you very much in advance for your answer.
>
> Marc-Alexandre Espiaut
>

I will prepare the next version to have more strings be translatable like
the options menu, the word "Back" in the later menus, "Get Ready", etc. so
that more translators like you can be more useful to the project. Let me
know if you'd like to try translating in the latest sources from version
control in case I add support for it. I'll let you know when it's ready
and how to get the sources.

-Eric




reply via email to

[Prev in Thread] Current Thread [Next in Thread]