Skip to content

Incomplete translation #1182

@swordLi

Description

@swordLi

The following method can be used to translate, but the X-axis, Y-axis, and default chart name in the chart cannot be translated or modified. How can I solve this problem?

<PlotlyEditor
          data={this.state.data}
          layout={this.state.layout}
          config={config}
          frames={this.state.frames}
          dataSources={dataSources}
          dataSourceOptions={dataSourceOptions}
          plotly={plotly}
          locale={"zh"}
          dictionaries={{"zh":locale}} //Use this method
          onUpdate={(data, layout, frames) => this.setState({data, layout, frames})}
          useResizeHandler
          debug
          advancedTraceTypeSelector
        />

Snipaste_2024-05-29_14-52-59
Snipaste_2024-05-29_14-57-19

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions