WordPress.org

Making WordPress.org

Opened 3 months ago

Closed 3 months ago

#5929 closed defect (fixed)

Translations strings not extracted from JS file

Reported by: grapplerulrich Owned by:
Milestone: Priority: normal
Component: Translate Site & Plugins Keywords:
Cc:

Description

I have found a plugin, "Yoast Duplicate Post", where strings are not being extracted from a JS file.

The string “Schedule republish” is [https://plugins.trac.wordpress.org/browser/duplicate-post/trunk/js/dist/duplicate-post-strings-412.js js/dist/duplicate-post-strings-412.js] but it is not referenced in GlotPress and there are other strings like “Republish on:” that are not extracted.

When running wp i18n makepot locally on the plugin the strings are included. So my conclusion is that this is an issue with the wp i18n makepot version on WordPress.org

I have not dug deeper to see if the reason the strings are not being extracted because the JS file is minified.

Related Slack Conversation

Change History (1)

#1 @ocean90
3 months ago

  • Resolution set to fixed
  • Status changed from new to closed

I have re-imported the stable tag of the plugin and the strings are now available.

Note: See TracTickets for help on using tickets.