Vorlage:GetLangsuffix

Aus International Center for Computational Logic
Wechseln zu:Navigation, Suche

This helper template extracts the language suffix from the current page. The result will be "/en" (on English pages) or empty (on German pages). This is based on the actual page that the template is stored on, even if the user got to that page with a redirect.

Usage:

{{getLangsuffix}}