On Sat 03-Sep-2011 at 17:55 -0400, Yuval Levy wrote:
On August 29, 2011 02:01:53 AM Vaclav Cerny - vatoz wrote:
I have added translation branch to hugin-web site. Main script g.php
is meant to be run offsite, to generate translated pages, it includes
process documentation.
Thanks. I have looked into it, which means I could read and understand the
PHP code and the files committed, but I have no time/resources available to
test/run it.
I found that I needed this file to get it to run:
http://code.fivefilters.org/p/php-readability/source/file/master/JSLikeHTMLElement.php
1. In the .po files text is split into a random collection of out of context
paragraphs. IMHO translation is critically dependent on context and the .po
file takes that critical component away.
I have no direct experience of translation, so I can't say.
Last but not least there is a process issue. The process is entirely manual
and add an extra burden on each editor and translator to trigger the "g.php"
script. This requires the fully fledged web server and can't be done locally,
so whoever edits / adds to the website is being handled an extra dependency.
The website would probably still be synced from an offline source,
so the translated html can be built at the same time. Though I'm
not sure how we get the new .po strings into HG every time someone
edits the English version of the site - We can't rely on each writer
to have a working PHP setup.
The list of files that need to be translated is hard-coded into the
g.php file, this list needs to become a separate file so anyone can edit
it.
The code uses content negotiation to automatically deliver
translated pages depending on the browser language preference. Is
this what we want? or would users prefer to select a language
manually?
--
Bruno
--
You received this message because you are subscribed to the Google Groups "Hugin and
other free panoramic software" group.
A list of frequently asked questions is available at:
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx