Translate Panel options and DeviceManager buttons
Question
Helllo @artf ,
How to translate the Panels and DeviceManager button titles to other languages? Please write example for me.
'FullScreen' -> 'Teljes képernyő'

'Desktop' -> 'Asztali'

Thank You, Erik
Answers (3)
Please check here https://grapesjs.com/docs/api/panels.html#panels
panelManager.getButton('options', 'fullscreen').set({ attributes: { title: 'Something' } })
The devices button are always Button from Panels
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.
Issue #1398
GrapesJS translate
Hello @artf , Do I want to translate all functions into Hungarian, so that I can do it? Please give me examples of how to modify these text...
Issue #899
[QUESTION]: add button to selected element panel
How to add custom button to that panel:
Issue #1434
Toolbar Hide text element
@artf Please check you demo page text is hiding under the toolbar. how can we update the toolbar position?
Issue #362
How to create custom link components that prompts users to type link/choose link similar to Images Component Modal
Image Components have logic to call Modal and prompt user's interaction for options/configuration of image url. Would like to do similar to...
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.