Issue 2410 - an implementation to internationalize ldap tools by gettext
Summary: an implementation to internationalize ldap tools by gettext
Status: VERIFIED FEEDBACK
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: contrib (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-30 09:03 UTC by taru@valinux.co.jp
Modified: 2021-08-03 17:47 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description taru@valinux.co.jp 2003-03-30 09:03:23 UTC
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

Comment 1 Kurt Zeilenga 2003-03-31 16:52:37 UTC
changed notes
changed state Open to Suspended
moved from Incoming to Contrib
Comment 2 taru@valinux.co.jp 2003-04-01 06:29:17 UTC
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>

Comment 3 Kurt Zeilenga 2003-04-05 19:09:13 UTC
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>

Comment 4 Kurt Zeilenga 2003-04-06 19:03:07 UTC
changed notes
Comment 5 Kurt Zeilenga 2003-04-06 19:03:08 UTC
changed state Suspended to Feedback
Comment 6 Kurt Zeilenga 2003-04-06 19:03:19 UTC
moved from Contrib to Software Enhancements
Comment 7 Kurt Zeilenga 2003-06-01 10:20:45 UTC
moved from Software Enhancements to Contrib
Comment 8 OpenLDAP project 2014-08-01 21:03:26 UTC
portions committed.