Closed arretx closed 4 years ago
What does it say if there is no $lang['sidebar'] set ?
If you don't specifically create the /conf/lang/en
path with the
lang.php
file, Dockuwiki falls back to the default ['sidebar'] lang
setting in /bin/inc/lang/<iso>/lang.php
on line 235 (at least the EN
version).
I just tested it.
On Wed, Sep 23, 2020 at 12:26 PM Anchit Bajaj notifications@github.com wrote:
What does it say if there is no $lang['sidebar'] set ?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/IceWreck/Argon-Dokuwiki-Template/pull/45#issuecomment-697924685, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHURKUQSMXBLKYULNGSYPXDSHJDXNANCNFSM4RXNKWBQ .
-- [image: photo] Jon Griffith REALTOR®, HomeSmart
480-463-4062 | jon@jongriffith.com
http://realtor.jongriffith.com 10601 N. Hayden Road, Suite I-100 | @RealScottsdale http://facebook.com/realscottsdaleliving http://twitter.com/realscottsdale http://www.youtube.com/realscottsdaleliving http://www.linkedin.com/in/jonathangriffith Get your own email signature https://www.wisestamp.com/signature-in-email?utm_source=promotion&utm_medium=signature&utm_campaign=get_your_own&srcid=4578964714553344
Unfortunately, there's no front end way to administer the name change, so any user is going to have to edit their lang files anyway.
On Wed, Sep 23, 2020 at 12:31 PM Jon Griffith jon@jongriffith.com wrote:
If you don't specifically create the
/conf/lang/en
path with thelang.php
file, Dockuwiki falls back to the default ['sidebar'] lang setting in/bin/inc/lang/<iso>/lang.php
on line 235 (at least the EN version).I just tested it.
On Wed, Sep 23, 2020 at 12:26 PM Anchit Bajaj notifications@github.com wrote:
What does it say if there is no $lang['sidebar'] set ?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/IceWreck/Argon-Dokuwiki-Template/pull/45#issuecomment-697924685, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHURKUQSMXBLKYULNGSYPXDSHJDXNANCNFSM4RXNKWBQ .
-- [image: photo] Jon Griffith REALTOR®, HomeSmart
480-463-4062 | jon@jongriffith.com
http://realtor.jongriffith.com 10601 N. Hayden Road, Suite I-100 | @RealScottsdale http://facebook.com/realscottsdaleliving http://twitter.com/realscottsdale http://www.youtube.com/realscottsdaleliving http://www.linkedin.com/in/jonathangriffith Get your own email signature https://www.wisestamp.com/signature-in-email?utm_source=promotion&utm_medium=signature&utm_campaign=get_your_own&srcid=4578964714553344
-- [image: photo] Jon Griffith REALTOR®, HomeSmart
480-463-4062 | jon@jongriffith.com
http://realtor.jongriffith.com 10601 N. Hayden Road, Suite I-100 | @RealScottsdale http://facebook.com/realscottsdaleliving http://twitter.com/realscottsdale http://www.youtube.com/realscottsdaleliving http://www.linkedin.com/in/jonathangriffith Get your own email signature https://www.wisestamp.com/signature-in-email?utm_source=promotion&utm_medium=signature&utm_campaign=get_your_own&srcid=4578964714553344
Thanks
I had to hunt for this for a while, as I'm new to Dockuwiki, and all of the solutions I found weren't working...because "Sidebar" was hard coded in the template. But, the ability to customize this is important. I added
$lang['sidebar'] = 'Document Library';
to alang.php
file in/conf/lang/en
and then changed line 190 of your main.php to achieve the intended result.