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

Links to other languages

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.

6 of 6 messages available
Toggle history

Please log in to manage your subscriptions.

Links to other languages Roman Joost 16 Oct 04:37
  Links to other languages Ulf-D. Ehlert 17 Oct 18:00
   Links to other languages Roman Joost 19 Oct 04:01
    Links to other languages Ulf-D. Ehlert 19 Oct 18:40
     Links to other languages Roman Joost 04 Dec 03:44
     Links to other languages Roman Joost 05 Dec 03:24
Roman Joost
2012-10-16 04:37:55 UTC (about 12 years ago)

Links to other languages

Hi,

I'm currently working on a branch to fix #168256 (https://bugzilla.gnome.org/show_bug.cgi?id=168256) to have a small menu which links to corresponding translations.

I've change the current build temporarily to deploy the new menu under docs.gimp.org. It should be slighlty hidden on the top hand corner. Currently it is not build by default to avoid leaking into the help browser. The disadvantage of the current approach is, that the menu is rendered at 'compile time' not being aware of any other deployed translations.

I was wondering if I could get some feedback about it. Would it make sense to add an option to the configure script, or rather leave it of hidden in the build process as it is currently.

Who's interested; build the langage of your choice with:

XSLTEXTRAFLAGS="--stringparam gimp.help.languageselector 1" make html

Cheers,

Roman Joost
www: http://www.romanofski.de
email: romanofski@gimp.org
Ulf-D. Ehlert
2012-10-17 18:00:12 UTC (about 12 years ago)

Links to other languages

On Tue, Oct 16, 2012 at 02:37:55PM +1000, Roman Joost wrote:

Hi,

I'm currently working on a branch to fix #168256 (https://bugzilla.gnome.org/show_bug.cgi?id=168256) to have a small menu which links to corresponding translations.

Hmm, bugzilla has a strange sense of humour: Reported: 2005-02-23
Last reply: 2006-01-10
Status: NEW
;-)

I've change the current build temporarily to deploy the new menu under docs.gimp.org. It should be slighlty hidden on the top hand corner. Currently it is not build by default to avoid leaking into the help browser. The disadvantage of the current approach is, that the menu is rendered at 'compile time' not being aware of any other deployed translations.

Why is this a problem?

I was wondering if I could get some feedback about it. Would it make sense to add an option to the configure script, or rather leave it of hidden in the build process as it is currently.

If it works and we are all happy with this feature, it would be a pity if we'd hide it. Adding a configure option (with default="disabled"?) would make sense IMO.

Who's interested; build the langage of your choice with:

XSLTEXTRAFLAGS="--stringparam gimp.help.languageselector 1" make html

I did, and it looks promising. The menu is hard to read, but this can be fixed with a proper CSS entry.

It looks that I have found a minor bug:

I tried it with ALL_LINGUAS="en de fr" and got a menu with 2 entries ("English Deutsch") for all 3 languages. Just had a quick look at the stylesheet: it seems that your tokenizer failes (last tail ["fr"] does not contain $splitstr).

Ulf

Ich finde es nicht nur schner, sondern auch
ntzlicher, meinem Hund zu folgen als der Obrigkeit.
		-- Karlheinz Deschner
_______________________________________________
gimp-docs-list mailing list
gimp-docs-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-docs-list
Roman Joost
2012-10-19 04:01:32 UTC (about 12 years ago)

Links to other languages

Hi Ulf,

On Wed, Oct 17, 2012 at 08:00:12PM +0200, Ulf-D. Ehlert wrote:

(https://bugzilla.gnome.org/show_bug.cgi?id=168256) to have a small menu which links to corresponding translations.

Hmm, bugzilla has a strange sense of humour: Reported: 2005-02-23
Last reply: 2006-01-10
Status: NEW
;-)

Hah yes - this one is in the database for ages :)

The disadvantage of the current approach is, that the menu is rendered at 'compile time' not being aware of any other deployed translations.

Why is this a problem?

What is built does not necessarily end up on the server.

I was wondering if I could get some feedback about it. Would it make sense to add an option to the configure script, or rather leave it of hidden in the build process as it is currently.

If it works and we are all happy with this feature, it would be a pity if we'd hide it. Adding a configure option (with default="disabled"?) would make sense IMO.

Yes - I thought the same. I'll add a configure option.

Who's interested; build the langage of your choice with:

XSLTEXTRAFLAGS="--stringparam gimp.help.languageselector 1" make html

I did, and it looks promising.

Cheers!

The menu is hard to read, but this can be fixed with a proper CSS entry.

Yes. I kept it that way to be able to test it on docs.gimp.org. I'll change the CSS to make it more useful.

It looks that I have found a minor bug:

I tried it with ALL_LINGUAS="en de fr" and got a menu with 2 entries ("English Deutsch") for all 3 languages. Just had a quick look at the stylesheet: it seems that your tokenizer failes (last tail ["fr"] does not contain $splitstr).

Eeek! Cheers for that!

Thanks!

Roman Joost
www: http://www.romanofski.de
email: romanofski@gimp.org
Ulf-D. Ehlert
2012-10-19 18:40:07 UTC (about 12 years ago)

Links to other languages

On Fri, Oct 19, 2012 at 02:01:32PM +1000, Roman Joost wrote:

On Wed, Oct 17, 2012 at 08:00:12PM +0200, Ulf-D. Ehlert wrote:

The disadvantage of the current approach is, that the menu is rendered at 'compile time' not being aware of any other deployed translations.

Why is this a problem?

What is built does not necessarily end up on the server.

But how many new languages do you add every year? ;-)

The menu is hard to read, but this can be fixed with a proper CSS entry.

Yes. I kept it that way to be able to test it on docs.gimp.org. I'll change the CSS to make it more useful.

There's another simple bug I found when I was playing with CSS: "" should be replaced with "", since "id" must be unique.

I have attached a patch with my changes.

Ulf

Die guten Christen sind am gefährlichsten - man verwechselt
sie mit dem Christentum.
		-- Karlheinz Deschner
Roman Joost
2012-12-04 03:44:22 UTC (almost 12 years ago)

Links to other languages

Hi Ulf,

sorry didn't mean to stop posting, but real life can be interrupting ;) I actually had this reply lying around for weeks until I got a chance to finish it :(

On Fri, Oct 19, 2012 at 08:40:07PM +0200, Ulf-D. Ehlert wrote:

On Fri, Oct 19, 2012 at 02:01:32PM +1000, Roman Joost wrote:

On Wed, Oct 17, 2012 at 08:00:12PM +0200, Ulf-D. Ehlert wrote:

The disadvantage of the current approach is, that the menu is rendered at 'compile time' not being aware of any other deployed translations.

Why is this a problem?

What is built does not necessarily end up on the server.

But how many new languages do you add every year? ;-)

Ok ok. Thanks for the heads up :)

The menu is hard to read, but this can be fixed with a proper CSS entry.

Yes. I kept it that way to be able to test it on docs.gimp.org. I'll change the CSS to make it more useful.

There's another simple bug I found when I was playing with CSS: "" should be replaced with "", since "id" must be unique.

Cheers! Of course!

I have attached a patch with my changes.

Thanks for the patch. That is excellent! Looks you fixed the problems you pointed out.

Cheers,

Roman Joost
www: http://www.romanofski.de
email: romanofski@gimp.org
Roman Joost
2012-12-05 03:24:26 UTC (almost 12 years ago)

Links to other languages

Hi Ulf,

I've included your patch and merged the changes with master. I also added a configure option ('--enable-languageMenu') to build the HTML with a language selector. The option is off by default.

Thanks a lot for your feedback and help.

Cheers,

Roman Joost
www: http://www.romanofski.de
email: romanofski@gimp.org