Skip to content

__h has strange behavior when he doesn't have the key  #485

@OfirKariv

Description

@OfirKariv

Hey guys,

While using __h to get all the translations on a certain key, when I am inserting an invalid key the result is a follow:

key: "test_key"

response:
[
"en-US" : "test_key",
"es-ES" : "test_key",
"fr-FR" : "test_key"
]

I wish there was a way to know your ,module didn't find any value for this key.

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