Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/m-aciek/django-admin-i18n-requirements
Languages' requirements for Django admin internationalization
https://github.com/m-aciek/django-admin-i18n-requirements
Last synced: 5 days ago
JSON representation
Languages' requirements for Django admin internationalization
- Host: GitHub
- URL: https://github.com/m-aciek/django-admin-i18n-requirements
- Owner: m-aciek
- Created: 2021-08-30T22:14:35.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-10-26T23:25:19.000Z (25 days ago)
- Last Synced: 2024-10-28T02:53:50.328Z (23 days ago)
- Language: Python
- Size: 55.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
**Requirements for natural sounding translations in Django.**
This repository intents to gather requirements for natural sounding translations in all languages that Django supports,
with focus on Django admin.In languages that inflects sentences basing on grammatical gender of nouns or uses nouns inflected in various
grammatical cases (and more language-specific phenomena to come), current state of Django admin internationalization,
mainly for messages that are parametrized, is not enough – those messages after being rendered often don't sound
correct.Let's help fix it and start by gathering the rules for various languages, that in the near future can help to find the pragmatic solution
for next level of Django admin internationalization.This repository abstracts the rules for message inflections in isolation to potential future implementation.
Currently supported:
* plurals (rules copied from existing resources),
* placeables' variants: grammatical cases of nouns or potentially other variants,
* messages variants based on placeable's attribute (e.g. gender).**How to contribute?**
Clone Django repository and this repository to your workspace. Run the script:
% python print_improvements.py [path-to-django-source-code-clone] [your-language-iso-code] --module [conf|contrib/admin|contrib/…]
It will print three columns. You can edit your language TOML file and see the effect.
**Next steps**
The data gathered here can be a help for enhancement work, that's around [ticket 11688](https://code.djangoproject.com/ticket/11688) and being worked [here](https://github.com/django/django/compare/main...m-aciek:django:ticket-11688) (current challange is changing the template rendering to improve i18n capacity).