I did a fresh install of Drupal Commons with the languages Dutch and French enabled. Dutch is default language while English has been deactivated.

In the Dutch interface, the URL for 'My account' is: http:///nl/gebruiker
In French it is: http:///fr/utilisateur

Drupal Commons does not recognize these pages and produces a 'Page not found' message.

It is possible to access http:///nl/user or http:///fr/user, but you have to modify the URL in the address bar.

How to best fix this?

Changing the link path in the view 'user_meta' from 'gebruiker' to 'user' does not work. No error messages are shown, but somehow the system does not allow to change the value to 'user'.

Comments

JBI’s picture

We had the same problem over there

arpas’s picture

I use "Localization client" module and i get the same error. But then I don't translate a string "user", problem dissapeared. So my solution is don't translate string "user"

pedrorocha’s picture

I have the same problem.

@arpas
i guess you agree that this is not a definitive solution, but a workaround, correct? If you need your site to be translated, the word "user" should be translated too.

The code aren't on Drupal.org, so i don't know how to make a patch. Anybody could help here?

paulap’s picture

Title: Wrong URL for 'My account' in multilingual Drupal commons site » Solution is simple - Use URL Alias

Hi!

Make a new URL alias - with the english word "user" as path and your native word (for instance "benutzer" - i speak german).

Voila...

wr

Gerald

ezra-g’s picture

Title: Solution is simple - Use URL Alias » Wrong URL for 'My account' in multilingual Drupal commons site
Status: Active » Postponed (maintainer needs more info)

Does this still happen with Commons 2.x?

japerry’s picture

Version: » 6.x-1.x-dev
Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (won't fix)

Cleaning up the queue. No longer applicable in 7.x-3.x and we're not fixing bugs in commons 6.x-1.x