#1435 Internationalizing object_name and object_name_plural
Closed: Fixed None Opened 12 years ago by edewata.

The object_name and object_name_plural attributes are labels which should be translated. However, before they can be marked for translation using _( ), there are some issues that need to be addressed first.

  1. These attributes are used in messages that are not internationalized:

    • the member_param_doc in baseldap.py lines 1087, 1128, 1234, 1585, 1698
    • the 'member ' string in baseldap.py line 1099
    • the member_param_incl_doc in baseldap.py line 1344
    • the member_param_excl_doc in baseldap.py line 1345
    • the reverse_param_doc in baseldap.py line 1561

The above messages should be translated as well.

  1. The object_name_plural is also used in the error log which usually contains non-translated messages.

    • migration.py line 480

One solution is to log ldap_obj.name instead of ldap_obj.object_name_plural.


Metadata Update from @edewata:
- Issue assigned to edewata
- Issue set to the milestone: FreeIPA 2.1 - 2011/07

6 years ago

Login to comment on this ticket.

Metadata