cccs-web / core

CCCS' customized django web application
4 stars 11 forks source link

error with CV translation #156

Open cccs-ip opened 9 years ago

cccs-ip commented 9 years ago

I just realized that our CVs aren't linking correctly when viewing non-English versions of the website.

To see this, change the language to Russian on our personnel page and try to click into Greg's or my CV:

https://crossculturalconsult.com/personnel/

The link works just fine... in English only:

https://crossculturalconsult.com/cvs/cv/detail/gregory-guldin/

Any idea how to address this?

pwhipp commented 9 years ago

The code is throwing unicode errors. Nasty but I'll get to the bottom of it.

pwhipp commented 9 years ago

I've sorta fixed this. I found the specific errors and all is good. Unfortunately I can't easily find a way to ensure there are no other unicode errors waiting to be uncovered so other similar bugs may occur. If they do, raise them and I can fix them.

Incidentally, Python 3 does away with Unicode problems but unfortunately, upgrading would be a big job (a couple of days or three)... all strings in Python 3 are unicode rather than ascii by default.

cccs-ip commented 9 years ago

Thank you. I am leaving this issue open for the moment to remind me to check.