[wp-trac] [WordPress Trac] #23721: Better control of textdomains.
WordPress Trac
noreply at wordpress.org
Fri Mar 8 07:23:46 UTC 2013
#23721: Better control of textdomains.
-----------------------------+-------------------------
Reporter: krembo99 | Type: enhancement
Status: new | Priority: normal
Milestone: Awaiting Review | Component: I18N
Version: | Severity: normal
Keywords: |
-----------------------------+-------------------------
At the current state , loading a text domain is done by the plugin/theme
author , and leaves no control to the user / other devs to intervene with
this process. we are left to the mercy and good will of the original
author .
It would be a good thing to create some HOOK or ACTION that will allow a
user to override this somehow.
At the very least (and maybe it should be a different ticket) a function
that will return all available $domain names and paths should be made
available (currently no way of retrieving that but parsing the $i18n
global)
Example : If a user need a plugin/ theme that does not have a translation
for my desired language , or a BAD translation (or no translation at all)
the user then creates it´s OWN translation, and by dropping it inside wp-
content/languages folder , that translation will be loaded instead of the
one supplied (or not supplied ) with the original plugin / theme .
Current state : If a user loads a translation to the original plugin
folder for translations, it will be deleted upon first update .
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23721>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list