dokuwiki-plugin-translation icon indicating copy to clipboard operation
dokuwiki-plugin-translation copied to clipboard

lang_before_translation not documented

Open threadi opened this issue 8 years ago • 0 comments

Hi,

i searched for the possibility to show a link to the main language within the language-selector. in helper.php i found the following in line 44:

// get default translation
        if(!$conf['lang_before_translation']) {
            $dfl = $conf['lang'];
        } else {
            $dfl = $conf['lang_before_translation'];
        }

If i set "lang_before_translation" in my local.php to "de" i get what i want.

But is that the desired functionality? Or it is an old relict and changed simply to $dfl = $conf["lang"]?

threadi avatar Aug 29 '17 19:08 threadi