#Sample code of multi-language supporting bot

1 messages · Page 1 of 1 (latest)

fallen seal
#

MyShell allows getting user interface language with "context.USER_LANGUAGE".
With such feature, we can make multi-language supporting bot.

Here is the example of the code, simple LLM module supporting both Korean bot and English bot.

I couldn't find the official document for it, but as far as I know, 'en', 'ko', 'zh', 'ja', ... are supported for the "context.USER_LANGUAGE".

This code is made with major help from @hard marten .

pale forge
halcyon turret
#

Thank you for this Celena , time to add multi-language support on all my bots arknights_happy