<div dir="ltr"><div><div><br></div>It would be useful to have a built-in option to regenerate base PO file (and update translated PO files) for a project.<br><br></div><div>This could involve:<br></div><div>1) Removing all existing LRT, LRJ, RST, RSJ.<br></div><div>2) Forcing project to be recompiled to reprocess resourcestrings and produce RSJ<br></div><div>3) Forcing forms to be resaved to reprocess LFM and produce LRJ<br></div><div><div><br></div><div>I have performed these steps manually on several occasions to ensure a clean regenerated PO file.<br></div><div><br><div><div class="gmail_extra"><br><div class="gmail_quote">On 17 February 2016 at 16:50, Maxim Ganetsky <span dir="ltr"><<a href="mailto:ganmax@narod.ru" target="_blank">ganmax@narod.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
17.02.2016 18:24, Denis Kozlov пишет:<br>
> It should be possible to code up an automatic conversion of LRT files<br>
> directly to RSJ/LSJ, without a need to resave all forms. They both store<br>
> the same data, but use a different format.<br>
><br>
> Of course, LRT files with already broken strings (as a result of new<br>
> lines) would be initially mapped 1-to-1 to broken strings in RSJ file,<br>
> but they will get fixed the next time the form is re-saved.<br>
<br>
So users will need to save forms anyway in order to ensure strings<br>
correctness and to get correct .po files.<br>
<br>
Maybe some helper tool that resaves all affected forms in one go can be<br>
created, though. Don't know how big is demand for it.<span class=""></span><br></blockquote></div></div></div></div></div></div>