10up/actions-wordpress

Add auto-i18n action for writing strings in .pot file

Open

#27 geöffnet am 24. Jan. 2020

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Shell (41 Forks)user submission
help wantedtype:enhancement

Repository-Metriken

Stars
 (463 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Consider adding a way to automatically update the plugin's .pot file. If you decide to pursue this, of possible help are these Grunt tasks that scan a plugin's files for translation functions, then write their locations, internationalized strings, and accompanying messages (if any) in the .pot: https://www.npmjs.com/package/grunt-wp-i18n https://www.npmjs.com/package/grunt-pot

And here's a GitHub Action that may do the same: WP Pot Generator https://github.com/marketplace/actions/wp-pot-generator

Thanks.

Contributor Guide