cs50 / help50-deprecated

This is help50, a command-line tool that helps students understand error messages.
https://cs50.harvard.edu/
GNU General Public License v3.0
62 stars 64 forks source link

change call to bindtextdomain to find `locale` dir based on where package gets installed #261

Closed dmalan closed 7 years ago

dmalan commented 7 years ago

If submit50 gets installed by pip in, e.g., /opt/pyenv/shims/submit50, where will locale end up? Can we locate it dynamically so that we can still test during dev by running python submit50.py?

https://github.com/cs50/help50/blob/gettext/help50#L20