Translated nodes don't

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
drupalfan81's picture

I have come across something strange that I am hoping this group knows how to fix. I have path alias enabled on my site which creates unique paths depending on the type of node and fields selected.

So the URL for one of my nodes would look something like this: http://www.sitename.com/europe/listing/united-kingdom/food-drinks/1869/defectors-weld-london

That would be the English page, and if I had a translated version of that node, it would look like this:

http://www.sitename.com/zh-hant/europe/listing/united-kingdom/food-drinks/1880/defectors-weld-london

Now both of these work. But here is where things aren't working. Let's say I just load up the sitename.com/node/(nid), so for these I would do this:

www.sitename.com/node/1880
www.sitename.com/node/1869

Node 1880 is the Chinese Traditional one and 1869 is the English one. For some reason Drupal will convert the url for the 1869 one to the URL alias path. So the browser will load this:

http://www.sitename.com/europe/listing/united-kingdom/food-drinks/1869/defectors-weld-london
after the user enters sitename.com/node/1869.

But if the user types in his/her browser sitename.com/node/1880, the Chinese one, it will just simply load the page with www.sitename.com/node/1880 in the browsers URL bar. It does not identify it having a path alias and switching it to that format. This causes me problems because I have blocks loading on the left and right side of my node content based on the URL path. So this will give the user the appearance that the website is broken as it will look funky compared to the rest of the site.

Any idea why this happens?