themsaid / laravel-langman-gui

A GUI for managing JSON translation files in your laravel projects.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Strange view

robertnicjoo opened this issue · comments

Hi,

I just installed this package on fresh installed laravel 5.5.23 and here is what i get:

screenshot-2017-12-9 langman

What should i do?

Ok, i fixed it with solution from #29

But another issue is that says:

There are no Translation lines yet, start by adding new keys or
scan your project for lines to translate. 

While I have translation file and it works on http://test.dev/en , http://test.dev/fa

Well I fixed second problem as well. here is how:

Add en.json to lang folder and not lang/en/ folder. Then add follow code:

{
    "welcome": "Laravel"
}

and call your blade such as {{ __('welcome') }} and not {{ __('en.welcome') }}

Hope it help others.