Re: Links to other languages

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

 



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 schöner, sondern auch
nützlicher, meinem Hund zu folgen als der Obrigkeit.
		-- Karlheinz Deschner
_______________________________________________
gimp-docs-list mailing list
gimp-docs-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gimp-docs-list



[Index of Archives]     [Video For Linux]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [Scanners]     [GEGL]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux