OpenLDAP
Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest

Viewing Contrib/2410
Full headers

From: taru@valinux.co.jp
Subject: an implementation to internationalize ldap tools by gettext
Compose comment
Download message
State:
0 replies:
2 followups: 1 2

Major security issue: yes  no

Notes:

Notification:


Date: Sun, 30 Mar 2003 09:03:23 GMT
From: taru@valinux.co.jp
To: openldap-its@OpenLDAP.org
Subject: an implementation to internationalize ldap tools by gettext
Full_Name: Masato Taruishi
Version: CVS HEAD
OS: Debian GNU/Linux
URL: ftp://ftp.openldap.org/incoming/Masato-Taruishi-030330.patch.gz
Submission from: (NULL) (219.160.85.89)


This patch enables OpenLDAP client tools to display messages in their national
langauge
with gettext(3). It includes Japanese EUC-JP po file. Basically, this patch
includes:

  * po/
     message catalogue
       - ja.po

  * client/tools/*.c
     marks for message translation.

  * client/tools/common.
     marks for message translation.
     new function tool_intl_init();

  * include/ldap_intl.h
     internal common header file for gettext

  * include/ldap_features.h.in
     adds #undef ENABLE_NLS

  * include/ldap_config.h.in
  * include/Makefile.in
     adds a hack for LDAP_LOCALEDIR

  * build/{install-sh,mkinstalldirs}
     needed for po/Makefile

  * configure.in
  * aclocal.m4
     AM_GNU_GETTEXT and so on.

     i invoked aclocal (1.4) to locate AM_GNU_GETTEXT into aclocal.m4.

TODO:

  * marks slapd, slurpd, and libldap message, too.
     - Currently, this patch uses only one domain 'OpenLDAP'. Therefore,
       /usr/share/locale/ja/OpenLDAP.mo is located now. Maybe, several domains
       may be needed for client tools, libldap and server daemons.

Best regards


Followup 1

Download message
Date: Tue, 01 Apr 2003 15:29:17 +0900
From: Masato Taruishi <taru@valinux.co.jp>
To: openldap-its@OpenLDAP.org
Subject: Re: an implementation to internationalize ldap tools by gettext (ITS#2410)
At Sun, 30 Mar 2003 09:03:27 GMT,
taru@valinux.co.jp wrote:

> URL: ftp://ftp.openldap.org/incoming/Masato-Taruishi-030330.patch.gz

Because the files which I modified in CVS HEAD are updated, some parts
of the patch are rejected. So I followed my patch today. Please use this
latest one

  ftp://ftp.openldap.org/incoming/Masato-Taruishi-0401.patch

This patch modifies or adds the following files:

ABOUT-NLS
ChangeLog
Makefile.in
aclocal.m4
build/config.rpath
build/install-sh
build/mkinstalldirs
build/top.mk
clients/tools/common.c
clients/tools/common.h
clients/tools/ldapcompare.c
clients/tools/ldapdelete.c
clients/tools/ldapmodify.c
clients/tools/ldapmodrdn.c
clients/tools/ldappasswd.c
clients/tools/ldapsearch.c
clients/tools/ldapwhoami.c
configure
configure.in
include/Makefile.in
include/ldap_config.h.in
include/ldap_features.h.in
include/ldap_intl.h
include/portable.h.in
po/ChangeLog
po/Makefile.in.in
po/Makevars
po/OpenLDAP.pot
po/POTFILES.in
po/Rules-quot
po/boldquot.sed
po/en@boldquot.header
po/en@quot.header
po/insert-header.sin
po/ja.po
po/quot.sed
po/remove-potcdate.sin

-- 
Masato Taruishi - VA Linux Systems Japan Inc. <taru@valinux.co.jp>
                - Debian Project <taru@debian.org>
                - Debian JP Project <taru@debian.or.jp>



Followup 2

Download message
Date: Sat, 05 Apr 2003 11:09:13 -0800
To: taru@valinux.co.jp
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: an implementation to internationalize ldap tools by
  gettext (ITS#2410)
Cc: openldap-its@OpenLDAP.org
I've committed l10n changes based upon your patch, namely
just a basic framework so that we can start marking which
text needs to be localized or must be preserved.  I didn't
commit your suggestions here as, at first glance, I saw
a few problems and need more time to review the changes.
I also didn't commit the gettext detection yet as this
requires some updating of our configure script.  Also,
I need to make sure everything will work with netbsd-gettext
as well, and that will time some additional cycles.
And, given the above, I didn't commit the po directory yet.

I'll follow up shortly with a post to devel which details
next steps in this area.

Regards, Kurt

At 10:29 PM 3/31/2003, taru@valinux.co.jp wrote:
>At Sun, 30 Mar 2003 09:03:27 GMT,
>taru@valinux.co.jp wrote:
>
>> URL: ftp://ftp.openldap.org/incoming/Masato-Taruishi-030330.patch.gz
>
>Because the files which I modified in CVS HEAD are updated, some parts
>of the patch are rejected. So I followed my patch today. Please use this
>latest one
>
>  ftp://ftp.openldap.org/incoming/Masato-Taruishi-0401.patch
>
>This patch modifies or adds the following files:
>
>ABOUT-NLS
>ChangeLog
>Makefile.in
>aclocal.m4
>build/config.rpath
>build/install-sh
>build/mkinstalldirs
>build/top.mk
>clients/tools/common.c
>clients/tools/common.h
>clients/tools/ldapcompare.c
>clients/tools/ldapdelete.c
>clients/tools/ldapmodify.c
>clients/tools/ldapmodrdn.c
>clients/tools/ldappasswd.c
>clients/tools/ldapsearch.c
>clients/tools/ldapwhoami.c
>configure
>configure.in
>include/Makefile.in
>include/ldap_config.h.in
>include/ldap_features.h.in
>include/ldap_intl.h
>include/portable.h.in
>po/ChangeLog
>po/Makefile.in.in
>po/Makevars
>po/OpenLDAP.pot
>po/POTFILES.in
>po/Rules-quot
>po/boldquot.sed
>po/en@boldquot.header
>po/en@quot.header
>po/insert-header.sin
>po/ja.po
>po/quot.sed
>po/remove-potcdate.sin
>
>-- 
>Masato Taruishi - VA Linux Systems Japan Inc. <taru@valinux.co.jp>
>                - Debian Project <taru@debian.org>
>                - Debian JP Project <taru@debian.or.jp>


Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest


The OpenLDAP Issue Tracking System uses a hacked version of JitterBug

______________
© Copyright 2013, OpenLDAP Foundation, info@OpenLDAP.org