<![CDATA[ [Tutorial] Multilingual Websites with MODx (improved version) - My Forums]]> https://forums.modx.com/thread/?thread=50973 <![CDATA[Re: [Tutorial] Multilingual Websites with MODx (improved version)]]> https://forums.modx.com/thread/50973/tutorial-multilingual-websites-with-modx-improved-version?page=13#dis-post-416948 randall Mar 21, 2012, 10:10 AM https://forums.modx.com/thread/50973/tutorial-multilingual-websites-with-modx-improved-version?page=13#dis-post-416948 <![CDATA[Re: [Tutorial] Multilingual Websites with MODx (improved version)]]> https://forums.modx.com/thread/50973/tutorial-multilingual-websites-with-modx-improved-version?page=13#dis-post-299007 I think was just a localhost problem, that i would like to solve anyway!
Some ideas?]]>
dscvr Jun 11, 2011, 01:19 PM https://forums.modx.com/thread/50973/tutorial-multilingual-websites-with-modx-improved-version?page=13#dis-post-299007
<![CDATA[Re: [Tutorial] Multilingual Websites with MODx (improved version)]]> https://forums.modx.com/thread/50973/tutorial-multilingual-websites-with-modx-improved-version?page=13#dis-post-299006 Quote from: sottwell at Jun 11, 2011, 03:31 PM

Turn off Friendly URLs and see if it works then. Also check out what URL you need to enter to get a plain index.html file. On localhost, it might be http://localhost/... or it might be http://127.0.0.1/...

Are you using an Apache web server? If you’re using IIS or some other web server, the .htaccess file won’t work.
EasyPHP include an Apache webserver and use http://127.0.0.1/

Without Friendly URLs it works i think: i see the "minimal template" with the output of [[LanguageChooser]], no navigation and the output of [*content*]; i can switch language and the content change.. but there is no navigation!]]>
dscvr Jun 11, 2011, 11:05 AM https://forums.modx.com/thread/50973/tutorial-multilingual-websites-with-modx-improved-version?page=13#dis-post-299006
<![CDATA[Re: [Tutorial] Multilingual Websites with MODx (improved version)]]> https://forums.modx.com/thread/50973/tutorial-multilingual-websites-with-modx-improved-version?page=13#dis-post-299005 http://localhost/... or it might be http://127.0.0.1/...

Are you using an Apache web server? If you’re using IIS or some other web server, the .htaccess file won’t work.]]>
sottwell Jun 11, 2011, 10:31 AM https://forums.modx.com/thread/50973/tutorial-multilingual-websites-with-modx-improved-version?page=13#dis-post-299005
<![CDATA[Re: [Tutorial] Multilingual Websites with MODx (improved version)]]> https://forums.modx.com/thread/50973/tutorial-multilingual-websites-with-modx-improved-version?page=13#dis-post-299004 Quote from: sottwell at Jun 11, 2011, 12:49 PM

Is it in the root (www) folder, or is it in a subfolder (/modx)? If it’s in a subfolder you need to edit the RewriteBase line from / to /foldername.

Did the site work at all before setting up the multilanguage system? Does the Manager work?
I’m starting building this site in two languages and the manager works fine.

Is not in the root folder but in a project subfolder.. I have edited the RewriteBase line of .htaccess but it doesn’t work yet!]]>
dscvr Jun 11, 2011, 08:05 AM https://forums.modx.com/thread/50973/tutorial-multilingual-websites-with-modx-improved-version?page=13#dis-post-299004
<![CDATA[Re: [Tutorial] Multilingual Websites with MODx (improved version)]]> https://forums.modx.com/thread/50973/tutorial-multilingual-websites-with-modx-improved-version?page=13#dis-post-299003
Did the site work at all before setting up the multilanguage system? Does the Manager work?]]>
sottwell Jun 11, 2011, 07:49 AM https://forums.modx.com/thread/50973/tutorial-multilingual-websites-with-modx-improved-version?page=13#dis-post-299003
<![CDATA[Re: [Tutorial] Multilingual Websites with MODx (improved version)]]> https://forums.modx.com/thread/50973/tutorial-multilingual-websites-with-modx-improved-version?page=13#dis-post-299002 Quote from: sottwell at Jun 11, 2011, 04:44 AM

Did you enable Friendly URLs in the MODx configuration, but forget to rename the ht.access file in your web root folder to .htaccess?
Friendly URLs enabled and .htaccess renamed... I’m running it on localhost with EasyPHP, could this be the problem?]]>
dscvr Jun 11, 2011, 07:36 AM https://forums.modx.com/thread/50973/tutorial-multilingual-websites-with-modx-improved-version?page=13#dis-post-299002
<![CDATA[Re: [Tutorial] Multilingual Websites with MODx (improved version)]]> https://forums.modx.com/thread/50973/tutorial-multilingual-websites-with-modx-improved-version?page=13#dis-post-299001 sottwell Jun 10, 2011, 11:44 PM https://forums.modx.com/thread/50973/tutorial-multilingual-websites-with-modx-improved-version?page=13#dis-post-299001 <![CDATA[Re: [Tutorial] Multilingual Websites with MODx (improved version)]]> https://forums.modx.com/thread/50973/tutorial-multilingual-websites-with-modx-improved-version?page=13#dis-post-299000
This is my first developing attempt with MODx after i "met" it used on a website that i have managed for some months.

After some hours spent on Google, i have opted for your multilingual solution.

I have followed your tutorial step by step, but when i open my homepage it displays a 404 page and i can’t figured out why!

Where i’m wrong?
Thanks in advance]]>
dscvr Jun 10, 2011, 01:02 PM https://forums.modx.com/thread/50973/tutorial-multilingual-websites-with-modx-improved-version?page=13#dis-post-299000
<![CDATA[Re: [Tutorial] Multilingual Websites with MODx (improved version)]]> https://forums.modx.com/thread/50973/tutorial-multilingual-websites-with-modx-improved-version?page=12#dis-post-298999
edit: found answer...

in the "language" snippet, add the following line after << setcookie("LanguageID",$up ... >>
$_COOKIE['LanguageID'] = $up;

this way we can use the new value assigned to the cookie without a page reload.

In the "LanguageChooser" snippet, add the following to the array:
"excludeDocs"=>$_COOKIE['LanguageID']





]]>
garolou Feb 05, 2011, 12:19 PM https://forums.modx.com/thread/50973/tutorial-multilingual-websites-with-modx-improved-version?page=12#dis-post-298999