axetroy / axetroy/todo

写一个 I18n 的 vscode扩展

Open
#91 1 comment 0 reactions 0 assignees View on GitHub
未开始
Dominant language
No language data
Stars
0
Forks
2
PR merge metrics
No merged PRs in 30d

Description

### 初衷/目标

为了我们更方便的写 i18n

初步定义 i18n 文件的格式,不想繁琐,所以拒绝使用JSON

```yaml
# app.i18n.yaml
language:
- en
- zh
- hk

keys:
apple.add:
- Add
- 添加
- 添加
apple.delete:
- Delete
- 删除
- 刪除
people.say:
- Hello, {0}
- 你好, {0}
- 你好, {0}
```

主要功能包括:

- [ ] 使用``yaml``定义 i18n 文件
- [ ] vscode 支持校验字段,包括语言
- [ ] 导出各常用语言,如Javascript/Typescript/JSON
- [ ] I18n 的模版支持传入参数

### TODO类型

- [ ] 类库
- [x] 框架
- [ ] 服务
- [ ] 命令行工具

### 预计时间

- [ ] 一天
- [x] 一周
- [ ] 两周
- [ ] 一月
- [ ] 更久

### 相关链接

[https://github.com/axetroy/todo](https://github.com/axetroy/todo)

Contributor guide

No contributing guide indexed for this repository

Research direction

No repository files, tests, or entry points are named. Start by reviewing the proposed app.i18n.yaml structure and the existing repository layout, then define the extension boundaries for YAML parsing, language-field validation, JavaScript/TypeScript/JSON export, and template parameters. Done means these four capabilities work together in VS Code.

Written by the indexing model from the issue text.

Assessment

Tech stack
vscode, yaml
Domain
internationalization, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.