Jump to content

Language switch doesn't work


sgpcreativa
 Share

Recommended Posts

Hi, i've a strange problem and after hours i decide to write here.

I have a working site with processwire updated to the latest version, set in two languages and it has been running quietly for a year. Now I have to add a language and I don't understand why I can't make it go!

I added the language in the "languages" menu, I added a translation to the language code present in my _main.php (it, translated in en in the english version and obviously in fr in the new french version) and I also have change the url of the homepage on the page, adding the french version.

Everything worked correctly on a twin site afterwards. Not here!
The language switcher links correctly the urls of the translated pages (www.site/fr/xxx), but when I click I see the English version of the page (the default language is Italian) with an address in the browser bar of this type:  www.site.it/en/xxx/?it=fr/xxx/   (xxx is the same).

I checked any language options, looked at language references in the templates, etc, but I'm starting to think that something is corrupted at the database level.

What are you saying? Thank you guys

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...