We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
wp i18n update-po
1 parent d1e1c8e commit d6e6e21Copy full SHA for d6e6e21
package.json
@@ -13,7 +13,7 @@
13
"build": "bud build",
14
"translate": "yarn translate:pot && yarn translate:update",
15
"translate:pot": "wp i18n make-pot . ./resources/lang/sage.pot --include=\"app,resources\"",
16
- "translate:update": "for filename in ./resources/lang/*.po; do msgmerge -U $filename ./resources/lang/sage.pot; done; rm -f ./resources/lang/*.po~",
+ "translate:update": "wp i18n update-po ./resources/lang/sage.pot ./resources/lang/*.po",
17
"translate:compile": "yarn translate:mo && yarn translate:js",
18
"translate:js": "wp i18n make-json ./resources/lang --pretty-print",
19
"translate:mo": "wp i18n make-mo ./resources/lang ./resources/lang"
0 commit comments