Xiaojie Fan
Xiaojie Fan

Reputation: 46

Django: How to access locale string among apps?

There are two apps in my Django project root:

app1/
app1/locale/
app2/
app2/locale/

I want to use locale string form app1 in app2, so I can have no duplicated msgid.

Maybe, another solution is shared locale dir in project root dir:

app1/
app2/
locale/

but I have to rebuild many locale files ...

Upvotes: 1

Views: 134

Answers (1)

Gabi Purcaru
Gabi Purcaru

Reputation: 31524

You can make a symlink between them.

Upvotes: 1

Related Questions