{"id":16177568,"url":"https://github.com/raphaelm/django-i18nfield","last_synced_at":"2025-04-05T07:03:02.997Z","repository":{"id":54443290,"uuid":"83061402","full_name":"raphaelm/django-i18nfield","owner":"raphaelm","description":"Store internationalized strings in Django models with full forms support","archived":false,"fork":false,"pushed_at":"2024-12-16T12:53:36.000Z","size":129,"stargazers_count":37,"open_issues_count":0,"forks_count":18,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-29T06:03:54.136Z","etag":null,"topics":["django","i18n","i18nfield","internationalization","modelfields","models","python","translation"],"latest_commit_sha":null,"homepage":"https://django-i18nfield.readthedocs.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raphaelm.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-24T16:31:57.000Z","updated_at":"2024-12-27T15:55:50.000Z","dependencies_parsed_at":"2025-01-09T15:45:49.456Z","dependency_job_id":"e96362d7-2955-4bc8-9283-506227d039b2","html_url":"https://github.com/raphaelm/django-i18nfield","commit_stats":{"total_commits":110,"total_committers":9,"mean_commits":"12.222222222222221","dds":0.2727272727272727,"last_synced_commit":"92d5350e80a33ce31b5c5153aedcdecf1b82d27f"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphaelm%2Fdjango-i18nfield","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphaelm%2Fdjango-i18nfield/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphaelm%2Fdjango-i18nfield/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphaelm%2Fdjango-i18nfield/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raphaelm","download_url":"https://codeload.github.com/raphaelm/django-i18nfield/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247299831,"owners_count":20916190,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django","i18n","i18nfield","internationalization","modelfields","models","python","translation"],"created_at":"2024-10-10T05:09:32.302Z","updated_at":"2025-04-05T07:03:02.966Z","avatar_url":"https://github.com/raphaelm.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"I18nFields for Django\n=====================\n\n.. image:: https://img.shields.io/pypi/v/django-i18nfield.svg\n   :target: https://pypi.python.org/pypi/django-i18nfield\n\n.. image:: https://readthedocs.org/projects/django-i18nfield/badge/?version=latest\n   :target: https://django-i18nfield.readthedocs.io/\n\n.. image:: https://travis-ci.org/raphaelm/django-i18nfield.svg?branch=master\n   :target: https://travis-ci.org/raphaelm/django-i18nfield\n\n.. image:: https://codecov.io/gh/raphaelm/django-i18nfield/branch/master/graph/badge.svg\n   :target: https://codecov.io/gh/raphaelm/django-i18nfield\n\n\nThis is yet another way to store multi-lingual content in Django_. In contrast to other options\nlike `django-hvad`_, `django-modeltranslation`_ or `django-parler`_ it does not require additonal\ndatabase tables and you can reconfigure the available languages without any changes to the database\nschema. In constrast to `nece`_, it is not specific to PostgreSQL.\n\nHow does it work then? It stores JSON data into a ``TextField``. Yes, this is kinda dirty and violates\nthe `1NF`_. This makes it harder for non-django based programs to interact directly with your database\nand is not perfectly efficient in terms of storage space.\nIt also lacks the ability to do useful lookups, searches and indices on internationalized fields.\nIf one of those things are important to you, **this project is not for you**, please choose one of the\nones that we linked above.\n\nHowever if those limitations are fine for you, this provides you with a very lightweight, easy to use and\nflexible solution. This approach has been in use in `pretix`_ for quite a while, so it has been tested in\nproduction. The package contains not only the model fields, but also form fields and everything you need\nto get them running.\n\nFeatures\n--------\n\n* Very easy installation\n* Internationalized versions of ``CharField`` and ``TextField`` types\n* Integrated form fields types and widgets\n* Automatic migration from non-localized fields with a simple migration\n* Full support for forms and formsets\n* Possibility to dynamically limit the displayed languages\n* Very basic integration with django admin\n* Integration with Django Restframework\n* Comprehensive test suite and production-tested\n\nTested with:\n\n* Python 3.6 to 3.10\n* Django 3.2 to 4.0\n\nLicense\n-------\nThe code in this repository is published under the terms of the Apache License. \nSee the LICENSE file for the complete license text.\n\nThis project is maintained by Raphael Michel \u003cmail@raphaelmichel.de\u003e. See the\nAUTHORS file for a list of all the awesome folks who contributed to this project.\n\n.. _pretix: https://github.com/pretix/pretix\n.. _django: https://www.djangoproject.com/\n.. _django-hvad: https://github.com/KristianOellegaard/django-hvad\n.. _django-modeltranslation: https://github.com/deschler/django-modeltranslation\n.. _django-parler: https://github.com/django-parler/django-parler\n.. _nece: https://pypi.python.org/pypi/nece\n.. _1NF: https://en.wikipedia.org/wiki/First_normal_form\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraphaelm%2Fdjango-i18nfield","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraphaelm%2Fdjango-i18nfield","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraphaelm%2Fdjango-i18nfield/lists"}