Skip to content

[Feature] 添加获取本地化键名和本地化键名在对于语言下显示的结果的api #382

Description

@neverforward

Is your feature request related to a problem? Please describe.

.

Describe the solution you'd like

  • 为Item,Entity等添加一个属性localizationKey,用于获取本地化键名
  • 添加一个函数translate(localizationKey:string,lang:string),用于获取本地化键名在语言lang下显示的文本

Describe alternatives you've considered

No response

Additional context

No response

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions