Rename blog to news throughout

Hi

I am currently working on upgrading our confluence installation to version 4.3.

One of the requests for the peice of work to do this is to rename the terminology blog post throughout the system to be news instead.

I have looked around on the documentation and cannot see a way of doing this as a configuration to edit.

I know that if you want to edit the dashboard name you can edit a jar file which has a dashboard.home configuration. I was hoping that maybe there is the same thing for a blog post?

If not, can you recommend a good way of going about this?

Cheers,

Jeremy

2 answers

1 accepted

Support tickets are not accessible to the public. The gist of that ticket is that you can create your own translation file:

https://confluence.atlassian.com/display/DISC/Language+Pack+Translations

Hi Jeremy,

There's a file called ConfluenceActionSupport.properties inside of the confluence-{version}.jar located in <confluence-install>/confluence/WEB-INF/lib directory. Unjar this file (or unzip) to a temporary location.

This file controls most of the language in Confluence. The left side of the equal sign is the property name, don't change that. The right side is the display langauge. You change the langauge to your liking in this file.

I cheated and did it programmatically using a linux utility called awk:

awk -F= -v OFS='=' '{gsub(/Blog/,"News",$2);gsub(/blog/,"news",$2);print }' ConfluenceActionSupport.properties   &gt; output

Save your modified copy to <installdir>/confluence/WEB-INF/classes/com/atlassian/confluence/core/ and restart Confluence.

I've taken the liberty of attaching my modified ConfluenceActionSupport.properties from Confluence 4.3.1 (where I tested this).

EDIT: It's zipped.

EDIT: Never mind. Apparently answers hates everything I do. I've posted it here:

https://bitbucket.org/twong_atlassian/answers-responses/raw/a84798846e9433366a1a329dc74ee8c39bf25ce8/atlassian-confluence-4.3.1/confluence/WEB-INF/classes/com/atlassian/confluence/core/ConfluenceActionSupport.properties

Tim

Hi Tim,

That looks good.. thanks

I raised a support ticket at the same time as asking this on answers.

The recommendation i was given can be found here

https://support.atlassian.com/browse/CSP-93415

Basically they suggest creating custom translations

Thanks for your help!

Jeremy

That's basically the same as my solution. We're just calling it different things. The ConfluenceActionSupport file is the thing that handles i18n in Confluence.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted 37m ago in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

7 views 0 1
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you