Skip to content

json translations not working #10

@X-Coder

Description

@X-Coder

Do translation files like modules/modulename/resources/lang/de.json (loaded by ModuleProvider->boot $this->loadJSONTranslationsFrom) work for you?

I can't get any translations like __('Hello world') in module's blade files and routes to work. No error, but it just won't translate for me.

Translations loaded by loadTranslationsFrom works fine, so just the json ones don't.

Any idea how I could get the json translations to work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions