1 diff --git a/udiskie/locale.py b/udiskie/locale.py
2 index f12bea9..450e38b 100644
3 --- a/udiskie/locale.py
4 +++ b/udiskie/locale.py
5 @@ -10,10 +10,8 @@ from gettext import translation
8 os.environ.get('TEXTDOMAINDIR'),
9 - # editable installation:
10 - os.path.join(os.path.dirname(__file__), '../build/locale'),
11 - # user or virtualenv installation:
12 - os.path.join(sys.prefix, 'share/locale'),
14 + os.path.join('@out@', 'share/locale'),
16 testfile = 'en_US/LC_MESSAGES/udiskie.mo'