I am implementing Locale/Culture Specific Media Library Items i.e different set of images and styles for different Locale/Culture.
I followed the approach as in the below blog http://sitecorejohn.wordpress.com/2010/04/30/dynamic-source-property-for-sitecore-image-fields/
But in addition to above I have to maintain a locale folder and store image items beneath them. For example, If my site root is SiteA and has en-US and es-US locale/Culture then Media Library looks as below: /sitecore/media library/SiteA/en-US and /sitecore/media library/SiteA/es-US .So when a content editor is in es-US and wants to select a Image then /sitecore/media library/SiteA/es-US should open up.
I tried to access the locale information but I always get "en", as the Context site will be "shell" when using content editor. Can anybody throw some light to implement the above?
Thanks, Suhas