Problem with translation in ASP.NET Core via ASP.NET Core localization in _Layout.cshtml

I am trying to learn programming in ASP.NET Core by making simple programs, but I got stuck with translating some parts of texts by using a localization feature.
For example, I created Resources and folders with all needed resource files with translated words and phrases. For _Layout.cshtml i created Resources -> Views -> Shared -> _Layout.en.resx and _Layout.fr.resx

Retrieve user Token contained in Client Header in Web API C#

I’m using Entity framework with JWT token generator in my web API.
Every controller is [Authorize] in order to prevent not authorized api calls.
So, when the client calls the api, it sends an header containing the token in order to be evaluated.
Is there a possible way to read this token? It contains an information regarding a company user value and it is necessary in order to define the correct database.