BrendonButler / BrendonButler/ModestAPI

Localization Support

未关闭
#10 0 条评论 0 个 reaction 已指派 1 人 已被 @BrendonButler 认领 在 GitHub 查看
enhancement request
主要语言
Java
星标
1
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

- [x] Implement Localization d6552f9
- [ ] Keep String Capitalization (first letter ("Hello" -> "Bonjour") or whole word ("HELLO" -> "BONJOUR"))
- [ ] Load locales from locales folder
- [ ] Multi-locales (they will be called in order and their priority can be changed)

**Locales**
Used to change the language of the console output to anything the developer desires.

If you don't plan on using multi-languages, you could use the language system as a censoring system. Or to put placeholders such as "#USER" in raw messages to be replaced by (for example), someone's username.

**Multi-Locales**
Each locale will be stored in a Set. When regexing a string, if there are multiple locales in the Set it will iterate through each locale. (Could be used to change the language of something, then censoring any words deemed worthy of being replaced.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。