Translate block labels for grapesjs-preset-webpage
You should be able to update them via i18n module https://github.com/artf/grapesjs/blob/4d6319c0e4dbb2a840a3000abbcca896a8f0e560/src/i18n/locale/en.js#L12-L19
Read full answer below ↓Question
How tot translate labels for:
https://github.com/artf/grapesjs-preset-webpage/blob/master/src/blocks/index.js
for basicOpts I'm doing fine with:
pluginsOpts: {
'gjs-preset-webpage': {
// options
blocksBasicOpts: {
// label
labelColumn1: "1 Colonna",
labelColumn2: "2 Colonne",
labelColumn3: "3 Colonne",
labelColumn37: "2 Colonne 3/7",
labelText:"Testo",
labelLink:"Link",
labelImage:"Immagine",
labelVideo:"Video",
labelMap: "Mappa",
thanks!
Answers (1)
You should be able to update them via i18n module https://github.com/artf/grapesjs/blob/4d6319c0e4dbb2a840a3000abbcca896a8f0e560/src/i18n/locale/en.js#L12-L19
Related Questions and Answers
Continue research with similar issue discussions.
Issue #2561
How to add extra options to the block element next to delete option ?
WARNING READ and FOLLOW next 5 steps, then REMOVE them before posting the issueFollow CONTRIBUTING Guidelines https://github.com/artf/grape...
Issue #3458
FEAT: ADD CUSTOM BLOCKS (i.e iframe) and customise it like image i.e on double click it open assets options for video link in custom iframe block
WARNING READ and FOLLOW next 3 steps, then REMOVE them before posting the issueFollow CONTRIBUTING Guidelines https://github.com/artf/grape...
Issue #2613
Dragging blocks into another block
WARNING READ and FOLLOW next 5 steps, then REMOVE them before posting the issueFollow CONTRIBUTING Guidelines https://github.com/artf/grape...
Issue #3405
FEAT: An event to hook into before a block in dropped into the canvas
WARNING READ and FOLLOW next 3 steps, then REMOVE them before posting the issueFollow CONTRIBUTING Guidelines https://github.com/artf/grape...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins →Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.
Browse premium plugins →Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.