Developer forum
E-mail notifications
Is it possible to show products in different languages on the same page?
The users language is available on his profile and can be accesed. The question is how we can get the product detail page to react to this, for example. by putting the languagecode in the URL?
E.g.. /NL/Products/Product.aspx?ProductID=24732
/Christina
NoZebra
Replies
Currency can be set the same way using the parameter "&CurrencyCode=EUR"
Hello Nicolai,
As I am about to implement more or less the same functionality. I guess it is possible to filter on the shop's products based on their language. By that while being on e.g. the UK context, I would be able to select products with the german description etc. then? :)
Best regards,
MikkelTO
Not sure I understand?
Using LanguageID= will change the language of the products being showed. If you are showing a group of 10 products in english, and you change to german, the german translations of the 10 products will be shown. If only 8 is translated 8 will be shown in German - the last 2 will either be shown in your default language or not shown depending on your settings.
Nicolai
Yeah, that's exactly what I will accomplish. When e.g. being on the UK website - I will implement a dropdown with x amount of countries. By hitting e.g. Germany the products in german translations of the products will be shown - though still being in the UK website context that is. :)
MikkelTO
Hi Nicolai
I have tried to implement the same functionality more or less. I set Great Britain as default language, which has the idLANG2 and have Denmark(LANG1) and Germany(LANG3) setup as well.
I am able to see the Danish products onthe following url: http://www.eurowater.info/references-1.aspx?LanguageID=LANG1
however when trying to parse LANG2 and LANG3 it crashes..
user: novitest, pw: novitest if u need to login :)
/MikkelTO
Seems like you did not translate your filters...
Of course it should not crash. Will bug it.!
Hi Nicolai,
By translating the filters, what do you mean specifically? - I've set up the different languages / countries in the backend, and given each product a different description in each language. Is there more to it?
/MikkelTO
In management center, ecommerce, product catalog, search filter, go into the group you created. In the top you can choose different languages. Make sure to translate the filters to all languages.
Nicolai
Hi Nicolai,
It seems I dont have the option to choose country, see image 1.
And I can see, that all my custom made fields for each product are gone. This is quite unfortunate as well see image 2 - the fields did of course (earlier) come in list below the red box marked on the image.
Hi Mikkel
Ok - you only have LANG2 and LANG4.
I opened and saved all your filters, and now it seems to work.
Nicolai
It works in a way, not completely though. I know that Denmark has LanguageID=4, though it does not output the 1 product I've translated and saved as Danish in the ecommerce module.
/MikkelTO
What groups have you published on that page? Is the product part of any of the groups on that page, and is the group translated as well?
Nicolai
You must be logged in to post in the forum