Skip to content

Overriding registerRoutes (for multilingual support, etc.) #22

@greatislander

Description

@greatislander

I'm looking at Arcanist for a project which needs to create multilingual routes to support different locales. For example, I'd need something like:

/en/forms/profile/1/about-me
/fr/formulaires/profil/1/a-propos

Is there a way to override the default registerRoutes method to handle multilingual routes? My project uses Laravel Multilingual Routes, but I think any solution to this use case in Arcanist should be as agnostic as possible. Perhaps an option might be to allow an integrator to bypass Arcanist's automatic registration of routes and document the process for creating all necessary routes independently in a routes/arcanist.php file or something like that.

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