[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to handle includes in translations? (was: "Re: philosophy/philosophy
From: |
Wacław Jacek |
Subject: |
How to handle includes in translations? (was: "Re: philosophy/philosophy.html: Menu is available only in English") |
Date: |
Wed, 16 Nov 2011 17:55:58 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Joerg Kohne wrote:
> Each time philosophy.html(1) is changed or a new translation
> added: GNUN will -> generates new LANG.html (translators manual
> modification is lost)
Ah, I see! So the problem is that GNUN doesn't support translating the
#include SSIs? Right. We could add that feature to GNUN, or add a
post-commit script that would replace
<!--#include virtual="/philosophy/philosophy-menu.html" -->
with
<!--#include virtual="/philosophy/philosophy-menu.LOCALE.html" -->
in every translation.
Ineiev wrote:
> We could add another variable to gnun.mk and take it into account
> in GNUmakefile.
I don't know how GNUN works, but maybe this is an easier solution?
Ineiev wrote:
>> Maybe an update to GNUN that will allow for the translation (or
>> not) of include directives? It would add 2-3 strings to every
>> gettext file, but would allow for future text to be "included"
>> (eg. the licence blurb).
Again, I don't know how it works, but I think it would be much nicer
to have a simple include instead of the entire copyright notice in
every document. Unless I'm not getting something right about the
notice (e.g. it's very page-specific and hardly really repeated).
Take care,
Wacław Jacek
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJOw+scAAoJED4pM6BYpz+TPdEH/A9dD9wTuykO3QkUNRknIcig
hrBbgexVqIKy0Fxq7wABRJW/sotrs4Gm7JXoPS3IReArmC6YZEn1wR5AnJCMntgf
TPCdxBn7t6+nEDufcuYPv/DpZkaVO9m+554nCTexeAVnUMSDdA80X4bfEueyfCG9
hir23H4Qceyi2n1ZsWbJ6sUwaDtNe1hJeXDVXC7Yh0fikrxeNQ4+piBBH4Q3E5oy
h6lfc63m9FzJzFeosBFX7VquaLaT+Nvth8q2dO0vMyubmndJA1nsI4A6gCCwWs8a
Fl7B5aDqQHd1DL+nPzx2Kv/wakYJQeunxLlm/CbvqU3sG3sLkPVToQT6ixCFdAU=
=PsgM
-----END PGP SIGNATURE-----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- How to handle includes in translations? (was: "Re: philosophy/philosophy.html: Menu is available only in English"),
Wacław Jacek <=