Using rosetta 0.6.0 on Django 1.3 with Linux
According to the django docs
(https://docs.djangoproject.com/en/1.3/howto/i18n/#using-translations-in-your-ow
n-projects) the $PROJECTPATH/locale/ search path is deprecated. As such, I
imagine it's possible that this search path will vanish at some point.
Because of this I've made sure that I set up LOCALE_PATHS in my settings to
point to $PROJECTPATH/locale. Unfortunately, this means rosetta picks up my
locale directory twice.
I think it does this as I have a symlink to /var/local/django/project_timestamp
from /var/local/django/project_name (we have many builds so branching the code
into timestamped directories and symlinking back to the current one is sensible
in our set up). Rosetta picks up the symlink directory name as one of the
projects and the real directory (the timestamped directory) as another project.
This means that on the language selection page we see something like:
English (United States)
Application Progress ....
ProjectName 0.00%
ProjectName_datetime 0.00%
French
Application Progress ....
ProjectName 39.00%
ProjectName_datetime 0.00%
Would it be possible to provide a choice to weather or not you want to allow
the deprecated $PROJECTPATH/locale/ followed? Or some sort of detection to see
if the directory already exists in LOCALE_PATHS before adding it?
Original issue reported on code.google.com by bex.le...@gmail.com on 20 Jul 2011 at 11:34
Original issue reported on code.google.com by
bex.le...@gmail.com
on 20 Jul 2011 at 11:34