sgpcreativa Posted March 6, 2020 Share Posted March 6, 2020 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 More sharing options...
sgpcreativa Posted March 6, 2020 Author Share Posted March 6, 2020 As i thought, there was something strange. I tried a new fresh install and i put a custom site profile with my site backup and now it works like a charm! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now