Jump to content

How to show pages in a different language than default? The Url segment?


sab
 Share

Recommended Posts

Hi, 

I have two languages on my website. First is default and the next is English (with the name en). Before reinstalling a new version of Processwire, I used to access all of the pages including the home page by simply adding the name of the language after the page url. 

www.myurl.com/en would show everything in English (Multilingual field contents).

Now I get 404.

Please advise me.

Thanks!

Link to comment
Share on other sites

thanks, but i have all of them installed already.

Previously, i had this code creating a role on a file and i created the same user twice and i get this error related to it. After removing the code, i started getting the next one which is this one.

Link to comment
Share on other sites

Got it! You were right! I had to:

Once the Language Support Page Names module is installed, go and edit your homepage and click on the settings tab.  

And I changed it to "en" and it solved the problem. I'm learning Processwire. So, forgive me if I'm bombarding this forum with too many questions. I feel like I've got all the answers I needed for the major part of my website.

Thank you, everyone! :)

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...