문제

How to change the text hyperlink to 'Deploy'?

<a href="#" >{%trans "LANG" %}</a>

I have tried:

<a href="#" >LANG</a>

I have also changed the messages in .po file and have compiled them..What am I missing?

도움이 되었습니까?

해결책

You should change "Start" to "Deploy" and run

./manage.py makemessages -l <LANGUAGE CODE>

or

django-admin.py makemessages -a

for all languages It will generate new .po-file

then

./manage.py compliemessages

And it should be fine. Don't forget to restart web-server.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top