Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

How to add Hebrew text to website

Noam Elfanbaum edited this page Feb 15, 2016 · 3 revisions
  1. Add the {% trans "some message" %} to the HTML template you want to edit.
  2. Run ./manage.py makemessages -l he
  3. Find the english text you entered in Open-Knesset/knesset/locale/he/LC_MESSAGES/django.po, and add the translation in the placeholder bellow.
  4. Run ./manage.py compilemessages -l he

Troubleshooting

  • notice if you are running a local server you must kill it and restart for the new translation to appear