An open API service indexing awesome lists of open source software.

https://github.com/insolor/streamlit-gettext

A Streamlit extension for easy localization of your apps (work in progress)
https://github.com/insolor/streamlit-gettext

gettext i18n python streamlit

Last synced: about 1 month ago
JSON representation

A Streamlit extension for easy localization of your apps (work in progress)

Awesome Lists containing this project

README

        

# streamlit-gettext

[![PyPI](https://img.shields.io/pypi/v/streamlit-gettext)](https://pypi.org/project/streamlit-gettext/)
![Supported Python versions](https://img.shields.io/pypi/pyversions/streamlit-gettext)

> 🚧 WORK IN PROGRESS 🚧

A Streamlit extension for easy localization of your apps. Gets preferred languages from the browser, shows the the translated app to a user (it can be different translations for different users connected to the same app).

See a working app with such functionality:

TODO:

- [x] [example](https://github.com/insolor/streamlit-gettext/blob/main/example)
- [x] basic test (a smoketest for the example)
- [ ] documentation
- [ ] support of manual switching with default language selected from the browser preferred languages
- ...

Feedback and suggestions are highliy appreciated.