Skip to content

multiple pages in an app using same translations #32

@mvolkmann

Description

@mvolkmann

Description

If I understand correctly, when an app has multiple pages that use app-localize-behavior, each one needs to specify the language and call this.loadResources to load a translation file. I want to specify the language once for every use of app-localize-behavior in my app and call this.loadResources once.

Expected outcome

I can specify the language and the path to the translation file once and all uses of app-localize-behavior take advantage of those.

Actual outcome

I have to specify these things in every usage of app-localize-behavior.

Browsers Affected

all

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions