snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Incorrect language switching

Open UserGoodtm opened this issue 5 years ago • 4 comments

Please confirm you have done the following before posting your bug report:

Describe the bug Incorrect language switching

To Reproduce I switched the language of my profile from Russian to English, but in some places the Russian language remained. For example, in the dashboard and in the Activity Report. The language has not changed in the "Action" column. Switching the language in global settings didn't help either.

Expected behavior Initially, the system is in English. It usually happens that some things are not translated into other languages, but that the additional language in the menu does not return to the default language after switching, this is the first time I see this.

Screenshots 1

UserGoodtm avatar Feb 26 '21 19:02 UserGoodtm

We are running that phrase through the translator methods, so my guess would be that those strings haven't been translated yet.

public function actionType() {
        return mb_strtolower(trans('general.'.str_replace(' ', '_', $this->action_type)));
}

snipe avatar Feb 26 '21 19:02 snipe

Also, please specify the version of Snipe-IT you're using with your GH issues moving forward. It makes it very difficult to figure out what might be happening if we don't have that info. That's why we have issue templates.

snipe avatar Feb 26 '21 19:02 snipe

My apologies Snipe-IT version v5.1.2 build 5847 (g00a7c1e9e) Software License AGPL3 PHP Version 7.3.22 Laravel Version 6.20.16

UserGoodtm avatar Feb 26 '21 20:02 UserGoodtm

@bzeus - when you're back, can you try to reproduce this please?

snipe avatar Feb 26 '21 20:02 snipe