Sounds interesting - and VERY useful. I'd be happy to help developing an implementation of this :)
On 22 Apr 2008, at 11:20, Cédric Sadai wrote: > > Hey David, > > What I would do is pretty similar of how Facebook implemented their > interactive translation system. I would replace all the calls to echo > __() by an extended function, let's say ___(), that would do itself a > call to the translation function, but would also add a slightly > highlightment to the string it displays (when the rights are OK), and > make a link over these strings so that a little DIV would appear with > the original text and a text input, and I would save everything in a > proper table. In the backend, I would develop a light module where I > would choose the best translation for a given key, and finally export > the result to the final XLIFF file. > > Translating dynamic elements (eg coming from databases) should be > slightly more complicated, even though not impossible. > > Cheers, > Cedric > > On Apr 22, 12:02 pm, heathd <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I would like to provide my users with the ability to edit the >> translation catalogues via a web UI. This would allow the users more >> autonomy and eliminate tedious administration for developers (e.g. >> sending out XML files and then uploading new ones). I am using >> symfony >> 1.0. >> >> Is anyone aware if such a user interface already exists? I see that >> there are several different message catalogue sources (Mysql, Propel, >> etc), but I couldn't see any reference to a user interface for >> editing >> the catalogues. Does anyone know of a plugin which might offer such a >> UI? >> >> In a previous project (not using symfony), I implemented a such a UI, >> which worked as follows: for logged in users with the appropriate >> rights, the system detected which translation keys were used when >> rendering the current page. It would then add a box to the page >> containing links to edit these strings. I found that this worked very >> well because users could see the phrases in context, and edit them >> directly. >> >> David > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---