Skip to content

Incomplete translation #1182

Open
Open
@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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @swordLi

        Issue actions

          Incomplete translation · Issue #1182 · plotly/react-chart-editor