Hi All!

All my sources are in the /home/sector119/devel/eps_src/eps
All applications are in /home/sector119/devel/eps_src/eps/apps
And all my templates are in /home/sector119/devel/eps_src/templates
dir which contains app_name dir which contains templates for that
application!

Where I have to put locale/ dir to handle translations from my
template?
If I put it in /home/sector119/devel/eps_src/templates/APP_NAME
directory Django daesn't handle translations for this app templates. I
don't want to add /home/sector119/devel/eps_src/templates/APP_NAME
path for all my apps to the LOCALE_PATHS in my settings, it's not
handy, I think.

What is the best way to handle translations for templates in my case?

My settings.py
TEMPLATE_LOADERS = (
    'django.template.loaders.filesystem.load_template_source',
    'django.template.loaders.app_directories.load_template_source',
)

TEMPLATE_DIRS = (
    '/home/sector119/devel/eps_src/templates',
)

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to