Issue #3028💬 AnsweredOpened September 16, 2020by trony20200 reactions

Translate block labels for grapesjs-preset-webpage

快速解答by artf

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)

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

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.