Modualar pages and translation plugins


#1

Hi 2 all,

I’m new to grav and i’m already adicted to it.
I’m working on a new website for myself in a sandbox before it goes online.
A nice site with a woo child theme.

Now i have installed 2 plugins:
LangSwitcher v1.4.0
Language Selector v1.0.0

I have nice the flags in my header but here it stops.

I need to translate tie first made page 01.home
And here comes the question:

Do i need to copy 01.home to my 2 other languages? like 01.home (standard NL) 01.home.en and 01.home.hr

I tried already the make translations of the modular.md but that was not a succes :frowning:


#2

Pretty much you need to copy these files, yes. I’m inexperienced with multi-language, but I had success with one site following the official docs and using the language switcher plugin.

Modular pages I assume are treated no differently.

Have you followed the instructions in the docs? Specifically:

Also if you have the Admin plugin installed, you and any site editors will see translations in the page editors.


#3

hi there,

I got the plugins working and the language switcher in my header.
but wen i switch a language i got this:
Service Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

Additionally, a 503 Service Unavailable error was encountered while trying to use an ErrorDocument to handle the request.

Then i flush the cache and everyting is working again.

I’m still searching for this problem.

Thankz for you tip :+1: