jDiction Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

jDiction 2.2.0 released. http://jdiction.org/downloads

Author Topic: Translating aliases  (Read 12671 times)

zorza

  • Newbie
  • *
  • Posts: 7
    • View Profile
Translating aliases
« 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.
« Last Edit: February 26, 2014, 08:45:37 pm by zorza »
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Translating aliases
« Reply #1 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.
Logged
Joomla! 5.0 Release Manager
Vote at JED

zorza

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Translating aliases
« Reply #2 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?
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Translating aliases
« Reply #3 on: February 26, 2014, 09:40:42 pm »

seams you fixed it?
Logged
Joomla! 5.0 Release Manager
Vote at JED

zorza

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Translating aliases
« Reply #4 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...
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Translating aliases
« Reply #5 on: February 27, 2014, 08:04:26 am »

I will try to find the problem
Logged
Joomla! 5.0 Release Manager
Vote at JED

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Translating aliases
« Reply #6 on: March 02, 2014, 07:13:21 pm »

hmm on my local test site there is no problem with this...
Logged
Joomla! 5.0 Release Manager
Vote at JED