Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Legg til støtte for flere språk i bot-en #94

Open
AndreasJJ opened this issue Feb 12, 2023 · 1 comment
Open

Legg til støtte for flere språk i bot-en #94

AndreasJJ opened this issue Feb 12, 2023 · 1 comment
Labels

Comments

@AndreasJJ
Copy link
Collaborator

https://pypi.org/project/speaklater/
https://babel.pocoo.org/en/latest/

@AndreasJJ
Copy link
Collaborator Author

Start branch: https://github.com/blankoslo/Pizza.v2/tree/translations

Må finne ut av hvor man skal hente locale fra. Tror det beste er å lagre det i Slack_Organization tabellen, også blir det cachet i Installation store, så kan man hente det ut der på noen millisekunder. Men man vil ha noen problemer som Loading melding som enten må sendes med default språk eller hente ut fra installation store også, men da kan den bli tregere enn 3 sekunder. Så en mulighet blir jo å cache alle Slack Organizations i installation store ved boot, men da må man også ha en message handler som får meldinger når en slack organization oppdateres i Backenden sånn at cachet kan bli oppdatert.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant