Skip to content

Use regex in path to match subdirectory? #239

@zd-project

Description

@zd-project

Looks like the loadPath only accepts string or lookup function and the interpolator only populates language and namespace option. There seems not to be a way to match files in subdirectory via regex. I'm wondering how to elegantly handle look up in subdirectories since I would like to organize my translation files into subdirectories rather than putting them all into one big directory.

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