It should be possible to code up an automatic conversion of LRT files directly to RSJ/LSJ, without a need to resave all forms. They both store the same data, but use a different format.
Of course, LRT files with already broken strings (as a result of new lines) would be initially mapped 1-to-1 to broken strings in RSJ file, but they will get fixed the next time the form is re-saved. Denis On 16 February 2016 at 17:41, Maxim Ganetsky <gan...@narod.ru> wrote: > > 16.02.2016 20:31, Giuliano Colla пишет: > > To actually provide the benefit to users, it would be nice if the > > transition process would be made automatic in Lazarus IDE. > > I.e.: If in Project Options "Enable i18n" and "Create/update .po file > > when saving" are both ticked, a "Compile" should check for the presence > > of .lrt files and behave accordingly, i.e. remove .lrt files and > > generate again what required. > > > > Is that possible? > > Not without forcibly saving all affected forms. I don't think it is > good, because LFMs can change (e.g. when form created in Linux and saved > in Windows). >
-- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus