Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Retrieve the available language from a given page

Started by Muut Archive 10 years ago · 1 replies · 444 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 Deleted User, 9 years ago
0 2288 9 years ago
Archive · by Muut Archive, 9 years ago
2 1500 9 years ago
Archive · by Muut Archive, 9 years ago
2 4753 9 years ago
Archive · by Muut Archive, 9 years ago
1 3570 9 years ago
Archive · by Muut Archive, 9 years ago
3 1626 9 years ago