I have this block in my HTML
...
<a class="header" href="{% url 'listing' house_post.id %}">
{% blocktrans with house_type=house_post.house_type.name trimmed %}
{{house_type}}
{% endblocktrans %}
</a>
...
One value of house_type is "Condominium". I've added the following entry in my .po file.
msgid "Condominium"
msgstr "ኮንዶሚኒየም"
I've run compilemessages on the po file, and the rest of the translations work when I switch languages. And I've made sure the value of house_type is set to "Condominium". But for some reason it's not being translated.
In addition when I run makemessages the tool comments out additions I've made in the .po files. I'm uncommenting them before running compilemessages. I don't know why it's doing that though it might be a clue.
It is possible to add translation texts to .po files. Isn't it?