Page 1 of 1

matching language menutext in the URL

Posted: Sun Aug 31, 2008 12:14 am
by Jim_Bob
Hi,

I'm using the 1.41 MLE version of cmsmadesimple with 3 languages (de, en, fr, default=de)
with the "pretty URL" setting.

My question/ problem:
When I create a website in all 3 languages f.e. an article about "school", I fill in a separate
menutext for very language version, f.e. in german "Schule", in englisch "school" and in
french "ecole". Everything is shown correct in the menubar (in french "ecole" etc.), but
when I click the link in the menu, only the german menutext is shown in the URL, this means:

-> I'm in the french section, clicking "ecole" and expecting www.domain.xyz/fr/ecole.html
-> I'm in the german section, clicking "Schule" and expecting www.domain.xyz/de/Schule.html
-> I'm in the french section, clicking "school" and expecting www.domain.xyz/en/school.html

but I always get the www.domain.xyz/de/Schule.html URL in the addressbar of my browser.

Is there any possibility to show the matching language menutext in the URL?

Greetings
Jimbob

Re: matching language menutext in the URL

Posted: Sun Aug 31, 2008 7:37 am
by alby
Jim_Bob wrote: but I always get the www.domain.xyz/de/Schule.html URL in the addressbar of my browser.

Is there any possibility to show the matching language menutext in the URL?
No, because Schule is the alias page and not title page and alias is unique for every languages page (same of ID)

Alby

Re: matching language menutext in the URL

Posted: Sun Aug 31, 2008 8:48 am
by Jim_Bob
Hi Alby,

thank you for your reply.
Is there really no way to create additional content_alias fields for every language and deliver it to the URL?
This feature would be fine for SEO reasons. Maybe it is possible to take the menu_text_en, menu_text_fr
fields from the database for this.

Greetings
Jimbob

Re: matching language menutext in the URL

Posted: Sun Aug 31, 2008 9:14 am
by Dr.CSS
If you click a link that is supposed to be for one lang and you end up at another lang instead you have something messed up, do you have content in other lang pages, are you using some pretty url rule, in config.php or .htaccess?...

Re: matching language menutext in the URL

Posted: Sun Aug 31, 2008 9:39 am
by Jim_Bob
Hi Mark,

thank you for your reply.
That is not my problem (if I understand you right). If I click the english-link "school" I get
the correct and matching content - same for the other languages. Everything is working fine.
But i don't get the (language-) matching sitename in the URL depending on the menu entries
of every language.
I understand - ALBY told me - that the content_alias field in the database is responsible for
the sitename that is shown in the URL.

My question:
Is it possible to create and to use an additional content_alias for every language or maybe the
menu_text_ ... entries for that ? This could be very interesting for SEO reasons.

Greetings
Jimbob

@ALBY:
Can you tell me the files where the content_alias is evaluated.

Re: matching language menutext in the URL

Posted: Sun Aug 31, 2008 7:08 pm
by alby
Jim_Bob wrote: Can you tell me the files where the content_alias is evaluated.
In everywhere  ::)

Jim_Bob wrote: Is it possible to create and to use an additional content_alias for every language or maybe the
menu_text_ ... entries for that ? This could be very interesting for SEO reasons.
I ask to Ted to implement it in 2.0

Alby

Re: matching language menutext in the URL

Posted: Sun Aug 31, 2008 7:24 pm
by Jim_Bob
Hi Alby,

thank you very much for your response.
I think this would be a great feature in the coming version.

greetings
Jimbob