[wp-hackers] text domain different from 'default'
nbachiyski at developer.bg
Tue Apr 5 08:09:13 GMT 2005
Ryan Boren wrote:
> Indeed. Each domain has its own catalog. Some projects like to use
> several domains in order to make string lookup faster since the lookup
> is bounded by catalog. Separate domains are also useful when you want
> to selectively load catalogs depending on context. I've considered
> putting all admin strings in a separate domain/catalog so that we
> wouldn't have to load them during regular blog page loads.
I think it is a good solution. However a lot of code needs small, but
expensive alternations. It would be nice to have this in 1.5.1 - the
And the question how to handle template functions used in many
themes/plugins using different domains is still open. Maybe a domain
parameter should be added to template functions?
More information about the wp-hackers