Re: Problem with i18n in tests

2008-11-24 Thread Karen Tracey
On Mon, Nov 24, 2008 at 9:25 AM, Florencio Cano <[EMAIL PROTECTED]>wrote: > I've done that because I want to change the default error_message and > I do not know who to do it :(. I've tried error_messages={} in the > field but it is now recognized in Fields in ModelForms only in plain > Forms. So,

Re: Problem with i18n in tests

2008-11-24 Thread Florencio Cano
I've done that because I want to change the default error_message and I do not know who to do it :(. I've tried error_messages={} in the field but it is now recognized in Fields in ModelForms only in plain Forms. So, how can I change the default error_message if I'm using ModelForms? > Why are doi

Re: Problem with i18n in tests

2008-11-22 Thread Karen Tracey
On Sat, Nov 22, 2008 at 6:52 AM, Florencio Cano <[EMAIL PROTECTED]>wrote: > Hi! > I'm testing a Django application where I'm using i18n. > The problem is with a test that says that a word with an accent > (spanish) is the same as a word without an accent. And although I have > established my own e

Re: Problem with i18n in tests

2008-11-22 Thread Ramiro Morales
On Sat, Nov 22, 2008 at 9:52 AM, Florencio Cano <[EMAIL PROTECTED]> wrote: > Hi! > I'm testing a Django application where I'm using i18n. > > [...] > > FAIL: test_agregar_responsable_nombre_duplicado_tildes > (gesfich.fichlopd.tests.RegistrarUsuariosTestCase) >

Re: problem with i18n (blocktrans)

2008-10-15 Thread Malcolm Tredinnick
On Wed, 2008-10-15 at 08:52 -0700, pihentagy wrote: > Ok, I have figured out. > > You should never use non-unix-style line-endings in your templates, > because blocktrans will not work :-/ Hmm. That doesn't sound very convenient, since it basically means you can't use a normal Windows editor. I

Re: problem with i18n (blocktrans)

2008-10-15 Thread pihentagy
Ok, I have figured out. You should never use non-unix-style line-endings in your templates, because blocktrans will not work :-/ On Oct 15, 11:42 am, pihentagy <[EMAIL PROTECTED]> wrote: > Hi all! > > Can somebody please tell me what's wrong with my template and/or po > file? > > trans tags work

Re: Problem with i18n - "en_US" locale translations coming through for "en"

2008-10-12 Thread cardhu
Hi Fran, Sorry if I can't help but I've been looking myself for a possibly quick answer to a strange problem regarding i18n. I am running latest svn rev and the strangest thing is that in the admin app I am presented with both LANGUAGES and LANGUAGE_CODE. My custom templates however do not recogni

Re: Problem with i18n - "en_US" locale translations coming through for "en"

2008-08-27 Thread Fran O'Reilly
I've raised the following ticket for this issue: http://code.djangoproject.com/ticket/8626 Have also confirmed on latest from svn, 1.0-beta_2-SVN-8643. The ticket includes all the files needed to reproduce the problem. On Aug 27, 5:35 pm, "Fran O'Reilly" <[EMAIL PROTECTED]> wrote: > Hi all, > >

Re: problem with i18n in admin interface

2008-04-25 Thread Malcolm Tredinnick
On Fri, 2008-04-25 at 12:54 +0530, Kenneth Gonsalves wrote: > hi, > > am using revision 7457. I just noticed that in the admin interface, > the following are not being translated: > add > select to change > for example on the main index: > in english: 'areas' > in finnish: 'Alueet' > no proble

Re: Problem with i18n

2006-01-07 Thread Beegee
Yep. And now it works perfectly. Reading the documentation again and again I see it is actually in the documentation! You have to very carefully read the documentation. What confused me was the following part in the documentation. It is the paragraph called "How to create language files". It cont

Re: Problem with i18n

2006-01-07 Thread hugo
>I think you should have $PROJECTPATH/locale and not >$PROJECTPATH/conf/locale as in the Django source tree. Exactly. Only the Django source tree uses conf/locale/, projects and apps use just locale/. With the wrong paths make-messages.py was thinking about running in the Django source tree, that

Re: Problem with i18n

2006-01-06 Thread akaihola
I think you should have $PROJECTPATH/locale and not $PROJECTPATH/conf/locale as in the Django source tree. You can also define a LOCALE_PATH tuple in your settings to use additional catalogs. I use that to split up my translations to project specific strings (in $PROJECTPATH/locale) and original

Re: Problem with i18n

2006-01-06 Thread Kenneth Gonsalves
On Saturday 07 Jan 2006 3:24 am, Beegee wrote: > preferences of Firefox as my first language. As a test I browse > to the Django Administration site and it is in Dutch! Perfect. > But, my own application is still in English. No Dutch. you did the trans thing in the templates? -- regards kg htt

Re: Problem with i18n

2005-12-03 Thread hugo
>it works only if I remove the r from the parameter at lines 78, 94 and >103. Ah, actually that's even correct - I somehow mixed popen and popen3 syntax :-) Fix is in SVN now. bye, Georg

Re: Problem with i18n

2005-12-03 Thread olive
Georg, it works only if I remove the r from the parameter at lines 78, 94 and 103. Olivier. PS: I have downloaded the win32 version of gettext from sourceforge.

Re: Problem with i18n

2005-12-03 Thread hugo
Hi, >There is no such xgettext on my system, do I need to download/install >3rd party tool ? Yes, to make use of make-messages.py you have to install the gnu gettext utilities. The script uses xgettext, msguniq and msgmerge. And I absolutely don't know wether all this actually will run with Wind