El dom, 10-06-2007 a las 19:45 +0000, Jose Figueras escribió:
> To add i18n support for my website's images I use this folder tree:
> 
>    /images/                 [non i18n images, perhaps fallback images]
>    /images/en/             [english images]
>    /images/es/             [spanish images]
>    ...
> 
> How can I to "trap" requests (middleware, routes, wsgi) to analise and
> modify them?

Hi Jose:
Did you resolve this issue? 
First approach comes my mind is using gettext to translate paths,
gettext give you the default if not transaltion for this image is done.
I know it can be tedious.

Exists a better approach?

Thanks.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to