2017-09-23, 04:38 PM
Hello, I want to create a another Navbar that all worked but i need german and english language values i also created a new file with this code in german and english folder:
Sorry if my english is not the best but i'm from germany ^^
- DreamGamer
<?php
/**
* MyBB 1.8 English Language Pack
* Copyright 2014 MyBB Group, All Rights Reserved
*
*/
$l['navbar_home'] = "Home";
$l['navbar_forum'] = "Forum";
$l['navbar_contact'] = "Contact";
$l['navbar_more'] = "More";
$l['navbar_privacy_policy'] = "Privacy Policy";
$l['navbar_terms_of_use'] = "Terms of Use";
$l['navbar_team_members'] = "Team Members";
?>
And in the Template header i have this code with {$lang->navbar_home}<a href="/">{$lang->navbar_home}</a>
<a class="active" href="{$mybb->settings['bburl']}">{$lang->navbar_forum}</a>
with normal text it works fine but i need a another text in another languages. The Forum run with Xampp on Windows local. And in The Admin CP config Lanuages is the file list and all variables. The element in the navbar (the text) is empty. When i run the Code: <a href="/"></a>
<a class="active" href="http://127.0.0.1/forum"></a>
I seareched in the forum already but nothing i found worked :/ maybe anyone here can help me.Sorry if my english is not the best but i'm from germany ^^
- DreamGamer