question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

{% trans %} doesn't work!

See original GitHub issue
  • pypugjs version:pypugjs==5.7.2
  • Django version:Django==2.0.9
  • Python version:Python 3.7.0
  • Operating System: Mac

Description

I wanted to use {% trans %} templatetag for translating static text

What I Did

.slider-text
     .slider-text-inner
         h1 ЭМАКОМ
             span |{% trans "строительная компания" %}

./manage.py makemessages
bash -cl "/Users/noors/venvs/emakom/bin/python /Applications/PyCharm.app/Contents/helpers/pycharm/django_manage.py makemessages /Users/noors/PycharmProjects/emakom"
processing locale kg

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kakulukiacommented, Nov 28, 2018

You can as well use -e py,pug … if you think, its not documented well enough, feel free to reopen. 😃

0reactions
noors312commented, Nov 28, 2018

SOLVED! I just indicated file extension ./manage.py makemessages -e pug -e py

Read more comments on GitHub >

github_iconTop Results From Across the Web

Top 10 reasons for a Transmission problem - AAMCO
Transmission won't engage or stay in gear · Shifts are delayed or missing gears · Transmission slipping or engine is revving high ·...
Read more >
10 Most Common Transmission Problems & How to Fix Them
Refuses to Go Into Gear. If the car will not shift after engaging the clutch and trying to move the stick, take a...
Read more >
Sex Reassignment Doesn't Work. Here Is the Evidence.
Sex “reassignment” doesn't work. It's impossible to “reassign” someone's sex physically, and attempting to do so doesn't produce good ...
Read more >
5 Reasons Your Transmission Won't Shift Into Gear
5 Reasons Your Transmission Won't Shift Into Gear · 1. Degraded Transmission Fluid · 2. Faulty Clutch Master Cylinder (Manual Transmission) · 3....
Read more >
6 Reasons The Transmission Won't Shift On Your Car
Automatic transmissions require transmission fluid to work properly. In fact, the torque converter (a part of an automatic transmission) works ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found