KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

No Language selector at the login page? #3364

Open Eugene opened this topic on on Oct 25 - 4 comments

Eugene commented on Oct 25

Or Am I do anything wrong?

I added this to my App.php - some items was translated but no Language selector

protected function languages()
    {
        // Return list of available languages for your users
        return [
            EN::create(),
            ID::create(),
        ];
    }
Eugene commented on Oct 25

I tried to play with Login.View.php file

But if I add something like this to the form

<button class='btn btn-link px-0'
type='button' onclick="KoolReport.dashboard.app.changeLanguage('ID')">ID
</button>

I get the error

Message: Could not handle your request
Line: 106
File: /public_html/vendor/koolreport/dashboard/Page.php

#0: /public_html/vendor/koolreport/dashboard/Page.php Line 90 : actionLost(null)
#1: /public_html/vendor/koolreport/dashboard/Application.php Line 361 : handle(null)
#2: /public_html/vendor/koolreport/dashboard/Application.php Line 270 : handle(null)
#3: /public_html/src/public/index.php Line 9 : run(null)
KoolReport commented 6 days ago

Let me convey the case to dev.team.

Eugene commented 6 days ago

Ok. Thanks But please if it possible could you give me the working solution asap I cannot wait till the next update if you decide to change something in your login page.

Eugene commented 10 hours ago

hi, no news?

honestly speaking my solution works - it changes the language but generate an error. I think it is not so difficult to avoid this issue - just tell me how...

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
help needed

Dashboard