akshettrj / watgbridge

A forwarder from WhatsApp to Telegram written in GoLang
MIT License
174 stars 42 forks source link

Add i18n #22

Closed Isa3v closed 1 year ago

Isa3v commented 1 year ago

Add the ability to use i18n. To add multiple languages

akshettrj commented 1 year ago

I have no time and plans to support other languages. However, pull requests are welcomed.

akshettrj commented 1 year ago

Help me understand, where do you need the other languages?

Like in the command names and descriptions?

Isa3v commented 1 year ago

Examples of phrases I translated in fork:

https://github.com/akshettrj/watgbridge/blob/f7d15dd32792516dc99a6440fc86341c45d35d41/whatsapp/handlers.go#L301 https://github.com/akshettrj/watgbridge/blob/89881238dc30e634f31fd4becc8886c705b97a29/utils/whatsapp.go#L190 https://github.com/akshettrj/watgbridge/blob/f7d15dd32792516dc99a6440fc86341c45d35d41/whatsapp/handlers.go#L315

akshettrj commented 1 year ago

I am planning to rewrite the bot in Rust, maybe I will add multiple language support in that