[wp-trac] [WordPress Trac] #36945: Substrings that should not be translated should not be translatable

WordPress Trac noreply at wordpress.org
Sun May 29 07:37:53 UTC 2016


#36945: Substrings that should not be translated should not be translatable
--------------------------+--------------------
 Reporter:  julesaus      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.6
Component:  I18N          |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+--------------------

Comment (by julesaus):

 Thanks for the corrections, I think I've got it now, but just to make
 sure, let me spell it out:

 We've got separate GP projects for each locale/version combination, and
 each one should match the string in the wp-config-sample.php for that
 locale/branch.  For example, the French and 4.5.x:
 Translation:
 https://translate.wordpress.org/projects/wp/dev/admin/network/fr/default?filters%5Bterm%5D=happy+blogging&filters%5Buser_login%5D=&filters%5Bstatus%5D=current_or_waiting_or_fuzzy_or_untranslated&filter=Filter&sort%5Bby%5D=priority&sort%5Bhow%5D=desc
 Localized config file (fr_FR 4.5):
 https://i18n.trac.wordpress.org/browser/fr_FR/branches/4.5/dist/wp-config-
 sample.php#L87.

 Just to reassess now that I understand the problem better: for 4.5 there
 are 20 locales that have the a localized config, and the other 135 that
 translate.wordpress.org lists do not, so I think it's still worth making
 this change, and the challenge is just in squeezing that paragraph down to
 a {{{/* translators: */}}} one-liner.

 I've had a crack in the latest patch.  It's probably the longest
 translator comment in the codebase :)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36945#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list