Blocks can’t be translated
-
Hi there.
I tried to translate woocommerce blocks and found an issue.
Wordpress blocks translations .json files require “messages” key in “locale_data” object.
The
.json
files generated from.po
file withLoco translate
plugin places translation file “Textdomain” field value https://prnt.sc/1d3abcg as a value for “domain” field in.json
file as well as uses it instead of “messages” key:To make it work it generated
.json
file must like following: https://prnt.sc/1d3bcjjThanks in advance
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- The topic ‘Blocks can’t be translated’ is closed to new replies.