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

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

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 %}

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')

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

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

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

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

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

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

Re: translating app name

2008-08-20 Thread Rajesh Dhawan
Rajesh Dhawan wrote: > On Aug 20, 9:49�am, patrickk <[EMAIL PROTECTED]> wrote: > > how do I provide the translations ... ??? > > You will have to put the translations for your app names manually (as > Malcolm confirms above, they won't be automatically extracted for > you). But once you provide

Re: translating app name

2008-08-20 Thread Rajesh Dhawan
On Aug 20, 9:49 am, patrickk <[EMAIL PROTECTED]> wrote: > how do I provide the translations ... ??? You will have to put the translations for your app names manually (as Malcolm confirms above, they won't be automatically extracted for you). But once you provide the app name translation, it

Re: translating app name

2008-08-20 Thread Malcolm Tredinnick
On Wed, 2008-08-20 at 15:53 +0200, Jarek Zgoda wrote: > Wiadomość napisana w dniu 2008-08-20, o godz. 15:33, przez Rajesh > Dhawan: > > > On Aug 20, 8:43 am, patrickk <[EMAIL PROTECTED]> wrote: > >> how? > >> > > > > You can see the following "blocktrans" fragment in django/contrib/ > >

Re: translating app name

2008-08-20 Thread Jarek Zgoda
Wiadomość napisana w dniu 2008-08-20, o godz. 15:33, przez Rajesh Dhawan: > On Aug 20, 8:43 am, patrickk <[EMAIL PROTECTED]> wrote: >> how? >> > > You can see the following "blocktrans" fragment in django/contrib/ > admin/templates/admin/index.html: > > > {% blocktrans with app.name as name

Re: translating app name

2008-08-20 Thread patrickk
how do I provide the translations ... ??? On Aug 20, 3:33 pm, Rajesh Dhawan <[EMAIL PROTECTED]> wrote: > On Aug 20, 8:43 am, patrickk <[EMAIL PROTECTED]> wrote: > > > how? > > You can see the following "blocktrans" fragment in django/contrib/ > admin/templates/admin/index.html: > > > {%

Re: translating app name

2008-08-20 Thread Rajesh Dhawan
On Aug 20, 8:43 am, patrickk <[EMAIL PROTECTED]> wrote: > how? > You can see the following "blocktrans" fragment in django/contrib/ admin/templates/admin/index.html: {% blocktrans with app.name as name %}{{ name }}{% endblocktrans %} -Rajesh D

Re: translating app name

2008-08-20 Thread patrickk
how? On Aug 15, 10:43 pm, Rajesh Dhawan <[EMAIL PROTECTED]> wrote: > On Aug 15, 10:17 am, patrickk <[EMAIL PROTECTED]> wrote: > > > is there any possibility to translate the name of an application for > > the admin-interface? it´s a bit disturbing if every models is > > translated to german

Re: translating app-name

2006-08-03 Thread Adrian Holovaty
On 8/3/06, Ian Clelland <[EMAIL PROTECTED]> wrote: > On 8/3/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > > > We should definitely solve this problem in a nicer way. What do you > > think? An __appname__ variable in the app's __init__.py file? > > Or possibly a __verbose_name__ variable, to

Re: translating app-name

2006-08-03 Thread patrickk
I´ve been thinking about the __init__.py-file also. doesn´t seem very continuous to do it there though. on the other hand, I couldn´t think of any better solution ... should I open a ticket for this one? thanks, patrick Am 03.08.2006 um 20:02 schrieb Adrian Holovaty: > > On 8/3/06, patrickk

Re: translating app-name

2006-08-03 Thread Ian Clelland
On 8/3/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > We should definitely solve this problem in a nicer way. What do you > think? An __appname__ variable in the app's __init__.py file? Or possibly a __verbose_name__ variable, to use the same terminology that we already use for models and

Re: translating app-name

2006-08-03 Thread Adrian Holovaty
On 8/3/06, patrickk <[EMAIL PROTECTED]> wrote: > isn´t there any workaround? > renaming my app solves the problem ... but then I have to mix german > and english in my code. > moreover, considering internationalization I don´t think it´s good > practice to have german app-names. I agree that

Re: translating app-name

2006-08-03 Thread patrickk
isn´t there any workaround? renaming my app solves the problem ... but then I have to mix german and english in my code. moreover, considering internationalization I don´t think it´s good practice to have german app-names. Am 03.08.2006 um 19:17 schrieb Adrian Holovaty: > > On 8/3/06,

Re: translating app-name

2006-08-03 Thread Adrian Holovaty
On 8/3/06, va:patrick.kranzlmueller <[EMAIL PROTECTED]> wrote: > the language-code for my site is german, but the app-names and the > models are english. > in the admin-interface, it´s no problem to have german names for the > tables. but how can I change the names of my installed apps? Hi

translating app-name

2006-08-03 Thread va:patrick.kranzlmueller
the language-code for my site is german, but the app-names and the models are english. in the admin-interface, it´s no problem to have german names for the tables. but how can I change the names of my installed apps? thanks, patrick --~--~-~--~~~---~--~~ You