[drupal-devel] [bug] make standard roles translatable

Cvbge drupal-devel at drupal.org
Tue Aug 9 20:01:05 UTC 2005

Issue status update for 
Post a follow up: 

 Project:      Drupal
 Version:      cvs
 Component:    user system
 Category:     bug reports
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  stefan nagtegaal
 Updated by:   Cvbge
-Status:       patch (code needs review)
+Status:       patch (code needs work)

Ok, this won't work, because roles are selected from db when put on

The only way I see to solve this (although it's still not clean) is to
a) make default roles editable (so user can change the 'anonymous user'
to something else), but not deletable
b) make sure anon user and auth user have static id
c) do not check in code for name, but for role id

Need to think about it...


Previous comments:

Sun, 01 Feb 2004 18:03:37 +0000 : stefan nagtegaal

There are several things that would need to be fixed before we are going
to release drupal 4.4. One of that is proper translation..

- The basic roles 'Anonymous user'/'Anonymous' & 'Authenticated user'
aren't translatable on the following places (admin >> users / admin >>
users >> roles / admin >> users >> permission / )


Fri, 23 Jul 2004 17:19:35 +0000 : killes at www.drop.org

Changing title.


Wed, 06 Oct 2004 09:53:48 +0000 : stefan nagtegaal

This is still a problem.. The default roles 'Anonymous user' and
'Authenticated user' can not be translated.


Wed, 06 Oct 2004 12:55:38 +0000 : Axel

But why this bug is critical? Drupal works on such manner long time.
This bug don't prevent Drupal to work. I think priority of this bug
must be set as 'normal', but not 'critical'.


Wed, 03 Nov 2004 18:53:46 +0000 : com2

I would say either committed to multilingual / localization or not.
Calling it a feature seems to say "translation has a low priority".
When that is the case, why all the trouble to localize? Jus drop
localization and make life easier! 

All depends on the chosen concept of Drupal. If you choose Drupal to be
multilingual / localized, then this is definitely is a bug. You cannot
expect a non-english speaker to understand these special users. 

What happens when I just translate them in table /role/? Would it break


Wed, 04 May 2005 13:48:34 +0000 : schalker

As I can tell, standard roles still can not be translated. Is this
correct? Is there a work-around or some plan to implement this? 

I'd agree with the former poster com2 that this is more a bug than a
feature request: I love the locale module, but I cannot see a reason
why almost everything is translateable, but not the standard roles. If
there is no reason for this behaviour /from a  user-point-of-view/,
then this is a bug, I'd say.


Wed, 04 May 2005 14:05:33 +0000 : schalker

Sorry, it's me again. I searched on and on to find a similar bug report,
but I haven't found one. So as two people think this is a bug, I change
the category of this issue back to "bug report".


Tue, 09 Aug 2005 19:40:42 +0000 : Cvbge

Attachment: http://drupal.org/files/issues/translate_default_roles.diff (1.84 KB)

Patch not tested, but it's quite simple. I'd like to hear some thoughts
about t()ing default roles (anonymous and authenticated user).

More information about the drupal-devel mailing list