• Resolved randon

    (@randon)


    Hi

    I have a multi-language site.

    I created multiple event categories: english, french…
    Each single event is linked to one event category (a language).

    My event list page:
    [vsel event_cat=”en”]

    In VSEL the events slugs are like this:
    domain/event/event-title
    domain/event/event-title2

    But the entire site is divided by language:
    domain/en/
    domain/fr/

    I would like to create this kind of URLs:
    domain/en/event/event-title (shown in the english language sector)
    domain/fr/event/event-title2` (shown in the french language sector)
    etc.

    How can I make the event URLs dynamic?

    • This topic was modified 4 years, 4 months ago by randon.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Guido

    (@guido07111975)

    Hi,

    VSEL uses the native permalink structure, if you don’t change the base via the General tab of the VSEL settings. So it should work the same as the native posts and categories. Guess creating event categories and events just for English and French language won’t work the way you want.

    Guido

    Thread Starter randon

    (@randon)

    Hi Guido,

    Thanks for your reply.

    There is no Language dropdown menu field in every single event (in EVENTS).

    The calendar software I used had a Language dropdown menu in every single event (in EVENTS).
    If I change the language and move with my mouse over the “view” option the url changes.. p.e.
    If I change the Language to French the url becomes

    domain/fr/event/event-title

    If I change the Language to English the url becomes

    domain/en/event/event-title

    How can I indicate the language of every single event in VSEL?

    Plugin Author Guido

    (@guido07111975)

    Hi,

    Which multi-language plugin do you use?
    Normally you can change language via the editor per individual event, with a language switch or button. But with some multi-language plugins you first need to activate multi-language for custom post types (events is a custom post type).

    Guido

    Thread Starter randon

    (@randon)

    Hi,

    I use Polylang.

    Randon

    Plugin Author Guido

    (@guido07111975)

    Hi there,

    Please check this article. Have you already done this?

    Guido

    Thread Starter randon

    (@randon)

    Yes!!

    Only the French translation “évènement” was clicked (calendar software).
    A new category has been added: “event”.
    I clicked it and now there is a language drop down menu. It works!

    Thank you very much Guido.

    Plugin Author Guido

    (@guido07111975)

    You’re welcome. Great you’ve solved it!

    Guido

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Dynamic URLs’ is closed to new replies.