Re: i18n of Turtle files for xesam project?



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]