internationalization - How do I make django translate certain files? -



internationalization - How do I make django translate certain files? -

i'm running django-admin.py makemessages -l es within app directory create trnaslation strings. result includes texts located in app directory. templates directory app located outside app's directory. how inquire django translate template files too?

i didn't want run above command within project's dir, because project contains folders not want translate.

never mind, found answer. have create symlinks folders want translated (i.e. templaets) , re-create symlinks apps directory , run above command --symlinks included.

django internationalization

Comments

Popular posts from this blog

ios - Fragment Shader GLSL for texture, color and texture/color -

iphone - Dismissing a UIAlertView -

java - Does anyone know the name of this "LookAndFeel"? -