I dunno if somebody could point me in the right direction with this one... 
I've found an oddity in evaluation of the following line (7 of 
user_panel.html) using the French translation

   {% blocktrans count request.cart.total_quantity as cart_quantity %}1 
item{% plural %}{{ cart_quantity }} items{% endblocktrans %}
   {% trans "in cart" %}

When no items are in the cart using English translation this produces "0 
items in cart"

But with the French translation I get  "1 produit ajouté au panier" .  As a 
sanity check I have tried the german translation, which works fine for 
me.   The wish list info, produced by the same template file exhibits the 
same fault in the French translation only.

My language settings in settings.py are:en

USE_I18N = True
LANGUAGE_CODE = "fr"
LANGUAGES = (
   ('fr', _('French')),
)

I installed cartridge from pip in a virtualenv yesterday. Output of pip 
freeze attached.

Grateful for any ideas. The template language looks like goobledy-gook to 
me.  I have compared the .po files in English,German and French and cannot 
see a problem for the strings concerned. 

Many thanks

hc










-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Cartridge==0.9.5
Django==1.6.8
Mezzanine==3.1.10
Pillow==2.6.1
PyPDF2==1.23
argparse==1.2.1
beautifulsoup4==4.1.3
bleach==1.4
filebrowser-safe==0.3.6
future==0.9.0
grappelli-safe==0.3.13
html5lib==0.999
oauthlib==0.7.2
pytz==2014.10
reportlab==3.1.8
requests==2.4.3
requests-oauthlib==0.4.2
six==1.8.0
tzlocal==1.0
wsgiref==0.1.2
xhtml2pdf==0.0.6

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to