Re: [poedit-users] How to translate a Django application using Poedit?

Vaclav Slavik <[email protected]> Wed, 14 Jul 2010 17:10:00 +0200
Newsgroups gmane.editors.poedit.user
Message-ID <1279120200.25047.3.camel@localhost>
--===============2459047288248177442==
Content-Type: multipart/signed; micalg="pgp-sha1";
	protocol="application/pgp-signature";
	boundary="=-2R60v5wsN2inSJQjT++d"


--=-2R60v5wsN2inSJQjT++d
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Wed, 2010-07-14 at 07:38 -0700, Cristian Ciupitu wrote:
> so Poedit tries to open `locale/ro/LC_MESSAGES/admin.py` which of
> course does not exist. Is there a way to fix this issue?=20

Yes: either put the .py files where Poedit can find them (as they are
without path, that would be the same directory where the .po file is) or
fix django-admin to create .po files with full relative paths to the
files, as xgettext does. Of course, if you were to write a patch to
Poedit that implemets smarter lookup of the files, it would be gladly
accepted too.

BTW, the subject line is misleading: this is inconvenient a bit, sure,
but it's far cry from preventing you from doing the translation. (Unless
Django does something weird like not using full English strings for
msgid?)

Regards,
Vaclav

--=-2R60v5wsN2inSJQjT++d
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)

iEYEABECAAYFAkw900gACgkQxDYa/UZSZMn3HACfaFOPAkjUTea5yKcPtgIeIEAS
kRgAoI2KyHyg0wIAXHJCFWvkd0ajWR5t
=A6Lr
-----END PGP SIGNATURE-----

--=-2R60v5wsN2inSJQjT++d--



--===============2459047288248177442==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
--===============2459047288248177442==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Poedit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/poedit-users

--===============2459047288248177442==--