Hi,
even it’s possible to work as you’re doing with the website in a folder fetched with localhost/folder/... honestly, you’ll spare a lot of hair creating a virtualhost on your local server you’ll fetch with
http://elj.dev for example
you’ll be in the same kind of configuration as on the distant server and everything, particularly when it comes to url rewriting will be easier to manage
two things about the problem you describe you’ll run into even in the manager when telling yams a new template is bilingual for example.
Have a look at your htaccess file, even when modx url rewriting is disabled, yams’ one work in order to interpret /fr/...
you must have a RewriteBase / at the top of it
when you use a subfolder (127.0.0.1/elj/) / equals 127.0.0.1/
you can try and change this with RewriteBase http://localhost/elj/ but, once more avirtualhost would solve this easily without having to change a line in the htaccess
the same for yams, nearly everything in yams is configured with $_SERVER[’SERVER_NAME’] which is... http://localhost in you case... what won’t help
believe me, set a virtualhost for your website, you’ll spare a lot of hair
Have swing