Skip to main content

Reply to comment

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?

Reply

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <pre>
  • Lines and paragraphs break automatically.
  • 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.

More information about formatting options