Hey,
I’m sorry I don’t understand the question so I will ask some follow up questions.
Are you trying to create a multilingual site? If so multilingual plugins will allow you to translate the content of your blocks.
If not, what are you trying to change the language of?
If it’s content you can set the text in each block, if you want to change the language of the settings you can contribute to the plugin translation here: https://translate.ww.wp.xz.cn/projects/wp-plugins/kadence-blocks/
I hope that helps.
Ben
Thread Starter
sanheng
(@albert001)
Where are the * .pot files for plugins for translating any language? All english
-
This reply was modified 6 years, 2 months ago by
sanheng.
Thread Starter
sanheng
(@albert001)
I found the POT file, but after translation, the Kadence Blocks Gutenberg editor is still in English and has not changed to other languages
Hey,
So translations in the editor require a json file to be created because the editor is rendered with javascript and not php.
If you contribute here then WordPress will create that json file automatically for you through it’s compiling when you add translations: https://translate.ww.wp.xz.cn/projects/wp-plugins/kadence-blocks/
If you want to do this solo then you need to run cli commands on your translations inside the plugins folder to have that json file created: https://wp-cli.org/
It’s complex but you can read about it here: https://developer.ww.wp.xz.cn/block-editor/developers/internationalization/#provide-your-own-translations
I hope that helps!
Ben