Thread Rating:
  • 3 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Support for multilanguage sites, Internationalization (I18N)
Quote:One more suggestion, it's easy to implement.

It has to do with having all pages in default language displayed without the language prefix while translated versions of those pages do get the language prefix

Quote:$deflang = return_i18n_default_language();

if ($lang != $deflang) {
$plink = str_replace('%language%', $lang, $PERMALINK_ORIG);
} else {
$plink = str_replace('%language%/', '', $PERMALINK_ORIG);
}

I had a very similar problem with dizarter.

From the SEO point of view, must agree that default language index page should look like www.domain.com not www.domain.com/en/

I was upgrading a site from static to GetSimple powered and transposing the existing multilanguage ULRs to I18N plugin.

The site allready has PR2 on mainpage domain , and redirecting the frontpage http://www.pensiuneahanna.ro/ to http://www.pensiuneahanna.ro/ro/ (romanian as default language) was risky with google SR and PR.

I think that default language index page should be treated exactly like GetSimple does, it is left with no parameter.

The "auto" language based on user preferences and session vars, is NOT Seo friendly, unfortunately.

I had to hack getFancyLanguageUrl() function to make my ulr look like old urls. (witch I am not happy with)

And Last:
It is a god practice (a must SEO practice) that on multilanguage sites, to use multilanguage slug urls.
Using slug to identify coresponding pages, makes this imposible. It would be a chalange to find a solution to this.

I know this sounds somehow "demanding" but I have noticed that you are realy preoccupied with I18N system, and the plugin is realy so perfect, that it's a pity to neglect the fancy url / slugs.

Best regards
Reply


Messages In This Thread
rewrite language problem - by tomkop - 2013-03-27, 06:34:44
Enhancement suggestion - by hameau - 2013-05-12, 04:17:12
Enhancement request - by hameau - 2013-06-14, 20:02:07
RE: Enhancement request - by mvlcek - 2013-06-14, 22:04:12
RE: Enhancement request - by hameau - 2013-06-14, 23:01:36
Duplicate language cookies bug - by enzy - 2013-08-20, 07:03:26
RE: Duplicate language cookies bug - by ohayo - 2013-08-20, 18:12:25
Plugin is not shown - by tosho - 2013-09-15, 12:10:37
1000 pages limit in i18n_navigation - by titus - 2014-10-13, 21:58:36
Bug found - by lbarsov - 2014-10-17, 03:41:53
Menu with picture - by Dimi - 2015-04-28, 16:05:45
Rendering Menu in Component - by Alexander_ - 2016-05-04, 23:06:51
Meta desc for different languages - by Alexander_ - 2017-02-14, 20:29:32
Hierarchical Menus - by celextel - 2019-07-26, 16:41:47
Ri18n_navigation - by celextel - 2021-02-19, 16:07:48
Support for multilanguage sites, Internationalization (I18N) - by tazmandev - 2011-09-28, 10:48:49



Users browsing this thread: 6 Guest(s)