Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Retrieve the available language from a given page

Started by Muut Archive 10 years ago · 1 replies · 526 views
10 years ago

Hi,

In Grav, I have some pages created and translated in Spanish only. They have been created from the admin panel. (see attached screenshot).

This page is accessible with the /es/ prefix and is in Spanish. But I can access the page using /fr/for example. And I would like to avoid that (redirect maybe). Is it possible from a given page to know which language is available?

Thanks

Screen Shot 2016-11-24 at 12

Suggested topics

Topic Participants Replies Views Activity
Archive · by Muut Archive, 10 years ago
1 673 1 week ago
Archive · by Deleted User, 9 years ago
0 3043 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5337 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago