Item12089: Need a way to show the name of the current language
Priority: Enhancement
Current State: Confirmed
Released In: n/a
Target Release: minor
To show the current language not in a dropdown but as a link to a fold-out, I need to show the current language.
See a version with current limitations (it shows the language code instead of the name):
%LANGUAGE%
shows the language code, so I think it is logical to make it accept a format parameter:
%LANGUAGE{
format="$langname"
}%
The default shows the language tag which is synonym with
%LANGUAGE{
format="$langtag"
}%
--
ArthurClemens - 25 Sep 2012
I can't use
LANGUAGE
as macro because it is a preference value. Any alternatives?
--
ArthurClemens - 25 Sep 2012
can you %QUERY on a cfg value?
--
SvenDowideit - 07 Nov 2012
The language is not set in configure. Even if you could use
QUERY, there are no language names in configure, these only exist in .po files but that is inaccessible because it starts with an underscore.
--
ArthurClemens - 07 Nov 2012