Skip to content

服务端渲染使用多语言似乎不起作用 #767

@zemelLeong

Description

@zemelLeong

多语言配置如下

  locale: {
    default: 'zh-CN',
  },

切换语言时,加载的html并没有将文本切换为对应语言,前端显示正常但是控制台会有警告

Warning: Text content did not match. Server: "测试代码" Client: "Test Code"

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions