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)
- Host: GitHub
- URL: https://github.com/insolor/streamlit-gettext
- Owner: insolor
- License: mit
- Created: 2024-12-11T15:29:38.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-04-02T02:05:27.000Z (about 2 months ago)
- Last Synced: 2025-04-12T06:04:44.678Z (about 1 month ago)
- Topics: gettext, i18n, python, streamlit
- Language: Python
- Homepage:
- Size: 117 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# streamlit-gettext
[](https://pypi.org/project/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.