On Thursday 06 November 2008 22:11:01 Duncan Webb wrote:
> > The proper fix would be:
> > lines.append(_('As of: %s'), ...
> >
> > (There will always be languages where e.g. the "as of" should be at the
> > end of the line, or around the time.)
>
> You may well be correct, I don't really know. The idea is to minimise
> the use of python format strings as when these are not correct freevo
> crashes and this happens quite often.
>
> What happens is that the i18n often generates a fuzzy match so:
> 'As of: %s'
> is translated as:
> 'As of'
> And then it goes opps.

Ugly.  But that's a problem of the translation; there should not be such fuzzy 
matches.  (Probably one should use a tool to check that the same format 
specifications are used.)

For proper translation, it would be unevitable to have the format specs within 
the translated strings.  (If there are multiple values to be interpolated, it 
could even be necessary to use the %(named)s syntax to allow for reordering.)

Of course, this is only meant as informative comments; as long as people don't 
complain about the translations they get, it can be ignored.

Have a nice day,
  Hans


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to