Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

Multi-language based on domain

Started by Alex 8 years ago · 3 replies · 622 views
8 years ago

Hi everyone.

What I'm trying to achive is:
http://site.com => Points to Engish version
http://site.pt => Points to Portuguese version
etc.

Of course I'm aware of this, but what that section describes is redirecting from site.pt to site.com/pt, but I need to stay on site.pt and see Portuguese content.

Is it possible at all? I was thinking of another option - setting it up as multisite, but I strongly wouldn't like to do it as Grav has such convenient content translation system, and I' really want to use it.

Thanks in advance for any input!

8 years ago

No, Im pretty sure this isn't possible, as that would be completely different domains :)

8 years ago

Hi
I'm wondering if you could get away with doing something where you create content elsewhere maybe your local machine and then automatically push it out to both sites together maybe using git. In this way you can use the admin panel and built in translation tools to create your content but still be able to keep two separate sites in sync.

Suggested topics

Topic Participants Replies Views Activity
Support · by Thomas, 1 week ago
2 51 8 hours ago
Support · by Anna, 2 days ago
2 58 10 hours ago
Support · by Justin Young, 11 hours ago
1 30 11 hours ago
Support · by Duc , 1 week ago
2 63 5 days ago
Support · by Colin Hume, 1 week ago
2 55 5 days ago