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

This widget could not be displayed.

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
Community showcase
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

34 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