RSS/Atom feed Twitter
Site is read-only, email is disabled

make html-fr

This discussion is connected to the gimp-docs-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

4 of 4 messages available
Toggle history

Please log in to manage your subscriptions.

make html-fr julien 29 Dec 09:11
  make html-fr julien 29 Dec 09:35
   make html-fr Ulf-D. Ehlert 29 Dec 20:00
    make html-fr Marco Ciampa 29 Dec 21:16
julien
2008-12-29 09:11:18 UTC (over 16 years ago)

make html-fr

Hi,

Just try "make html-fr" and report what's going wrong

I tried : images are not displayed in the html files :-(

Bye,

Julien

julien
2008-12-29 09:35:12 UTC (over 16 years ago)

make html-fr

Just try "make html-fr" and report what's going wrong

I tried : images are not displayed in the html files :-(

I have them now...!
But they are all in english, because image references in xml-fr are all to the english image

Ulf-D. Ehlert
2008-12-29 20:00:25 UTC (over 16 years ago)

make html-fr

julien (Montag, 29. Dezember 2008, 09:35):

Just try "make html-fr" and report what's going wrong

I tried : images are not displayed in the html files :-(

I have them now...!
But they are all in english, because image references in xml-fr are all to the english image

Yes, this will be one of our next tasks: change the directory structure of the image files so that we get localized images again.

This is the current (old) structure:

images/ menus/
image.png
xx/
image.png
html/
xx/
images -> ../images

It worked fine with the old multi-lang documents, since we were alway referring (manually) to the correct image: (English)
or
(lang="xx"),
but now the translated xml files always refer to the English image - there was nothing to translate (unless we patched xml2po).

We have to find a way so that we refer to the right image automatically. My first suggestion was to change the directory structure to

images/ menus/
image.png
C/ # (!?)
... #
en/ # (!??)
... #
xx/
menus/
image.png
html/
xx/
images/

... and copy (or link?) from images/xx to html/xx/images if a localized image exist, otherwise copy (link) from images/[en/ or C/].

Problems: - sometime the filenames of the localized images differ from the names of the English images; :-( - we have to change every fileref from "../images" to "images/ [easy with a find-loop and "sed -i"]; - we have to do the same with pdf/ and odf/.

So maybe it's better to copy (link?) image files to xml/ when making "xml-xx" and make symlinks from html/, pdf/, and odf/ to the image directory in xml/:

images/ ... # see above
xml/
xx/
images/
html/
xx/
images -> ../../xml/xx/images

More suggestions? Maybe a completely different approach?

Bye, Ulf

Marco Ciampa
2008-12-29 21:16:32 UTC (over 16 years ago)

make html-fr

On Mon, Dec 29, 2008 at 08:00:25PM +0100, Ulf-D. Ehlert wrote:

Problems:
- sometime the filenames of the localized images differ from the names of the English images; :-(

ok that should be fixed by hand. It is the very same problem of different paragraps structure...a BAD thing to avoid..

- we have to change every fileref from "../images" to "images/ [easy with a find-loop and "sed -i"];

ok

- we have to do the same with pdf/ and odf/.

ok

So maybe it's better to copy (link?) image files to xml/ when

_LINK_

It should not be so difficoult to do a script (maybe in the Makefile?) that creates automatically a simbolic link for the image files if they does not already exists.

bye