Thread: Move of translations

Move of translations

From
"Dave Page"
Date:
Hi Florian/Richard,

You will probably notice that I moved the translations in the source
tree earlier this evening, to /il8n. This involved changes to the
installation (they should now install in $(datadir)/il8n) and pgAdmin
itself to search in the new locations.

Could you please take a look at this and make sure everything is
hunky-dory on OSX please (well, as soon as you can get at it Richard :-p
)?

Thanks, Dave.

Re: Move of translations

From
OpenMacNews
Date:
> well, as soon as you can get at it Richard :-p

<grumble> *&%*^$& &^&^  *&^*^& (^$$( !!!!! </grumble>


Re: Move of translations

From
"Florian G. Pflug"
Date:
Dave Page wrote:
> Hi Florian/Richard,
>
> You will probably notice that I moved the translations in the source
> tree earlier this evening, to /il8n. This involved changes to the
> installation (they should now install in $(datadir)/il8n) and pgAdmin
> itself to search in the new locations.
Hm... shall this really read il8n (I-L-8-N, that is), and not i18n
(I-1-8-N, that is)?

Anyway, the files continue to install into $(datadir)/ui, and not
$(datadir)/il18n - which seems logical, given that il18n/Makefile.am
contains:

install-data-local:
         for DIR in `ls -d ??_??`; do \
                 $(mkinstalldirs) $(datadir)/ui/$$DIR; \
                 for FILE in `ls $$DIR/*.mo`; do \
                         $(install_sh) -c -m 644 $$FILE
$(datadir)/ui/$$DIR; \
                 done \
         done
         $(install_sh) -c -m 644 pgadmin3.lng $(datadir)/ui/$$DIR
         $(install_sh) -c -m 644 wxstd.mo $(datadir)/ui/$$DIR

Todays nighty build seems to be successfull (It failed initially, but
succeeded after a new configure run - I guess this is to be expected
after the big build-system changes ;-) ). I didn't test any language
besides english, so I don't know if it finds the translation-files.

greetings, Florian Pflug

Re: Move of translations

From
Andreas Pflug
Date:
Dave Page wrote:
> Hi Florian/Richard,
>
> You will probably notice that I moved the translations in the source
> tree earlier this evening, to /il8n. This involved changes to the
> installation (they should now install in $(datadir)/il8n) and pgAdmin
> itself to search in the new locations.

I wonder what this name is about. You probably did mean
"I -one-eight-n", as abbrevation for "internationalization"?

Regards,
Andreas

Re: Move of translations

From
"Dave Page"
Date:

> -----Original Message-----
> From: Florian G. Pflug [mailto:fgp@phlo.org]
> Sent: 07 May 2005 03:34
> To: Dave Page
> Cc: pgadmin-hackers; OpenMacNews
> Subject: Re: Move of translations
>
> Dave Page wrote:
> > Hi Florian/Richard,
> >
> > You will probably notice that I moved the translations in the source
> > tree earlier this evening, to /il8n. This involved changes to the
> > installation (they should now install in $(datadir)/il8n)
> and pgAdmin
> > itself to search in the new locations.
> Hm... shall this really read il8n (I-L-8-N, that is), and not i18n
> (I-1-8-N, that is)?

Ack. Late night brain failure. I'll fix that (easy now with svn!)

> Anyway, the files continue to install into $(datadir)/ui, and not
> $(datadir)/il18n - which seems logical, given that il18n/Makefile.am
> contains:
>
> install-data-local:
>          for DIR in `ls -d ??_??`; do \
>                  $(mkinstalldirs) $(datadir)/ui/$$DIR; \
>                  for FILE in `ls $$DIR/*.mo`; do \
>                          $(install_sh) -c -m 644 $$FILE
> $(datadir)/ui/$$DIR; \
>                  done \
>          done
>          $(install_sh) -c -m 644 pgadmin3.lng $(datadir)/ui/$$DIR
>          $(install_sh) -c -m 644 wxstd.mo $(datadir)/ui/$$DIR

D'oh. See previous!

> Todays nighty build seems to be successfull (It failed initially, but
> succeeded after a new configure run - I guess this is to be expected
> after the big build-system changes ;-) ). I didn't test any language
> besides english, so I don't know if it finds the translation-files.

If you look in pkg/slackware/build-snapshot you'll see that on
developer.pgadmin.org we always clear out the src and other directories
completely before svn updating and running the build. That generally
prevents these kind of problems (though it should probably remove
config.cache etc as well).

Regards, Dave.

Re: Move of translations

From
"Dave Page"
Date:

> -----Original Message-----
> From: Andreas Pflug [mailto:pgadmin@pse-consulting.de]
> Sent: 07 May 2005 09:40
> To: Dave Page
> Cc: pgadmin-hackers; Florian G. Pflug; OpenMacNews
> Subject: Re: [pgadmin-hackers] Move of translations
>
> Dave Page wrote:
> > Hi Florian/Richard,
> >
> > You will probably notice that I moved the translations in the source
> > tree earlier this evening, to /il8n. This involved changes to the
> > installation (they should now install in $(datadir)/il8n)
> and pgAdmin
> > itself to search in the new locations.
>
> I wonder what this name is about. You probably did mean
> "I -one-eight-n", as abbrevation for "internationalization"?

Yeah, yeah, it was late. Will fix...

/D