Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#38620 closed defect (bug) (invalid)

Twenty Seventeen: "%1$s Replies to “%2$s”" is not translated to Japanese if count of replies more than one

Reported by: tg29359 Owned by: ocean90
Priority: normal Milestone:
Component: Bundled Theme Version:
Severity: normal Keywords:
Cc: Focuses:

Description

The msgid "%1$s Replies to “%2$s”" is not translated to Japanese if count of replies more than one. if the count is one, the msgid is translated to Japanese.

This is the sample of the case of more than one.
​http://meta-scheme.jp/7648#comments

This is the sample of the case of just one.
​http://meta-scheme.jp/223#comments

With twenty sixteen, the msgid "%1$s thoughts on “%2$s”" ( or, the msgid "%1$s thought on “%2$s”" ) is translated to Japanese well fot the ​http://meta-scheme.jp/7648#comments.

I am using this .po for twenty seventeen.
​http://meta-scheme.jp/wp/wp-content/languages/themes/twentyseventeen-ja.po

I am using this .mo for twenty seventeen.
​http://meta-scheme.jp/wp/wp-content/languages/themes/twentyseventeen-ja.mo

I am using this .po for twenty sixteen.
​http://meta-scheme.jp/wp/wp-content/languages/themes/twentysixteen-ja.po

I am using this .mo for twenty sixteen.
​http://meta-scheme.jp/wp/wp-content/languages/themes/twentysixteen-ja.mo

Change History (8)

#1 @tg29359
10 years ago

  • Keywords needs-patch added

#2 @davidakennedy
10 years ago

  • Milestone Awaiting Review → 4.7

#3 @davidakennedy
10 years ago

  • Owner set to laurelfulford
  • Status new → assigned

#4 @tg29359
10 years ago

If I convert twentyseventeen-ja.po to twentyseventeen-ja.mo with POEdit for Windows, then the msgid is translated even in the case of more than one.

sample content of this case
​http://tg29359.rdy.jp/1411#comments

.po in this case
​http://tg29359.rdy.jp/wp-content/languages/themes/twentyseventeen-ja.po

.mo in this case
​http://tg29359.rdy.jp/wp-content/languages/themes/twentyseventeen-ja.mo

It may be the problem of .mo gemerater, not of Twenty Seventeen. If twentysixteen-ja.mo is re-generated with GlotPress now, the msgid "thought" may not be translated in the case of more than one even with Twenty Sixteen.

#5 @tg29359
10 years ago

  • Keywords needs-patch removed

Sorry, it is not the problem of Twenty Seventeen.
I confirmed that:

It may be the probrem of GlotPress exporter about generating .mo file when msgstr for plural is same form as singular.

#6 @tg29359
10 years ago

  • Keywords needs-patch added

#7 @ocean90
10 years ago

  • Owner changed from laurelfulford to ocean90
  • Status assigned → reviewing

#8 @ocean90
10 years ago

  • Keywords needs-patch removed
  • Milestone 4.7
  • Resolution → invalid
  • Status reviewing → closed
  • Version trunk

Thanks for the report. This is a bug in GlotPress, see ​https://github.com/GlotPress/GlotPress-WP/issues/594.

Note: See TracTickets for help on using tickets.