[wp-trac] [WordPress Trac] #14972: Proposal: Pool of common strings for core, themes, and plugins

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 19 12:11:39 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 Arlen22):

 Here are a few thoughts.

 *Each file should have the locale ID on the end of it ("strings-
 common.en.php").
 *I think we could purge unused strings from the list (after due
 discussion) on each line increment ('''2'''.9.2). Version ('''2.9'''.2
 would probably be too fast and volatile.
 *Code comments would take care of meaning problems. See my example below

 {{{
 <?php
 __('Search', ''); # This is the Action ("Search for the keys.")
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14972#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list