Website DE and EN Structure

Hi …
I know there are a lot of Post about more languages on one Website. But anyone has a good tutorial about the structure when create a Site in DE and EN ? And how to set correct things like Canonical tag, and things like rel=“alternative” and hreflang=“lang” attributes. And how to redirect automatic to the correct page based on the browser language … htaccess ?

I use different path at the moment.
lang/de/
lang/en/

But what site is the index page ? DE or EN ?
And let’s say the browser automatic redirects based on the browser language. And I am on the DE Site. But now I need to watch the EN site. Change to the EN Site and the browser direct me back to the DE site.

So do a start index page for the first view ? And then a second home page in En and a second Homepage in DE ? To avoid this problem ? But when I do it like that -which page index for google ? And stuff like this :smiley:

Anybody done this before ? An example online to check the code ?
Thanks

tom

2 Likes

i am truly interested to it too :slight_smile:

in my flow I have 3 languages website to do (fr/eng/jp)

I’ve never had to build a multilingual website, but if I was feeling lazy and wanted to save a lot of hassle I would just install Pagelingo. That way, only one page version needs to be built, and the bric will translate everything automatically. It covers more than 130 languages.

1 Like

I did the same, just added a little extra.
The website is displayed in the language the browser is set to, but I can also set other languages, for example in the navigation. Mine has nothing to do with Pagelingo biric.
It’s all my own solution. :slightly_smiling_face:

1 Like

Hi @Boss81
That’s cool. I think Pagelino doesn’t work in my case because they’re a many specific industry words. How u do this ? Could u please explain or send a link to the page ?
thanks
tom

Hi @tom2

The site is currently not live. A friend of mine has a business that deals with labor protection, fire protection, and the like, and his page will be updated to this page.

I made this solution for him. Mostly Javascript.

I thought that maybe someone else could use it, but I don’t know anything about making Bric. :joy:

Hi @Boss81
Thank u :smiling_face:

Has anyone a coding solution for this problem ?
When I set a redirect in the htaccess file and redirect to the German website , but the want to switch to the English site I get redirect back to the German site.
Is there a way to fix this ? Let’s say the redirect is just the first time watching the website ?! Or a little bit of Java script ?

Nobody else have done a multilingual page in blocs ? :slight_smile:
And the page is online ?
cheers
tom