I have many pages which has different url key for different stores.
Can I get current URL on basis of store ID. function I am using right now is getCurrentUrl().
I mean let suppose i have two stores en and fr. Now I have a page with 2 url
(page-en.html, page-fr.html).
Right now let suppose i am at
page-en.html
so if I write something like getCurrentURL(fr) then I should get
site_url/page-fr.html.
Best Answer
Thanks a lot for your responses. I used approach given here
http://inchoo.net/ecommerce/magento/get-rewritten-product-url-in-a-different-store/
created a helper in my custom module
and used it in languages.phtml
-- Cheers