PageTitle macro does not work on HTML export

I use the bitvoodoo language plugin 3.0.10 with the pagetitle macro to localize to page title. In confluence 5.7.4 this works nicely.

However, if I export the space to HTML, the page title is not affected by the pagetitle macro. This is very unfortunate, since it is imperative to us that the page title is in the correct language.

Could someone advice me how to achieve that?

Thank you!

Reinhard

2 answers

Hi Reinhard,

Thank you for using our add-on!

Unfortunately, the pagetitle macro does not work either in the HTML nor in the PDF export.

The architecture of Confluence does not support multi-language support of content. Therefore page titles can only be saved in one language. This title is used throughout Confluence, e.g. search, page tree, child pages macro, etc. and, you guessed it, the HTML and PDF exports.

The pagetitle macro works only local in the browser. After the page is loaded, the macro simply changes the title of the page to the one defined in the macro parameter, using JavaScript. When exporting a page, Confluence does not execute the JavaScript and therefore the page title is not changed in the export.

I will update the FAQ in the add-on documentation and will mention, that the macro does not work in exports as well (https://wiki.bitvoodoo.ch/display/DOC/Language+Plugin#LanguagePlugin-FAQ)

Kind Regards,
Thomas

Dear Thomas,

thank you for your quick response! Is there any kind of workaround known?

Best,

Reinhard.

As far as we know, unfortunately no. Regards, Thomas

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

96 views 0 5
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