with I18N: the side-name(s) for the startpage(s) not delivered - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: with I18N: the side-name(s) for the startpage(s) not delivered (/showthread.php?tid=3739) |
with I18N: the side-name(s) for the startpage(s) not delivered - Belletage - 2012-10-30 Hi, I have a three-language page and a ml-problem and questions to the URLs: 1. the startpages always ends up with a single .html-extension like: -domainname.tld/.html (Forbidden, blank side) -domainname.tld/en/.html (works but doesn´t feel good) -domainname.tld/404.html (Oops! ...) ... how I get rid oft these .html's?? Or I set an 'index' before it?? ------------------- about my settings: for the .htaccess I used, based on yurifanboy, this http://get-simple.info/forums/showthread.php?tid=2537&highlight=multilanguage Code: RewriteCond %{REQUEST_FILENAME} -f [OR] I´m using userfriendly Url´s and Code: %nondefaultlanguage%/%slug%.html for switching language, I use this in the template.php Code: <a href="<?php echo htmlspecialchars(return_i18n_setlang_url('en')); ?>">english</a><br /> best, Bell. RE: htaccess delivers for the startpage only the file extension ... - Belletage - 2012-10-31 so, the situation: it seems to be not a multilanguage-GS-Problem nor an .htaccess-Problem, but an I18N-Problem, that brings with my GS-Configuration, with %nondefaultlanguage%/%slug%.html, out of Code: get_i18n_navigation(return_page_slug(FALSE),0,5); Code: return_i18n_setlang_url('en'); but leaves it empty, so that there is just an slug/.html output possible. right? Bell. RE: with I18N: the side-name(s) for the startpage(s) not delivered - Belletage - 2012-11-01 well! it takes a bunch of my seconds, but: I got it i18n_base/frontend.class.php, at the end of the function PHP Code: private static function getFancyLanguageUrl($slug, $parent, $lang=null, $type='full') { regards, Bell. |