Patch to make it work for OS X packages too (based on current X11-based packaging). The python code very likely could be optimized - what I tried to implement:
if platform is 'darwin' then
if $INKSCAPE_LOCALEDIR is set
use it
else
if $PACKAGE_LOCALE_DIR is set
use it
else
use fallback
Patch to make it work for OS X packages too (based on current X11-based packaging). The python code very likely could be optimized - what I tried to implement:
if platform is 'darwin' then
if $INKSCAPE_LOCALEDIR is set
use it
else
if $PACKAGE_LOCALE_DIR is set
use it
else
use fallback