Re: translating app name ... again

2009-03-08 Thread Ramiro Morales
On Fri, Mar 6, 2009 at 11:21 PM, Malcolm Tredinnick wrote: > > On Fri, 2009-03-06 at 07:01 -0800, patrickk wrote: >> so, now here´s a little tutorial for translating app-names throughout >> the admin-interface: > > Nice summary. :-) > >> 3. change app-names in index.html /// on line 18 replace {%

Re: translating app name ... again

2009-03-06 Thread Malcolm Tredinnick
On Sat, 2009-03-07 at 12:21 +1100, Malcolm Tredinnick wrote: [...] > All of those are bugs (the same bug: not marking app name for > translation). If you'd like to open a ticket and drop in a patch, it's > an more-or-less obviously correct set of changes to make. > > Put it in the "internationali

Re: translating app name ... again

2009-03-06 Thread Malcolm Tredinnick
On Fri, 2009-03-06 at 07:01 -0800, patrickk wrote: > so, now here´s a little tutorial for translating app-names throughout > the admin-interface: Nice summary. :-) > 3. change app-names in index.html /// on line 18 replace {% blocktrans > with app.name as name %}{{ name }}{% endblocktrans %} wit

Re: translating app name ... again

2009-03-06 Thread patrickk
so, now here´s a little tutorial for translating app-names throughout the admin-interface: 1. define the app-names: I´m currently using the __init__-file of my blog-application. it looks like this: from django.utils.translation import ugettext_lazy as _ _(u'auth') _(u'configuration') _(u'commen

Re: translating app name ... again

2009-03-06 Thread patrickk
you´re talking about the models name, not the applications name ... @nadya: with changing index.html the way you did it works for me as well. for changing the breadcrumbs (which obviously is a "must" if you change the app-names) you have to change change_list.html and change_form.html replace {{

Re: translating app name ... again

2009-03-06 Thread Muslu Yüksektepe
i dont understand.. do u wanna mean your app name? if u wanna tell about your app name in admin panel i think u can use *USE_I18N = True in settings.py* and * class Meta: verbose_name_plural = "Your App Name" in models.py* try it and write me answer please 2009/3/4 patrickk >

Re: translating app name ... again

2009-03-06 Thread Nadya Sevova
I put my translations in the django.po file and also changed a little bit the admin's index.html template. Replaced this: {% blocktrans with app.name as name %}{{ name }}{% endblocktrans %}

Re: translating app name ... again

2009-03-06 Thread Nadya Sevova
I put my translations in the django.po file and also changed a little bit the admin's index.html template. Replaced this: {% blocktrans with app.name as name %}{{ name }}{% endblocktrans %}

Re: translating app name ... again

2009-03-05 Thread patrickk
well, I tried some things within the last couple of hours (like changing upper/lowercase), but it still doesn´t work. although automatic extraction of app-names would be perfect, translating the names manually is totally fine for me (if it works). it just want to get rid of that language-mix (eve

Re: translating app name ... again

2009-03-05 Thread Malcolm Tredinnick
On Wed, 2009-03-04 at 23:30 -0800, patrickk wrote: > great - a gleam of hope ... but what do you mean with "put each of > your app names into a file ..."? what file? where? Any file. It doesn't matter. Some file that "makemessages" will pick up and read, so best make it a .py file. It could be an

Re: translating app name ... again

2009-03-04 Thread patrickk
just tried to write the app-names to my applications __init__-file. the po-file is generated fine, but the translation still doesn´t work. On Mar 5, 8:30 am, patrickk wrote: > great - a gleam of hope ... but what do you mean with "put each of > your app names into a file ..."? what file? where?

Re: translating app name ... again

2009-03-04 Thread patrickk
great - a gleam of hope ... but what do you mean with "put each of your app names into a file ..."? what file? where? can I use __init__.py within my app and just put the app-names there and mark them as to translate? I already tried to translate the app-names by using a translation-file (django.

Re: translating app name ... again

2009-03-04 Thread Malcolm Tredinnick
On Wed, 2009-03-04 at 09:39 -0800, patrickk wrote: > so far, it doesn´t seem possible to translate the app-names within the > admin-interface, which results in a strange index-site with mixed > languages. > > any updates on this issue? any ideas? If you put each of your app names into a file tha

translating app name ... again

2009-03-04 Thread patrickk
so far, it doesn´t seem possible to translate the app-names within the admin-interface, which results in a strange index-site with mixed languages. any updates on this issue? any ideas? thanks, patrick --~--~-~--~~~---~--~~ You received this message because you