Sunburst hover text: Build percent parent with hovertemplate

Hello Community,

my question relates to the figure go.Sunburst(): I am trying to re-create the functionality of hoverinfo="percent parent" with the function hovertemplate (reason: Translation of the word β€œof” to local languages).

I tried: go.Sunburst(hovertemplate="%{percentParent:.2%} of %{parent}") which works fine for all parts, except for the sunburst center. Instead of β€œ100% of Total” the text "100% of " is displayed.

How can I completly re-create the functionality of hoverinfo="percent parent"?

Thank you in advance.