Skip to content

Make slug parts translateable #15

Description

@deckerweb

Currently I have such URLs when using the faceted search:
search/keyword/aroma/type/product/

---> I would need that translated, in my case into German, then I would have the above as:

suche/schluesselwort/aroma/typ/product/

so, the following would need translation:
"search"
"keyword"
"type"

In this example above, I doubt that the post type ("product") could be made translateable too? Would be awesome, but I have no idea other than to use/map the lower case string of the singular post type label?!?

---> for me personally the tweaking via a language file (.pot/.po/.mo), or a filter would be enough. However I could also see some benefits for a global setting, or on a per widget basis, or via template tags.

What do you think?
Is it possible to implement that in the translation files and/or making those slug parts filterable?

Thanks!
-Dave :)

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