Edit boxplot tooltip text

How can I edit native tooltip text (median, mean, lower fence, upper fence, ect) from boxplot in R code?

I tried using the locale option of the config function, but I didn’t get the expected result when locale = "pt-br". The translation of the boxplot elements is not happening as expected for the Portuguese language.

Code ex:

fig <- plot_ly(x = ~rnorm(50), type = "box",
               hoverinfo = 'x')
fig |> 
  config(locale = "pt-br")

There seems to be the question for locale for Sankey.
The Issue in GitHub