Skip to content

[enhancement] Can you provide i18n templates or native support? #53

@XTsat

Description

@XTsat

Providing native support makes it easier for developers to provide i18n, and it also helps us to easily add our own language support

Structures like this

locales
├── index_en-US.js
├── index_zh-CN.js
├── ...
└── <contry-code>.js

or

locales
├── index.js
├── i18n
  ├── en-US.js
  ├── zh-CN.js
  └── <contry-code>.js

Is the "name" of plugin.json a unique field? Can you also add a non-unique field to provide i18n display?

like this

"name": "decky-plugin-template",
"name_i18n": {
  "en_US": "decky-plugin-template",
  "zh_CN": "decky 插件模板",
  "<contry-code>": "<contry language>"
},

These are just directions that I think can be done, and it would be better if there was a better way to implement it

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededwontfixThis will not be worked on

    Type

    No type

    Projects

    Status

    ❓ Under Consideration

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions