I have a node with two languages defined. if i logged in as user and display the node i can see the language switching flags under the node content. This one adds to mich "pipes". As you can see here, there are two pipes next together. This is wrong and caused by i18n module. Additonal the pipe is not such high, as the flags are. see the attachment, please.
<div class="links"><a href="/drupal/index.php?q=en/node/13"><img src="/drupal/modules/i18n/flags/en.png" class="i18n-icon" width="16" height="12" alt="English" /></a> | | 246 Abrufe</div>
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | Drupal_i18n_Bug2.png | 477 bytes | marc.bau |
| Drupal_i18n_Bug1.png | 732 bytes | marc.bau |
Comments
Comment #1
marc.bauadditional, if a user is not logged in there is a pipe diplayed after the last flag, and nothing else, see the second screenshot, please.
Comment #2
jose reyero commentedIf you see the html, the two pipes are outside i18n links so I think they are placed there by some other module.
Please try disabling other modules...
Comment #3
marc.bauhm... it's some weeks ago, but i have found it in i18n code... but i cannot remember the line. i have no other modules active adding something to the links. i only see the page hits counter, comment link and i18n...
Comment #4
davemybes commentedThe line you're looking for is in the theme_i18n_link function i believe. However, I also don't think that its caused by i18n. The pipe characters are actually inserted by theme_links function in theme.inc (in the includes folder). I use i18n on several sites and have never seen that double pipe. What I have seen before is an extra one after all the links. If you theme the links function, you will have much control on how the links look, and you might be able to see where those extra pipes come from. To theme it, you need the following functions in template.php (I am including an extra function to theme the i18n links too, just in case):
Hope this helps you.
Comment #5
jose reyero commentedI can't find this issue in i18n module nor I've been able to reproduce it.
If someone can provide more details, feel free to reopen this bug.