I would just like to point to the fact, that a simple language switcher based on a current URL query is not applicable in every situation.
Right now I’m developing a multi-language website that’s integrated with Facebook. See where I’m going with this?
I’m in need of a function that would let me output a permalink to only the base language version of a post, for use in the loop (ie. front page recent posts list), so the Facebook likes and comments don’t get separated between different language permalinks.
Any edits you’d suggest?