|
Ah yes, I see your reasoning. With MH’s extension, however, he had things set up so that linking to other languages remained intact; in fact, the language switching menu one would implement on a site used a URL-based method, but it was a temporary one. You’d have links to www.example.com/news/lang/_es/, for example, which would set the cookie to Spanish (ES) and put you right back on the www.example.com/news/ page, just with everything displayed in Spanish.
The search engine factor, however, is a good argument for URL-based language switching, one that hadn’t occurred to me. :p I’m sure there’s some way to work around it and have the best of both worlds… and when I figure out what that is, I’ll be sure and let you know. :p
As for the linking, we both missed something obvious, and you might want to update your add-on page with the info. The path.php has a “site_url” variable that is used when generating links using {url_title_path=“template_group/template”} (see here). If you specify that independently for each language, you can use {url_title_path} for links and they’ll work across all languages. :) Unfortunately, {comment_url_title_auto_path} still doesn’t work, since it doesn’t make use of the site_url variable, but that was always somewhat of an unintended use of that variable. :p
|