Re: [Planner] exporting as html in other languages



2006/4/24, Kurt Maute <kurt maute us>:
On Sun, 2006-04-23 at 13:53 -0500, a la sombra del wrote:
> First of all, excelent work!!!!  thank you.
>
> I am exploring what planner can do, i am using planner0.13 under
> gnu/linux ubuntu-6.06, in an es_mx locales environment (in spanish).
>
> i noticed that it if you export to html it exports all default text in
> english. It is not that dificult to translat by had, using Nvu or
> Mozilla-Composer, however it is a problem when more than one planner
> file are exported or when a file is updated.
>
> I am wondering if this could be fixed. Iam no programer, but can help
> with anything in my capabilities.

Well, the short answer is that you could edit the stylesheets,
translating the offending English into Spanish.  Search for
planner2html.xsl, and you'll find the folder where they're installed,
usually /usr/local/share/planner/data/stylesheets/

The others you'll need to translate are html1*.xml

The right way to do it is for one of us developers to come up with a
scheme to make it happen automatically.  I was thinking of creating
entities for all of the words/phrases in the html output we'd need
translated, put them in separate files by language (something like
en.xml, es.xml, etc.), then teach Planner to pass the language to the
stylesheet and the stylesheet to import the correct language file.

--
Kurt Maute <kurt maute us>

_______________________________________________
Planner mailing list
Planner lists imendio com
http://lists.imendio.com/mailman/listinfo/planner


ok Kurt, i can deal with the local hack.

Is there a way i can help with the global solution? i am not a programer but can write in both languages...
Let me take a look at the files, I might figure something out...

thanks

--
salud
carlosdelcampo
http://huizache.org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]