[wp-trac] [WordPress Trac] #14972: Proposal: Pool of common strings for core, themes, and plugins
WordPress Trac
wp-trac at lists.automattic.com
Thu Oct 21 10:52:24 UTC 2010
#14972: Proposal: Pool of common strings for core, themes, and plugins
-------------------------+--------------------------------------------------
Reporter: demetris | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: i18n | Version: 3.1
Severity: normal | Keywords: dev-feedback
-------------------------+--------------------------------------------------
Comment(by nbachiyski):
Replying to [comment:23 Denis-de-Bernardy]:
> @Demetria: still, it seems to me that instead of trying to standardize
strings like this, a simpler approach would be to check, at the php level,
if there is a plugin translation, and if not trying the wp translation;
or, at the po/mo level, if there is a wp translation for a particular
string and pre-filling it when generating the files.
>
> The php approach would amount to falling back to the default text domain
when the localization of the plugin or theme is not around.
We will definitely do that, but the problem here is that translators won't
know which strings are in core and which aren't, so that they know which
to translate and which they can leave blank.
In general I am with westi, here. We'd better invest in tools that do this
for us, instead of trying to move '''any''' burden to plugin developers.
Internationalization has always been the boring thing you have to do after
you write your magnificent plugin, it should be as simple as possible.
Reading through a list of strings and trying to use generic ones is
nowhere near simple.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14972#comment:24>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list