Plot config in static image export

Hi @franjuanele ,

Try to add src as key in external_scripts when you set the js cdn link.

app = Dash(
    __name__,
    external_scripts=[{'src':'https://cdn.plot.ly/plotly-locale-es-latest.js'}]
)
app.scripts.config.serve_locally = False

traces = [go.Scatter(x=["2023-01-01", "2023-02-01", "2023-03-01"], y=[1, 3, 2])]
layout = go.Layout(xaxis=dict(tickformat="%B"))
fig = go.Figure(data=traces, layout=layout)

app.layout = html.Div([
			dcc.Graph(figure = fig,config={"locale": "es"})
	])

if __name__ == "__main__":
	app.run_server()

And for another reference, this post below seems have similar problem about locale language.

You can check it out, maybe the solution that is the solution you’re looking for.

Cheers.