Skip to content

Using i18n in helper/utils #1415

@kelbertpaul

Description

@kelbertpaul

Hi everyone,

I'm trying to use i18n inside a helper :
image

but I got this error :
Cannot read properties of undefined (reading '$t').

I did try to import the plugin to refer to it but it doesn't seem to work neither ...

Here is the architecture of my project in case I did something wrong.

image

Thanks for you help.

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