How to get path to current node but of another language?
Available languages:
- English (URL prefix: en)
- Polish (default, no URL prefix)
Enabled detection methods:
- URL (by prefix)
- Session (parameter: language)
- Browser
- Default
I created translation of taxonomy and translations of some basic page nodes. However, none of the following codes work.
drupal_get_path_alias(null, 'en') drupal_get_normal_path('', 'en') drupal_get_path_alias('hardcoded-existing-path', 'en') url(current_path(), array('language'=>'en'))
How to make it work? All internalization modules are enabled.