[FriBidi] Bidi and format strings

M Gagnon auria.mg at gmail.com
Sat Jan 22 12:20:00 PST 2011


Hi Dov,

thanks for your answer. Our current design does not allow that, but I 
will see if I am able to
modify our design to correct this issue.

-- Auria

> Your problems is solved by first interpolating the strings and only as 
> the very last step calling fribidi. According to your description you 
> current do the opposite.
>
> I.e. if the translation is:   FOO %s BAR, with %s=BAZ
>
> Your current two steps:
> 1. Fribidi => RAB s% OOF
> 2. Interpolate => error!
>
> Swapped steps:
> 1. Interpolate => FOO BAZ BAR
> 2. Fribidi => RAB ZAB OOF
>
> Which also has the advantage that your interpolated string is also 
> passed through fribidi.
>
> Regards,
> Dov
>



More information about the fribidi mailing list