-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
Proposal to add translation support for non-docs pages
While Django’s documentation is translated into several languages, the main entry-point to the framework — the djangoproject.com website itself — remains mostly untranslated. Ensuring djangoproject.com is accessible to non-English speakers is important for demonstrating Django’s inclusivity and supporting a broad user base.
- Please let me know if this proposal misses any existing discussions or considerations.
- If this should be addressed to the
Internals - Internationalizationforum, please let me know, but the technical portion of this proposal (adding translation templatetags) at least seemed more appropriate to post here.
This issue did not seem to be identified as a problem in the recent User research report (1496)
Discussion
It feels a bid odd to see that the docs are translated into a variety of languages, but the greater djangoproject.com site is only available to English speakers.
Django strongly promotes internationalization, with clear documentation on using trans and blocktrans tags, and even shows an example of using {% blocktrans %} and {% trans %} templatetags on the Start page, but the page itself is only available in English. (ref)
One issue that we will run into is the content of djangoproject.com is a mix of text in templates and text that comes from models. While the models-based text could be a problem for another day, there are concrete steps we could take today to work toward translation of the template-based text.
Questions
- Was it a conscious decision not to translate the (non-docs) pages of djangoproject.com? If so, does the reason behind that decision still stand?
- Would it be beneficial to start work on this?
- If we move forward with this, would we prefer using a service like Transifex for translating non-documentation pages, similar to how documentation is currently handled, or would it be more appropriate to stick to the existing .po files?
Proposed Work
See updated checklist in the comment below
Templates with at least some trans or blocktrans tags
Approximate percentage of tags present on each template in the repo compared to potential trans or blocktrans opportunities.
Templates with no trans or blocktrans tags
Note: Only those templates with text that can be translated but have no trans or blocktrans tags are included in the list below. All remaining templates whcih only load other templates or only load text content from models have been excluded.
- dashboard/templates/dashboard/detail.html
- djangoproject/templates/400.html
- djangoproject/templates/403.html
- djangoproject/templates/404.html
- djangoproject/templates/410.html
- djangoproject/templates/500.html
- djangoproject/templates/accounts/edit_profile.html
- djangoproject/templates/accounts/user_profile.html
- djangoproject/templates/aggregator/delete-confirm.html
- djangoproject/templates/aggregator/denied.html
- djangoproject/templates/aggregator/edit-feed.html
- djangoproject/templates/aggregator/feeditem_list.html
- djangoproject/templates/aggregator/index.html
- djangoproject/templates/aggregator/local-django-community.html
- djangoproject/templates/aggregator/my-feeds.html
- djangoproject/templates/base.html
- djangoproject/templates/base_blogroll.html
- djangoproject/templates/base_code.html
- djangoproject/templates/base_community.html
- djangoproject/templates/base_foundation.html
- djangoproject/templates/base_weblog.html
- djangoproject/templates/blog/blog_pagination.html
- djangoproject/templates/blog/entry_archive.html
- djangoproject/templates/blog/entry_archive_day.html
- djangoproject/templates/blog/entry_archive_month.html
- djangoproject/templates/blog/entry_archive_year.html
- djangoproject/templates/blog/entry_detail.html
- djangoproject/templates/blog/news_summary.html
- djangoproject/templates/conduct/base.html
- djangoproject/templates/conduct/changes.html
- djangoproject/templates/conduct/enforcement.html
- djangoproject/templates/conduct/faq.html
- djangoproject/templates/conduct/index.html
- djangoproject/templates/conduct/reporting.html
- djangoproject/templates/contact/coc.html
- djangoproject/templates/contact/coc_form.html
- djangoproject/templates/contact/foundation.html
- djangoproject/templates/contact/sent.html
- djangoproject/templates/diversity/base.html
- djangoproject/templates/diversity/changes.html
- djangoproject/templates/diversity/index.html
- djangoproject/templates/donate_thanks.html
- djangoproject/templates/foundation/coreawardcohort_list.html
- djangoproject/templates/foundation/meeting_archive.html
- djangoproject/templates/foundation/meeting_archive_day.html
- djangoproject/templates/foundation/meeting_archive_month.html
- djangoproject/templates/foundation/meeting_archive_year.html
- djangoproject/templates/foundation/meeting_detail.html
- djangoproject/templates/fundraising/email/thank-you.html
- djangoproject/templates/fundraising/includes/display_django_heroes.html
- djangoproject/templates/fundraising/includes/donation_form_with_heart.html
- djangoproject/templates/fundraising/includes/donation_snippet.html
- djangoproject/templates/fundraising/index.html
- djangoproject/templates/fundraising/manage-donations.html
- djangoproject/templates/fundraising/thank-you.html
- djangoproject/templates/homepage.html
- djangoproject/templates/includes/footer.html
- djangoproject/templates/includes/header.html
- djangoproject/templates/includes/mailing_lists.html
- djangoproject/templates/members/corporate_member_badges.html
- djangoproject/templates/members/team_list.html
- djangoproject/templates/overview.html
- djangoproject/templates/registration/activate.html
- djangoproject/templates/registration/activation_complete.html
- djangoproject/templates/registration/base.html
- djangoproject/templates/registration/logged_out.html
- djangoproject/templates/registration/login.html
- djangoproject/templates/registration/registration_complete.html
- djangoproject/templates/registration/registration_form.html
- djangoproject/templates/releases/download.html
- djangoproject/templates/start.html
- djangoproject/templates/styleguide.html
- djangoproject/templates/tracdb/bouncing_tickets.html