[buddypress-trac] [BuddyPress Trac] #5925: buddypress.pot issue

buddypress-trac noreply at wordpress.org
Fri Oct 3 21:06:55 UTC 2014

#5925: buddypress.pot issue
 Reporter:  danbp              |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  high               |   Milestone:  Awaiting Review
Component:  i18n               |     Version:  2.1
 Severity:  major              |  Resolution:
 Keywords:  reporter-feedback  |

Comment (by danbp):

 Good advice @r-a-y ! Wanted to update poEdit since a while.

 i updated poEdit to 1.6.9 and got a message telling i was using an unusual
 plural form for french language????????

 So i changed

 "Plural-Forms: nplurals=2; plural=n != 1;\n"


 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
 Don't know why i had this error in my file. I have always used the right
 plural form in my previous translation. Mystery, mystery.... mist.

 Once the error was removed, i tried a new upgrade with the latest pot and
 my previous 2.03 translation. 4 new strings of 1529 and 99% translated.
 Wow !

 Added the mo to my site, and bam, again untranslated strings.

 WTF ? oh yes, my mo is in wp-content/languages/plugins/buddypress-fr_FR.mo
 GlotPress bot was here ! .... and updated the file faster as me !

 Added my mo to wp-content/languages/buddypress-fr_FR.mo... and voilà: got
 it to work !

 Guess i have to find now the best option to preserve my custom
 translation, untouched by bot or upgrade in any case.

 The most easiest solution would be:
 if you want the automated translation, wait for next update.
 If you not want the automated translation, use your custom file from
 within this folder. Untouched by bot, update and upgrade. Bullet proven
 your copy only and for as long you use a mo from this place.

 - want also to mention that they are two URL in the pot for respectively
 plugin url and author url who don't need to be translated.

 - po on glotpress doesn't contain keywords, but is also missing plural
 form information (even if this is more language dependant) This can
 probably stay outside of gettext scope, so we gain 1% on translated
 strings to access definetly 100% ! :D

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5925#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list