"Needs a migration path from locale db tables to block.custom.[name].json (custom blocks only), Needs to run after system 1025 (see: hook_update_dependencies())."
This is what translated blocks look like in core right now (forgive my poor Dutch):
{
"_config_name": "block.custom.my_english_block",
"delta": "my_english_block",
"info": "My english block",
"title": "English!",
"description": "",
"body": {
"value": "<p>Read my English words and behold!</p>\r\n",
"format": "filtered_html"
},
"default_langcode": "en",
"translations": {
"nl": {
"info": "Mijn nederlandse blok",
"description": "",
"title": "Nederlandse!",
"body": {
"value": "<p>Lezen op mijn nederlandse tal!</p>\r\n",
"format": "filtered_html"
}
}
}
}
I had to remind myself how we implemented it in core. Should also document here how it's done with i18n_block.
Part of https://github.com/backdrop-contrib/i18n/issues/33
"Needs a migration path from locale db tables to
block.custom.[name].json
(custom blocks only), Needs to run after system 1025 (see: hook_update_dependencies())."This is what translated blocks look like in core right now (forgive my poor Dutch):
I had to remind myself how we implemented it in core. Should also document here how it's done with i18n_block.