"django-admin.py makemessages -l de" "django-admin.py makemessages -l es"
On Thu, Jul 12, 2012 at 2:59 PM, Phil <phil...@gmail.com> wrote: > Hi, > > (django version 1.3.1, Python2.7) > > (at the end of my settings file) > ======================== > # translation support > ugettext = lambda s: s > > LANGUAGES = ( > ('en', ugettext('English')), > ('es', ugettext('Spanish')), > ('de', ugettext('German')), > ) > > LOCALE_PATHS = ( > '/home/phil/project/locale', > ) > ======================== > > I am implementing languages into my django website. It's working fine but > when I run "django-admin.py makemessages" on the command line it gives the > following error.... > > "Error: This script should be run from the Django SVN tree or your project > or app tree. If you did indeed run it from the SVN checkout or your project > or application, maybe you are just missing the conf/locale (in the django > tree) or locale (for project and application) directory? It is not created > automatically, you have to create it by hand if you want to enable i18n for > your project or application." > > So like it says, I create the "locale" folder manually then(it's in the root > of my project directory) run makemessages again but I just get another error > saying... > > "Error: Type 'django-admin.py help makemessages' for usage information." > > Any idea's where I could be going wrong? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/django-users/-/IukJjVtKua4J. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. -- "The whole of Japan is pure invention. There is no such country, there are no such people" --Oscar Wilde |_|0|_| |_|_|0| |0|0|0| (\__/) (='.'=)This is Bunny. Copy and paste bunny (")_(") to help him gain world domination. -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.