Load translations from the library

Make plugins easier to write moving the burden of the translation to
the library.