How to change the "spaces" text in the header (confluence)

Hi, thanks for reading.

In the header, near the logo, there is a dropdown menu that says "Spaces" I can't for the life of me figure out how to edit that text. I've gone through and replaced every "Space" word with "my word" and apparently this dropdown menu is not part of the main language file. sad

I found a URL from reading that allows me see the variable name which is

I've grepped everything that was extracted from the confluence-5.7.1.jar and no results were returned for that name.

Also, there is another one that does not appear to be in the default language file which is title.Dashboard which I also cannot easily find.

I wonder if I would be better off trying to find an English language pack and then hoping that it has the values/variables that I cannot find. I found this one, but it is older and apparently not supported:

Any suggestions?



2 answers

1 accepted

1 vote
Answer accepted

If you really want to change it, you could just do something with Javascript that would change it before it is shown, i.e. stick something like this in the custom HTML:

AJS.toInit(function() { 
  var finished = false;
  jQuery('#space-menu-link').attr('title', 'Areas').children('span').first().html('Areas'); 
  jQuery('#space-menu-link').click(function() {
    var intvl = setInterval(function() {
      if (jQuery('#view-all-spaces-link').length && !finished) {
        jQuery('#recent-spaces-section > strong').html('Recent areas');
        jQuery('#view-all-spaces-link').attr('title', 'Area directory').html('Area directory');
        jQuery('#create-space-header').html('Create Area');
        finished = true;
    }, 50);

Thank you Stephen!

I certainly considered a JS rewrite before posting this (I should have mentioned that) and checked every single "How Do I" thread on this site.

I'm pretty surprised this is not a 'more requested' feature. I am a technical person, and so is everyone who works with me, and the term "Spaces" (among other unconventional naming schemes) required all of us to at least look up the term and read about it.

From an end-user standpoint, the end-users will have no clue what a "Space" is, and they have little time to research it,  and that is why we'd like to make it more (end)user-friendly. Else, they make tickets, emails, and calls because they don't understand what could otherwise be very simple navigation.

"Categories" seems like a suitable winner. "Topics" might also work. "Spaces?" - I commend the idea of being original!

But! Web is moving so fast these days, that the less docs, and the more intuitive the interface, the better the solution. It's always been that way, but on the old days you really had to study.... Today the technology and researching tools are practically flawless in how fast changes can be found and deployed.

I can't fathom why something so simple (and such a major part of the UI) like this, would not be in a language file by now, or, it is already, and I've totally missed the train!

(Could be, it's 11 Am here and I am going on 23 hours shift now.)

I hope this thread contributes to the project, and that others googling for terms like:

"change space dropdown confluence" or "rename space confluence" or "confluence header space" or similar. I tried all of these and 20 more and found nothing about this topic. 



Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

277 views 2 10
Read article

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