django-garnett
django-modeltranslation
django-garnett | django-modeltranslation | |
---|---|---|
3 | 1 | |
81 | 1,326 | |
- | - | |
2.5 | 6.8 | |
2 months ago | 15 days ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
django-garnett
-
Hacker News top posts: Feb 28, 2022
Django Garnett – simple multilingual models for Django\ (5 comments)
-
Django Garnett – simple multilingual models for Django
We built Django-Garnett because we had a monolithic Django app and wanted to backport multilingual support for our clients in, without having to change references to fields in our templates and code in potentially thousands of places.
It allows clients to add and remove languages on-the-fly and means app developers only have to add a middleware and don’t have to change their Django ORM code very much at all.
We’re going to do a big engineering post on it, but in a huge code base, apart from the effort of building this library, and some UX design for the language switcher, it was a relatively painless process converting a monolingual app into a multilingual one.
We have a fun demo site that shows it in action here: https://django-garnett.herokuapp.com/
django-modeltranslation
-
Django Garnett – simple multilingual models for Django
Looks very good, will definitely look into it more! May I ask, what was the reason for not using https://github.com/deschler/django-modeltranslation in your case?
What are some alternatives?
Strsync - A CLI tool for localization resource management on Xcode. Built with Google Translator.
deep-translator - A flexible free and unlimited python tool to translate between different languages in a simple way using multiple translators.
sqlglot - Python SQL Parser and Transpiler
Weblate - Web based localization tool with tight version control integration.