Developer forum

Forum » Development » Application conf. Single domain, multilanguage

Application conf. Single domain, multilanguage

Dmitrij Jazel
Reply

Hi Guys,

Wanted to ask you for an advice, on how to plan/configure application to work like that.

1) There is going to be a single application,

2) That application is using .COM domain name.

3) it has default valuta in Euro, USD

3.1) Note: users are not able to change valuta.

Here comes the tricky part:

4) that same shop application, must check if user is comming from (f,eks Denmark) So Prices should be seen in DKK automatically.

5) If users is comming from Germany - than site "language" must switch to German and prices are in EUR.

5.1) But he changes site language into English, or Norwegian, than he still sees same product stock (cause they are using Global product stock). And prices are still in Euro (based on visitors IP).

 

So Currency - defined by IP, always. User will not have possibility to change currency.

Global stock - same stock and product range for all countries

When user changes language - info about products (product details) ecom must fetch correct Lang. product details.


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Dmitrij.

Should be simple enough.

Just create one catalog with the products translated and one (or more) websites publishing the catalog.

In the frontend make it so the user can change language.

Use something like http://dev.maxmind.com/geoip/geoip2/geolite2/ to detect the IP and set Dynamicweb.eCommerce.Context.Currency() based on the IP.

BR Nicolai

 
Dmitrij Jazel
Reply

Hi Nicolai,

Thanks allot for the info! :) will try that.

Cheers,

/Dmitrij

 

You must be logged in to post in the forum