Re: i18n of Turtle files for xesam project?
- From: Steve Frécinaux <nudrema gmail com>
- To: Simos Xenitellis <simos lists googlemail com>
- Cc: GNOME I18n <gnome-i18n gnome org>, Dev Gnome List <desktop-devel-list gnome org>
- Subject: Re: i18n of Turtle files for xesam project?
- Date: Sat, 26 May 2007 15:47:23 +0200
On Sat, 2007-05-26 at 14:15 +0100, Simos Xenitellis wrote:
> I do not think it would be hard to extract the text from Turtle
> translation templates. Just follow the example of the .desktop files
> which should be very similar. You would need to code in Python a few
> functions to extract/put back the translation messages. Is there some
> Python module/code that understands the Turtle format (or the general
> format that Turtle uses)?
This is perl, not python. You'd have to modify intltool-extract.in and
intltool-merge.in I think. Maybe also see bug 389565.
Turtle can be parsed by raptor (it apparently has perl bindings) but it
is yet another dependency and is probably avoidable if you just want to
extract translatable strings.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]