How to change Webcontent "Publish" button name

Abhirama sundaram, modified 5 Years ago. New Member Posts: 2 Join Date: 1/29/20 Recent Posts
Hi Team,

I like to do two UI customization in the Webcontent as below,
1. I want  to  change the Label of the webcontent's Submit  button. Currently the Label is "Publish" I like to change it as  "Save". 
2. I want  to show the current timzone in the Webcontent neare the datetime field. So that the user will be aware of what timezone is selected currently.It will be very much helpful if any guidance is provided on how to acheive the above two.I have attached the image which make my requirement more clear.
My Liferay Version: 7.1
thumbnail
Mohammed Yasin, modified 5 Years ago. Liferay Master Posts: 593 Join Date: 8/8/14 Recent Posts
Hi ,For override web content save button label ,you can override the  language key of journal article module.https://portal.liferay.dev/docs/7-0/tutorials/-/knowledge_base/t/overriding-language-keys#overriding-a-modules-language-keys
thumbnail
David H Nebinger, modified 5 Years ago. Liferay Legend Posts: 14933 Join Date: 9/2/06 Recent Posts
Mohammed is spot on with using the language bundle override to change the key.

Be aware, though, that the button you're referring to has two different names:


Publish is for when there is no workflow assigned, and it does mean "publish to the live site".

When workflow is assigned, it says "Submit for publication" which means it is going to be going into the workflow and may or may not get published.

While I understand wanting to call it "Save", in this case it may be better to get your users used to the Liferay publication process in case you eventually want to add workflow support into your processes...