BrendonButler / BrendonButler/ModestAPI

Localization Support

Đang mở
#10 0 bình luận 0 reaction 1 người được giao Được @BrendonButler nhận Xem trên GitHub
enhancement request
Ngôn ngữ chính
Java
Star
1
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

- [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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.