Community & Support

Theme breaks language links

I've got a multi-language site working with the Garland theme, but when I attempt to use a different theme, my language links break. They just don't include the language code in the link. Obviously the theme is interfering with the links generated, but I'm new to themes, and not sure where to look to fix it.

Garland - see how "sr" is in the href of the link.

<ul class="links inline">
<li class="node_translation_sr first"><a href="/sr/node/10" title="Биографија" class="translation-link">Српски</a></li>
</ul>

Amor Azul - see how the link is a naked one to node 10, and also missing some other metadata about the anchor.

<ul class="links inline">
<li class="first node_translation_sr"><a href="/node/10">Српски</a></li>
</ul>

So when we reach node 10 (the translation), it appears in the right language, but the menus are all in english, because the language is incorrectly set to "en".
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en" dir="ltr">

As I say - garland is fine, so what are the hooks/callbacks/whatever in a theme that affect the content of the translation link hrefs?

If there's a better forum to post this question, please do point me at it.