Re: Adding I18N support to ATK



Malcolm,

I have found this very useful and found a number of errors in what I had done 
for ATK.

I have a few comments below.

> To: "Padraig O'Briain" <Padraig.Obriain@sun.com>
> Cc: gnome-i18n@gnome.org
> Subject: Re: Adding I18N support to ATK
> Mail-Followup-To: Padraig O'Briain <Padraig.Obriain@Sun.COM>, 
gnome-i18n@gnome.org
> Mime-Version: 1.0
> Content-Disposition: inline
> User-Agent: Mutt/1.4i
> 
> On Wed, Oct 30, 2002 at 09:20:18AM +0000, Padraig O'Briain wrote:
> > I need to add support for localizable string to atk for GNOME 2.2.
> > 
> > Does a HOW-TO document exist which describes what I need to do?
> 
> So Padraig appears to have worked out what he needs to do (from what I
> can see of recent work in ATK). However, to help people doing this in
> the future, I have written a document about what is required from the
> developer's perspective.
> 
> It is in gnome-devel-docs/tutorials/i18n/C in GNOME CVS. If you have a
> reasonably sensible Docbook setup (including the stylesheets), it should
> be possible to check out the directory, change into it and then run
> 
> 	mkdir html && xsltproc -o html/i18n-guide.xml
> 
> to get some html files to view.
> 

When I ran this command I did not generate any html files. I tried the command 
xsltproc i18n-guide.xml and I created some html files.

In section 2.1. you mention ".. you may want to skip ahead to the section about 
library markup requirements to find out the couple of lines that need to be 
changed here.

I am not sure what section and what lines you are referring to here. Do you mean 
section 2.2.1?

Is adding intl*.in to EXTRA_DIST necessary?

I found the section Changes to autogen.sh confusing as atk was copied originally 
from gtk+.

I created the file acinclude.m4 (based on gtk+ version) and added code to 
autogen.sh to refer to glib-2.0.m4 and glib-gettext.m4 (again based on gtk+).

I also found that if I commented out the line AM_GLIB_GNU_GETTEXT in 
configure.in, the makefile was not generated in the po directory.

Padraig

> Any comments appreciated. (Yes, there are probably some horrible
> spelling mistakes in there, since aspell crashed when I was checking it.
> Need to look at that later.)
> 
> Cheers,
> Malcolm
> 
> -- 
> He who laughs last thinks slowest.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]