[wp-trac] [WordPress Trac] #18218: Too many similar translation string

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 22 17:12:26 UTC 2011


#18218: Too many similar translation string
--------------------------+-----------------------------
 Reporter:  ramiy         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 WordPress .po/.mo file is too big (3,312 strings). I know that we can't
 delete strings '''but''' we can reduce the file size by merging simmilar
 strings. WordPress has too many simmilar string. English developers don't
 notice this but non-english translators are frustrated by this when they
 have to translate the same string in 2 or 3 different variations.

 I suggest to merge simmilar strings, this way will achive two things:

 1. Smaller .po/.mo files.
 1. Easier translation process as there will be less string to translate. I
 belive 200-300 strings less.

 (Check out the bbPress ticket #BB1584 for more information and examples)

 Few WordPress examples:

 ----

 '''No login ID submitted'''
 * wp-includes/class-pop3.php:168

 '''no login ID submitted'''
 * wp-includes/class-pop3.php:115

 (change n->N)
 ----

 '''You are not allowed to post as this user.'''
 * wp-admin/includes/post.php:65

 '''You are not allowed to post as this user'''
 * wp-includes/class-wp-xmlrpc-server.php:2263

 (add '.')
 ----

 '''Log out'''
 * wp-includes/general-template.php:189

 '''Log Out'''
 * wp-includes/admin-bar.php:92
 * wp-admin/admin-header.php:165

 '''Log out »'''
 * wp-includes/theme-compat/comments.php:73

 '''Log out of this account'''
 * wp-includes/theme-compat/comments.php:73

 (change all to "Log Out")
 ----

 '''Log In'''
 * wp-includes/general-template.php:261
 * wp-login.php:627
 * wp-login.php:646
 * wp-admin/install.php:144
 * wp-admin/install.php:238

 '''Log in'''
 * wp-includes/general-template.php:187
 * wp-login.php:419
 * wp-login.php:444
 * wp-login.php:475
 * wp-login.php:531

 (change all to "Log In")
 ----

 '''E-mail'''
 * wp-includes/theme-compat/comments-popup.php:80
 * wp-login.php:520
 * wp-admin/user-new.php:229
 * wp-admin/user-new.php:291
 * wp-admin/comment.php:160
 * wp-admin/includes/class-wp-users-list-table.php:165
 * wp-admin/includes/template.php:356
 * wp-admin/user-edit.php:329

 '''Email'''
 * wp-includes/comment-template.php:1525

 '''E-mail address'''
 * wp-admin/options-general.php:104
 * wp-admin/options-general.php:123

 '''Your E-mail'''
 * wp-admin/install.php:128

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18218>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list