Register texts of domain and get a text (like gettext).