Replies: 11 comments 13 replies
-
hi , can you add Arabic Language ? |
Beta Was this translation helpful? Give feedback.
-
Hi @AlexHTW, just merged your PR and pinned this discussion! 🚀 While I was adding italian translation I noticed a small issue with the
When budget was set to So I changed all translations to:
and removed the hardcoded space from Hope you're ok with it! (changes are in #222) PS: Not a big fan of the google doc (too much duplication imo), but if you'd like to maintain it that's great! (if so, please update it with the changes above) |
Beta Was this translation helpful? Give feedback.
-
New strings added:
|
Beta Was this translation helpful? Give feedback.
-
Can I add Nigeria Pidgin English? |
Beta Was this translation helpful? Give feedback.
-
Hi, @n3d1117 and @AlexHTW |
Beta Was this translation helpful? Give feedback.
-
Add TR language support for README.md Hello, Your bot looks very nice and very useful. Although Python is not my area of interest, I felt the need to do something again for such a nice repo. While thinking about what I could do, I came up with the idea of translating README.md file according to the language rules for the Turkish language. If you allow me, I would like to create a folder named lang for this repository, create a file named readme-tr.md, and translate your README.md file into Turkish. |
Beta Was this translation helpful? Give feedback.
-
Add cooldown system to the Bot. like with 3 secs of cool down time per message, and it will decrease the Bot resources usage and also tokens |
Beta Was this translation helpful? Give feedback.
-
Ребят я только начинаю этим заниматься поэтому не судите строго в параметрах Бота я изменил язык бота на русский но приветствие всё равно на английском выводится что я делаю не так # BOT_LANGUAGE=ru |
Beta Was this translation helpful? Give feedback.
-
oh are u russian?
…On Wed, May 1, 2024 at 5:59 PM ilya-88 ***@***.***> wrote:
Ребят я только начинаю этим заниматься поэтому не судите строго в
параметрах Бота я изменил язык бота на русский но приветствие всё равно на
английском выводится что я делаю не так # BOT_LANGUAGE=ru
—
Reply to this email directly, view it on GitHub
<#219 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AY4D7YKGXC2OZXTFIQY3HYLZADNZ7AVCNFSM6AAAAAAW5VA77CVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TEOBUG42DM>
.
You are receiving this because you commented.Message ID:
***@***.***
.com>
|
Beta Was this translation helpful? Give feedback.
-
Ес оф корс , я уже разобрался как ,не совсем правильно но работает |
Beta Was this translation helpful? Give feedback.
-
I love russia from sri lanka. btw are u using discord??
… Message ID:
***@***.***
.com>
|
Beta Was this translation helpful? Give feedback.
-
Currently available languages
You can set your preferred
BOT_LANGUAGE
code in the .env file.en
de
ru
tr
it
id
es
nl
zh-cn
zh-tw
vi
fa
fi
pt-br
uk
ms
uz
ar
pl
he
Contribute (no coding necessary)
Add a new language
translations.json
and update the README.md file ORMind variables before or after a text snippet in your translation so that it will read correctly in the complete text.
For example the text
This month your OpenAI account was billed $
should be translated in a way that the actual number can come after the text. If a literal translation doesn't work in your language, feel free to adjust as necessary (for example change it to something likeYour OpenAI bill this month: $
).Reviewing translations
Submit a PR, comment on this thread or comment on a cell in the google sheet to suggest improvements to existing translations.
Current list of texts
Check the translations.json file to see all implemented translations.
See the google sheet for a formatted view. It is updated hourly from the main branch.
Adding new bot messages (for code contributors)
When submitting new features that include new bot messages in the telegram chat, add the text content (without variables and formatting) to the English part of the
translations.json
with a descriptive and unique key. In the code retrieve the text using thelocalized_text('YOUR_NEW_KEY', self.config['bot_language'])
function.If your text is split up by formatting or variables you can use a list for that key, see for example "help_text" or "stats_transcribe".
You can fill in translations for all languages using tools such as deepl, chatgpt or copilot. If you don't add the translations it will default to the English texts which is also okay.
It would probably speed up things to tag the existing translators in the PR or comment about your update on this thread for translators to review or add the new bot messages.
Questions and Suggestions
Let me know if anything is unclear or you have improvement suggestions. I am looking forward to your translations 🌍.
Beta Was this translation helpful? Give feedback.
All reactions