Improve gettext bindings.

I have implement error handlers and formats functions.
Implement file origins.