Opened 8 years ago
Closed 8 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: |
|
Owned by: |
|
---|---|---|---|
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)
#5
@
8 years ago
- Keywords needs-patch removed
Sorry, it is not the problem of Twenty Seventeen.
I confirmed that:
- With GlotPress, export all current to .po and .mo at https://translate.wordpress.org/projects/wp-themes/twentysixteen/ja/default,
- upload the .po and .mo to my site,
- then the msgid "thought" is not translated if the count of comment is more than one even with Twenty Sixteen.
It may be the probrem of GlotPress exporter about generating .mo file when msgstr for plural is same form as singular.
#7
@
8 years ago
- Owner changed from laurelfulford to ocean90
- Status changed from assigned to reviewing
#8
@
8 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.
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.