Internationalizing user interface

Petr Pisar <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
Hello,

I notice Dillo is in English only, so I prepared an example how to
internationalize the code using gettext.

The initial patch is quite huge due to standard m4 macros supporting the
gettext configuration:

 ABOUT-NLS              |  1282 ++++++++++++++++++++++++++++++++++++++++++++++++
 Makefile.am            |     6 +-
 config.rpath           |   690 +++++++++++++++++++++++++
 configure.ac           |     3 +-
 m4/gettext.m4          |   401 +++++++++++++++
 m4/iconv.m4            |   268 ++++++++++
 m4/lib-ld.m4           |   119 ++++
 m4/lib-link.m4         |   777 +++++++++++++++++++++++++++++
 m4/lib-prefix.m4       |   224 ++++++++
 m4/nls.m4              |    32 +
 m4/po.m4               |   452 ++++++++++++++++
 m4/progtest.m4         |    91 +++
 po/Makefile.in.in      |   453 ++++++++++++++++
 po/Makevars            |    53 +
 po/POTFILES.in         |     4 +
 po/Rules-quot          |    47 +
 po/boldquot.sed        |    10 +
 po/cs.po               |   163 ++++++
 po/en-Q/[email protected]  |    25 +
 po/[email protected]      |    22 +
 po/insert-header.sin   |    23 +
 po/quot.sed            |     6 +
 po/remove-potcdate.sin |    19 +
 src/Makefile.am        |     2 +
 src/dillo.cc           |    64 +-
 src/gettext.h          |   287 ++++++++++
 src/menu.cc            |    13 +-
 src/msg.h              |     3 +-
 src/nls.h              |    17 +
 src/ui.cc              |     7 +-
 30 files changed, 5524 insertions(+), 39 deletions(-)

I don't know what everything you want to track in the hg.

The ABOUT-NLS, config.rpath m4/*, and maybe some files under po/ could get
installed through ./autogen.sh by calling gettextize --force --no-changelog.

My proof of concept shows internationalized and the localized into Czech
language the `dillo --help' usage and the `File' menu in the GUI.

Should I send the (possibly compressed) patch to this mailing list?

If you liked the patch, I'm willing to walk through all the sources and mark
all the stringing suitable for translation.

-- Petr

_______________________________________________
Dillo-dev mailing list
[email protected]
http://lists.auriga.wearlab.de/cgi-bin/mailman/listinfo/dillo-dev
signature.asc (application/pgp-signature, 230 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iF4EABEIAAYFAlJlfhIACgkQEsnFx2fG+qLSEwEAkTyW8nxDXoxBq4DHwGZFw8l0
Z3JAVS/UjUNXhvUcFV8A/jc0B0sSU67pLRWvNy05zHq1v7/jWtKig9qaqRibKDAr
=BGce
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.