Note: The code should do the right thing on windows and macos because the default remains the same:
os.path.join(os.path.realpath(os.path.dirname(__file__)), '..', 'locale')
It's only when that directory is not available that we try the Linux system location. Good point about Solaris, though. Updated patch attached.
Note: The code should do the right thing on windows and macos because the default remains the same: join(os. path.realpath( os.path. dirname( __file_ _)), '..', 'locale')
os.path.
It's only when that directory is not available that we try the Linux system location. Good point about Solaris, though. Updated patch attached.