i18n fails with 'python setup.py install --prefix=/usr/local'

Registered by fma38 on 2008-02-21

If I launch Phatch from the source dir, using 'python phatch/phatch.py', it uses the correct language (french, here).
But once installed, with 'python setup.py install --prefix=/usr/local', then i18n does not work.
I'm using Phatch under debian testing.

Blueprint information

Status:
Complete
Approver:
Stani
Priority:
Low
Drafter:
Stani
Direction:
Approved
Assignee:
Stani
Definition:
Approved
Series goal:
Accepted for 0.2
Implementation:
Implemented
Milestone target:
milestone icon 0.2.8
Started by
Stani on 2008-02-25
Completed by
Stani on 2010-03-13

Related branches

Sprints

Whiteboard

In order to solve this issue, setup.py should register the prefix somehow. Afterwards this value should be used in the function check_config_paths in phatch/core/config.py

Try to find out how other python applications do this and provide me a patch or any information you can find.

I targetted this for Phatch 0.2, unless you are very fast in which case it can be included in Phatch 0.1

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.