Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

291
Views
Django pluralizar persona como personas

tratando de generar el valor plural correcto en la plantilla de Django cuando el recuento es más de 1.

<p>{{ review.markers.helpful.count }} person{{ reviews.markers.helpful.count|length|pluralize }} found this helpful</p>

todavía devuelve 1 persons o 2 persons en lugar de 1 person y 2 people

alguna ayuda para arreglar esto en la plantilla?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Puede especificar los sufijos de las dos formas con:

 pe{{ reviews.markers.helpful.count |pluralize:"rson,eople" }}

o más simple:

 {{ reviews.markers.helpful.count |pluralize:"person,people" }}
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!