Add translations to navigation
MODIFY
resources/lang/en/general.php
resources/lang/en/general.php
@@ -5,5 +5,9 @@ return [
'spendings' => 'Spendings',
'balance' => 'Balance',
'tags' => 'Tags',
- 'of' => 'of'
+ 'of' => 'of',
+ 'dashboard' => 'Dashboard',
+ 'search' => 'Search',
+ 'settings' => 'Settings',
+ 'logout' => 'Log out'
];

MODIFY
resources/lang/nl/general.php
resources/lang/nl/general.php
@@ -5,5 +5,9 @@ return [
'spendings' => 'Uitgaven',
'balance' => 'Saldo',
'tags' => 'Etiketten',
- 'of' => 'van'
+ 'of' => 'van',
+ 'dashboard' => 'Overzicht',
+ 'search' => 'Zoeken',
+ 'settings' => 'Instellingen',
+ 'logout' => 'Uitloggen'
];

MODIFY
resources/views/layout.blade.php
resources/views/layout.blade.php
<div class="wrapper">
<ul>
<li>
- <a href="/dashboard">Dashboard</a>
+ <a href="/dashboard">@lang('general.dashboard')</a>
</li>
<li>
- <a href="/search">Search</a>
+ <a href="/search">@lang('general.search')</a>
</li>
<li>
- <a href="/tags">Tags</a>
+ <a href="/tags">@lang('general.tags')</a>
</li>
</ul>
<ul>
<li>
- <a href="/settings">Settings</a>
+ <a href="/settings">@lang('general.settings')</a>
</li>
<li>
- <a href="/logout">Log out</a>
+ <a href="/logout">@lang('general.logout')</a>
</li>
</ul>
</div>

Add translations to navigation