BrendonButler / BrendonButler/ModestAPI

Localization Support

Aperta
#10 0 commenti 0 reazioni 1 assegnatario Rivendicata da @BrendonButler Vedi su GitHub
enhancement request
Lingua principale
Java
Stelle
1
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.