Here is the .pot file translated. 2007/3/9, David Larlet <[EMAIL PROTECTED]>: > 2007/3/9, Malcolm Tredinnick <[EMAIL PROTECTED]>: > > > > On Fri, 2007-03-09 at 17:12 +0100, David Larlet wrote: > > [...] > > > Sorry for your night, just a quick question ;-) > > > > > > In my .pot generated file, I have already translated sentences eg: > > > in django.po: > > > > > > #: contrib/admin/filterspecs.py:117 > > > msgid "This year" > > > msgstr "Cette année" > > > > > > in django.pot: > > > > > > #: contrib/admin/filterspecs.py:117 > > > msgid "This year" > > > msgstr "" > > > > > > I thought it was the gettext goal not to translate strings twice. Did > > > I miss something? A bug? Just to be sure not to do the work twice. > > > > Hmmm... this sounds like something that gettext-0.15 is doing > > differently to 0.14.x (I only have 0.14.x on the machine I'm at at the > > moment). Did make-messages.py generate a django.po file for you, or just > > a django.pot file? What should be happening is that we only update the > > existing .po file, so I'm not sure where the django.pot file is coming > > from. > > I've tried to do that with the latest version (0.16) compiled on my > mac. I've just tried at home with my ubuntu and gettext 0.15 and it > works, it generates a .pot file with strings not translated. > > I imagine I just have to make a diff between generated .pot and > already existant .po? > > Thanks for your quick answer, > David > > > > > You are right that you should translate things once. As far as Django is > > concerned, there are two files you (as a translator) care about: > > django.po and djangojs.po for your particular locale. Those two should > > be updated by make-messages.py (since obviously the fr locale already > > exists in Django's source). > > > > There are a few people on the list already using 0.15, so they may be > > able to help you. Otherwise, I'll have a look tomorrow or Sunday on a > > machine that gettext-0.15 installed on it and see what's going on. > > Shouldn't be too hard to make things work with both without problems. > > > > (By the way, I'm guessing you're using 0.15 because that's the version > > that generates the warnings you reported earlier.) > > > > Regards, > > Malcolm > > > > > > > > > > >
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django I18N" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Django-I18N?hl=en -~----------~----~----~----~------~----~------~--~---
django.pot
Description: MS-Powerpoint presentation
