WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 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
Milestone: Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords:
Focuses: Cc:

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
4 years ago

  • Keywords needs-patch added

#2 @davidakennedy
4 years ago

  • Milestone changed from Awaiting Review to 4.7

#3 @davidakennedy
4 years ago

  • Owner set to laurelfulford
  • Status changed from new to assigned

#4 @tg29359
4 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
4 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
4 years ago

  • Keywords needs-patch added

#7 @ocean90
4 years ago

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

#8 @ocean90
4 years ago

  • Keywords needs-patch removed
  • Milestone 4.7 deleted
  • Resolution set to invalid
  • Status changed from reviewing to closed
  • Version trunk deleted

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.