Maintaining context of current plugin can simplfy i18n API
|Reported by:||omry||Owned by:||anonymous|
Following a discussion in the mailing list regarding improving the translation functions so that plugin authors will be able to provide their own translation files, which will be loaded automatically and available through the standard () and _e() functions without specifying a domain, I wrote a small prototype that demonstrate how it can be done.
the full thread is here, and the updated prototype (with stack support) is attached to the ticket.
before looking at the code, its suggested to read the mailing list thread.