Template:Call lang

From Gramps
Jump to: navigation, search


Usage

For calling of a translated file, with fallback to english version if translation does not exist.

{{call_lang|Installation|nl|de installatie pagina}}

The above calls Installation/nl if it exists, and otherwise the page Installation. In both cases the text returned is de installatie pagina: de installatie pagina.

Another example:

{{call_lang|Gramps:About|nl|info pagina}}

which gives: info pagina.