added support for multiple text domains