#1 April 3, 2017 6:38am

daansk44
Member
From: Amersfoort, The Netherlands
Registered: September 12, 2016
Posts: 42

Website in two languages

Heyy everyone,

What is the best way to make your website in two languages (only the front-end).
We want to make the website in English and Dutch (And maby German)

Last edited by daansk44 (April 3, 2017 6:38am)

Offline

#2 April 3, 2017 10:33am

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 974

Re: Website in two languages

We're actually talking about this very topic over here:
https://www.bigtreecms.org/forum/viewto … 1755#p1755

By far the easiest way is to just serve two separate page trees for the different languages and two sets of fields for any module content. Then check $bigtree["path"][0] for which language you're on and use the right fields from the module content based on the language.

Offline

#3 April 12, 2017 4:11am

Preston
Member
Registered: April 12, 2017
Posts: 1

Re: Website in two languages

timbuckingham wrote:

We're actually talking about this very topic over here:
https://www.bigtreecms.org/forum/viewto … 1755#p1755

By far the easiest way is to just serve two separate page trees for the different languages and two sets of fields for any module content. Then check $bigtree["path"][0] for which language you're on and use the right fields from the module content based on the language.

Thanks, that sounds like a good way to do it. You could also provide language options on the actual webpage.

Last edited by Preston (October 15, 2021 12:45pm)

Offline

Board footer

Powered by FluxBB

The Discussion Forum is not available on displays of this size.