[wp-hackers] text domain different from 'default'

Nikolay Bachiyski nbachiyski at developer.bg
Thu Apr 7 16:09:30 GMT 2005

Nikolay Bachiyski wrote:
> 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 
> i18n version...
> 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?

Since it will be really hard to incorporate suitable extternal theme .mo 
inclusion I suggest
that for 1.5.1 in all languages the theme is translated straight into 
the theme files.


More information about the wp-hackers mailing list