Re: [Gimp-docs] Re: [Gimp-developer] Help system

2004-10-25 Thread Daniel Egger
On 24.10.2004, at 20:36, Sven Neumann wrote:
The help system has always been designed that way. The problem was
with the way the help pages get generated from the DocBook sources.
During that process empty pages were generated instead of no
pages. Thus, the language fallback in the help system could not
work. AFAIK the problem has been addressed in the meantime (as I
already mentioned in an earlier mail).
That has been taken care of.
However regarding the correct processing it is very well posssible
that there're still some cases in which we either create an empty
element or no element at all even if translation is available.
We're working on improving that situation.
Servus,
  Daniel


PGP.sig
Description: This is a digitally signed message part


[Gimp-developer] Help system

2004-10-24 Thread Dennis Bjorklund
I run gimp in swedish and the translation is very good. The help files
however are mostly blank pages. I have to quit and start gimp in english
in order to get any help.

Of course this problem can be solved by deleting the swedish documentation 
and then I assume I would get the english one. But it's not the best 
solution.

Also, even if there had been a more complete translation, how do I know if
that is a translation of the latest english version? Being able to select
language at run time would be helpful.

gettext() works well because the translation is only used when the
original text is as it was when it was translated. Maybe one could make
something similar with the doc, like a md5sum of the help page. If the
checksum does not match the one stored with the translation then the
english original help is used (or some other language that the user
prefer, just like it works with gettext).

-- 
/Dennis Björklund

___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Help system

2004-10-24 Thread Joao S. O. Bueno Calligaris
Ie read a thread some months ago on GIMP developers saying that the 
Gimp-ghelp should be designed in such a way that, when a page did not 
exist for a locale, it would fall back to other languages in a given 
order.

Was that implemented?
If so..is the fallback to swedish en ?

And Dennis:
No, deleting the swedish docs won't give you the English docs.

On Sunday 24 October 2004 09:50, Dennis Bjorklund wrote:
 I run gimp in swedish and the translation is very good. The help
 files however are mostly blank pages. I have to quit and start gimp
 in english in order to get any help.

 Of course this problem can be solved by deleting the swedish
 documentation and then I assume I would get the english one. But
 it's not the best solution.

 Also, even if there had been a more complete translation, how do I
 know if that is a translation of the latest english version? Being
 able to select language at run time would be helpful.

 gettext() works well because the translation is only used when the
 original text is as it was when it was translated. Maybe one could
 make something similar with the doc, like a md5sum of the help
 page. If the checksum does not match the one stored with the
 translation then the english original help is used (or some other
 language that the user prefer, just like it works with gettext).

regards,
JS
-
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-docs] Re: [Gimp-developer] Help system

2004-10-24 Thread Sven Neumann
Hi,

Joao S. O. Bueno Calligaris [EMAIL PROTECTED] writes:

 Ie read a thread some months ago on GIMP developers saying that the 
 Gimp-ghelp should be designed in such a way that, when a page did not 
 exist for a locale, it would fall back to other languages in a given 
 order.

 Was that implemented?
 If so..is the fallback to swedish en ?

The help system has always been designed that way. The problem was
with the way the help pages get generated from the DocBook sources.
During that process empty pages were generated instead of no
pages. Thus, the language fallback in the help system could not
work. AFAIK the problem has been addressed in the meantime (as I
already mentioned in an earlier mail).

 And Dennis:
 No, deleting the swedish docs won't give you the English docs.

Huh? Of course it will.


Sven
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer