After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 475527 - Language Selection Button for Damned Lies's Pages
Language Selection Button for Damned Lies's Pages
Status: RESOLVED FIXED
Product: damned-lies
Classification: Infrastructure
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: damned-lies Maintainer(s)
damned-lies Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2007-09-10 16:41 UTC by Diego Búrigo Zacarão
Modified: 2009-01-10 19:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Language Selection Button for Damned Lies's Pages (3.29 KB, patch)
2007-09-10 16:43 UTC, Diego Búrigo Zacarão
none Details | Review

Description Diego Búrigo Zacarão 2007-09-10 16:41:57 UTC
As I had talked with Danilo by e-mail. Here's a patch for Damned Lies.

This patch provides a way to see the Damned Lies in any language available into po/LINGUAS. 
I have used cookie for set the variable "lang", so the system always check if there is a lang cookie and it decides in which language it must be showing.

Here there is a example in Fedora Localization Project Website template:
https://publictest5.fedora.redhat.com/

The patch was created in the current version (528) of Damned Lies.

Feel free to change it and make it better. :)

Thank you.
Comment 1 Diego Búrigo Zacarão 2007-09-10 16:43:36 UTC
Created attachment 95294 [details] [review]
Language Selection Button for Damned Lies's Pages
Comment 2 Gil Forcada 2008-02-05 21:43:28 UTC
damned-lies has changed a lot since this patch was created, I can't apply it cleanly

can you update it?

and take a look at accept.py to handle the Accept headers
Comment 3 Gil Forcada 2009-01-10 17:03:40 UTC
Don't know if know is more easy to add this functionality (per-registred-user basis?) now that we are using django...
Comment 4 Claude Paroz 2009-01-10 19:20:09 UTC
Yes, that's rather straight-forward. Fixed in trunk.