Skip to main content

Svar på kommentar

What about Drupal 6?

Thanks for your interesting post.
I am actually working on a multi-langual website with Drupal 6.13, i18n and pathauto. I noticed that the module token now gives us the token [language] for the current node.

I tried the following in pathauto :
[language]/blog/[yyyy]/[mm]/[dd]/[title-raw]

You said that i18n is able to notice that the URL alias already contains the language. Was that with Drupal 5? Did you have to do something special in the settings?

On my installation, I get :
www.mysite.com/en/en/blog/2009/07/29/my-page-title

I really don't know what to do to solve this problem!

Has anybody got a tip?

Svar

Indholdet af dette felt er privat og bliver ikke vist offentligt.
  • Web- og e-mail-adresser omdannes automatisk til links.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <pre>
  • Linjer og afsnit ombrydes automatisk.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <pre>. The supported tag styles are: <foo>, [foo]. PHP source code can also be enclosed in <?php ... ?> or <% ... %>.
  • Images can be added to this post.

Yderligere information om inddataformater