cheshire-cat-ai / admin-vue

Admin panel of the Cheshire Cat AI
GNU General Public License v3.0
32 stars 29 forks source link

Initialized translations #15

Open zAlweNy26 opened 1 year ago

zAlweNy26 commented 1 year ago

Description

Initial setup for adding translations to the GUI.

Type of change

Checklist:

pieroit commented 1 year ago

Beautiful! Since we keep data in the admin about chosen language, please consider passing it through the websocket json (would allow prompt translation and could be useful to plugins)

zAlweNy26 commented 1 year ago

Nice idea, I will add that soon

zAlweNy26 commented 1 year ago

Now on every message, the websocket sends this json:

{ 
    text: message,
    lang: localStorage.currentLocale,
    prompt_settings: settings 
}
pieroit commented 1 year ago

This is great to involve the international community