translate block labels for grapesjs-preset-webpage
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 #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 #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 #1615
[Feature] support edit credentials request attribute on Remote Storage
The credentials options its forced to be 'include' on Remote Storage. https://github.com/artf/grapesjs/blob/master/src/storage_manager/mode...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.