What's new

Welcome to the forum 👋, Visitor

To access the forum content and all our services, you must register or log in to the forum. Becoming a member of the forum is completely free.

Change Part of Slug or URL string then Reload

samp12

New member
Joined
Oct 11, 2021
Messages
2
Reaction score
0
HTML Coins
0
I use squarespace and the lack of translation is shocking.But I did find a nice tutorial online, to create 2 nice flag buttons that take me to the home page of appropriate language and they also hide the menu items that are not in the right language.
I want to make this better but I am unsure how to do it as I do not have expert experience.
I would like to: Page is in english, I click on 2nd laguage, it would get and change the slug instead of : en/home/ it would convert it to hu/home and it would then load the new page, so it would do this for every page, and every page has the same slug .../en/page2 and a seccond .../hu/page2. Right now when I click on the 2nd language it takes me only to the language homepage.
Or maybe easier to edit the URL instead, how to get the .../en/... part and modify it to .../hu/...
CODE SCREENSHOT
Is this possible?
Many thanks.
 

Theme customization system

You can customize some areas of the forum theme from this menu.

  • Wide/Narrow view

    You can control a structure that you can use to use your theme wide or narrow.

    Grid view forum list

    You can control the layout of the forum list in a grid or ordinary listing style structure.

    Picture grid mode

    You can control the structure where you can open/close images in the grid forum list.

    Close sidebar

    You can get rid of the crowded view in the forum by closing the sidebar.

    Fixed sidebar

    You can make it more useful and easier to access by pinning the sidebar.

    Close radius

    You can use the radius at the corners of the blocks according to your taste by closing/opening it.

  • Choose the color combination that reflects your taste
    Background images
    Color gradient backgrounds
Back