jDiction Forum

English => Install & Configure jDiction => Topic started by: zorza on February 26, 2014, 08:41:06 pm

Title: Translating aliases
Post by: zorza on February 26, 2014, 08:41:06 pm
I'm trying to translate the aliases for the menu items along the titles and for some reason I cannot make it work.
When there is no translation for the alias, the site runs smoothly on every language. But when I type an alias translation, I get 404 when I click this manu item on the translated webpage.

Examples:
alias not translated: http://interclick2.home.pl/projekty/steps/en/stopki-damskie-bezowe
alias translated: http://interclick2.home.pl/projekty/steps/en/black

I'd be very grateful if someone could help me with this.


Check info:
Joomla 3.2.2
Jdiction 1.0.1
    JDiction Plugin is enabled
    Languagefilter is enabled
    jDiction Database Driver is selected
COM_JDICTION_CHECK_TEST_LANGUAGE - Seam to be good
COM_JDICTION_CHECK_TEST_MODULE - Module is enabled
 It seams that there a no common mistakes.
Title: Re: Translating aliases
Post by: Harald Leithner on February 26, 2014, 08:43:32 pm
alias handling is not tested very well, so its only experimental, but if you use only latin lowercase characters without space only with dash it should work.
Title: Re: Translating aliases
Post by: zorza on February 26, 2014, 08:48:20 pm
Wow, that was fast reply:)

Anyway, as you see the alias is as simple as it could ever be - just "black", and it doesn't work.
Is there something I could try and do to make this experimental function work on my site?
Title: Re: Translating aliases
Post by: Harald Leithner on February 26, 2014, 09:40:42 pm
seams you fixed it?
Title: Re: Translating aliases
Post by: zorza on February 26, 2014, 10:18:20 pm
Yeah, I kinda fixed it, but it's very strange and I think it may be some kind of bug.

As it turned out only those aliases that were translated into a single word displayed 404 when opened.
But if the alias is translated with a hyphen - it magically starts working.
For example http://interclick2.home.pl/projekty/steps/fr/blanc wasnt working, but http://interclick2.home.pl/projekty/steps/fr/blanc-fr is working just fine!

So I put hyphens into all the translations of aliases and now it seems to be working all right.
Very strange though...
Title: Re: Translating aliases
Post by: Harald Leithner on February 27, 2014, 08:04:26 am
I will try to find the problem
Title: Re: Translating aliases
Post by: Harald Leithner on March 02, 2014, 07:13:21 pm
hmm on my local test site there is no problem with this...