I created a custom node and want to create a custom theme. I know that I can create a node-mycustomnode.tpl.php in the theme section but I want to use a theme_xxx() function so that I can keep all the code in the module directory instead of the theme directory,
My first thought was to use theme_node-customnode() which of course fails because '-' are not allowed in function names.
I have been using i18n for a while now and it works really good. Agreed, it is confusing at times, but has helped me a lot.
Now however, my nodes (recipes) suddenly won't translate anymore. If you switch language while viewing the node, n stays the same instead of switching. I checked and the translated node exists, but isn't displayed. The site is http://www.raw-vegan.org if you want to see.