Ourada, Paul het geskryf:

> Some
> admin user (I think that's what you and/or Dwayne called them) would
> gather translation database strings (or references to them) into a
> project and assign them to various screens, associate any appropriate
> screen bitmaps and fields on those bitmaps.

It sounds like a lot of work for the poor admin user.  The current 
source text files in Pootle are created in a fairly automated process, 
so the admin user basically has to ensure that the source text is 
available and that users have the right permissions to do their work.

The current conversion from vendor format to POT or PO is done 
automatically -- there is no user intervention.  Of course, currently 
only a limited number of vendor formats are supported, but the idea is 
that the conversion to and from the vendor format must be scriptable.

I see three issues here:

1. The ability for Pootle to prevent users from writing lines that are 
too long.
2. The ability for users to see a PNG of the original GUI element.
3. The ability for users to see a PNG of the their translated GUI element.

For #2 and #3 I think a separate application should be used.  For #2 
you'd have an application that would read the source code of the current 
HTML page in Pootle to determine which string is being displayed, and 
then display the associated PNG file for it.  For #3, well, I don't know 
how you'd do it (my solutions would all be kludgey).

For #1, all you need is some way to calculate the length (in pixels) of 
the source text and to calculate the length (in pixels) of the target 
text (either in real time or after the user pressed a button or 
activated a bookmarklet), and compare the two values.  The ideal is to 
do this inside Pootle -- and I repeat that it would require simple 
JavaScript to accomplish (but I'm not a JavaScript scripter).

Samuel


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to