Thanks. It works. Seems mo files is cached. I need change locale in settings to something else before changes take effect.
On Apr 5, 4:27 pm, Georgi Stanojevski <[EMAIL PROTECTED]> wrote: > Calumet напиша: > > > I use newform. How can I redefine error text for each field? Can I do > > this without redefining Form clean_xxx functions? > > If you don't want to redefine the form methods you could make a > "translation" and use that. > > Copy django/conf/locale/en/ to, for example, django/conf/locale/my.en/ > > Add "translations" in the .po files to your needs (the msgstr strings). > > Then generate .mo files from them (with msgfmt) and change LANGUAGE_CODE > to "my.en" > > You'll have to have i18n active which is active by default in Django. > > -- > Glisha > The perfect OS, MS-DOS! > No patches, no root exploits for 21 years. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---