Mailinglist Archive: opensuse-bugs (15074 mails)
| < Previous | Next > |
[Bug 299230] we need a way to translation repositories
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Tue, 11 Sep 2007 09:28:09 -0600 (MDT)
- Message-id: <20070911152809.BA544245350@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=299230#c7
Karl Eichwalder <ke@xxxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |NEEDINFO
Info Provider| |coolo@xxxxxxxxxx
--- Comment #7 from Karl Eichwalder <ke@xxxxxxxxxx> 2007-09-11 09:28:09 MST ---
Thanks for the info. I'd like you to start with intltools compatible input
files, that's .xml.in without any translation mixed in. Tags of contants that
need to be translated are to be flagged with a leading underscore:
<repository recommended="false" format="yast">
<_name>FACTORY - KDE:Community</_name>
<_summary>Community repository for KDE</_summary>
<_description>Some description needs to be
added...</_description>
</repository>
etc.
Then we can run "intltool-extract --type=gettext/xml" on these files and use
the resulting .xml.h files as input for xgettext and thus translation.
The way back goes via 'intltool-merge --xml-style ...'. Untested that far
whether this will work out-of-the-box for our repo meta files.
Is this acceptable for you?
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Karl Eichwalder <ke@xxxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |NEEDINFO
Info Provider| |coolo@xxxxxxxxxx
--- Comment #7 from Karl Eichwalder <ke@xxxxxxxxxx> 2007-09-11 09:28:09 MST ---
Thanks for the info. I'd like you to start with intltools compatible input
files, that's .xml.in without any translation mixed in. Tags of contants that
need to be translated are to be flagged with a leading underscore:
<repository recommended="false" format="yast">
<_name>FACTORY - KDE:Community</_name>
<_summary>Community repository for KDE</_summary>
<_description>Some description needs to be
added...</_description>
</repository>
etc.
Then we can run "intltool-extract --type=gettext/xml" on these files and use
the resulting .xml.h files as input for xgettext and thus translation.
The way back goes via 'intltool-merge --xml-style ...'. Untested that far
whether this will work out-of-the-box for our repo meta files.
Is this acceptable for you?
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
| < Previous | Next > |