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

Retrieve the available language from a given page

Started by Muut Archive 10 years ago · 1 replies · 373 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 1357 9 years ago
Archive · by Muut Archive, 9 years ago
2 936 9 years ago
Archive · by Muut Archive, 9 years ago
2 4066 9 years ago
Archive · by Muut Archive, 9 years ago
1 2954 9 years ago
Archive · by Muut Archive, 9 years ago
3 1120 9 years ago