1.
2.
This function outputs the most basic path, meaning: node/
i18n_get_normal_path takes a path alias as an argument.
3.
This combination is extremely useful. It allows us to create a link to a page in another language. Example:
4.
Note: This function will not retrieve the alias of the German translation. To do so, you need to know the nid of the German translation. Suppose it's node/11, then you could call i18n_path('node/11','de'); which would return "de/internationalization-i18n-funkcionen".
5. What if you needed a path without a language prefix?
One way would calling i18n_path('node/9',''). The only shortcoming of this solution is the slash in front. But to find a solution to this problem, it is enough to have a look at how i18n_path is defined.
We can see that good old drupal_lookup_path() will do the magic.