Skip to content

Translation does not work because request is not sent from C# controller to Angular #350

Closed
@dobrinsky

Description

@dobrinsky

Hi,

I am really struggling for a week now and I do not know what I am doing wrong. I am trying to combine your template with one of mine. I managed to get it done and make the app start with no errors, but the translation does not work.

In the html I get only the json tokens, but not what is in the json files(e.g. HOME_FEATURE_LIST_TITLE, not "What does this Starter offer?").

The problem is that I get "cannot read property "request" of null" in temporary-aspnetcore-engine.ts for

{
provide: REQUEST,
useValue: options.request.data.request
}

I really don't know what I am doing wrong. Can you please help me?

My project is here https://github.com/dobrinsky/AngularDefault

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions