caffeinated / menus

:pushpin: Menu generator package for the Laravel framework
https://caffeinatedpackages.com
132 stars 59 forks source link

Multi-lang #40

Closed myrrc closed 9 years ago

myrrc commented 9 years ago

Hello again. The problem is that menu Items use Russian(non-latin symbols) and I can not add sub-items to such. Is there a solution to that problem?

kaidesu commented 9 years ago

Sorry, you can also assign menu items directly to a variable, as such:

Menu::make('example', function($menu) {
    $profile = $menu->add('профиль', '#');
    $profile->add('Редактировать профиль', 'profile/edit');
});

I'll get this added to the documentation.