Issue #1239Opened June 26, 2018by Deepak8130 reactions

How to make settings text multi-lingual

Question

Hi @artf,

We have integrated the each element settings with their elements name using below code like HEADLINE SETTINGS, COLUMN SETTINGS and so on...

/* Headline Settings */ { name : 'Headline Settings', open: true, buildProps: ['background-color', 'color', 'text-align', 'font-family','font-weight', 'font-size', 'letter-spacing', 'line-height', 'width','margin-top', 'margin-left', 'padding-top', 'padding-left', 'padding-right', 'padding-bottom'], properties:[
{ name : 'Text Align', property: 'text-align', type: 'radio', defaults: 'center', list: [ { value : 'left', name : 'Left', className: 'fa fa-align-left'}, { value : 'center', name : 'Center', className: 'fa fa-align-center' }, { value : 'right', name : 'Right', className: 'fa fa-align-right'}, { value : 'justify', name : 'Justify', className: 'fa fa-align-justify'} ], },

So how we can make these name multi-lingual.I reference through all the discussions regarding the multi-lingual but found no results so can you please let us know how we can achieve this.

Answers (2)

artfJune 28, 20180 reactions

You just have to set the already translated string

name: i18n[locale]['headlineSettings'],
lock[bot]September 17, 20190 reactions

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

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...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.