<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div></div><div>Hello Tomáš,</div><div>I used this approach several times</div><div><a href="https://github.com/alrieckert/lazarus/tree/master/examples/translation">https://github.com/alrieckert/lazarus/tree/master/examples/translation</a></div><div>and it worked.</div><div>For example here:</div><div><pre style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 12px; margin-top: 0px; margin-bottom: 0px; caret-color: rgb(36, 41, 46); color: rgb(36, 41, 46); -webkit-text-size-adjust: 100%; background-color: rgb(255, 255, 255); width: 1px; height: 1px; position: fixed; top: 5px;"><a href="https://github.com/zbyna/Media-Stub-Kodi-Creator/blob/2373ec4ff24bf124cb244eab07772e3cc81bee47/unit1.pas#L22">https://github.com/zbyna/Media-Stub-Kodi-Creator/blob/2373ec4ff24bf124cb244eab07772e3cc81bee47/unit1.pas#L22</a></pre></div><div><a href="https://github.com/zbyna/Media-Stub-Kodi-Creator/blob/master/unit1.pas#L214">https://github.com/zbyna/Media-Stub-Kodi-Creator/blob/master/unit1.pas#L214</a></div><div><br></div><div> Zbyněk</div><div><br>19. 6. 2018 v 14:12, Carlos E. R. via Lazarus <<a href="mailto:lazarus@lists.lazarus-ide.org">lazarus@lists.lazarus-ide.org</a>>:<br><br></div><blockquote type="cite"><div><span>On 2018-06-19 13:51, Maxim Ganetsky via Lazarus wrote:</span><br><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>19.06.2018 14:37, Carlos E. R. via Lazarus пишет:</span><br></blockquote><blockquote type="cite"><blockquote type="cite"><span>On 2018-06-19 13:09, Tomáš Emresz via Lazarus wrote:</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>Hello,</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>i have done generating .po files, could translate it through PoEdit,</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>but - when i add some RS or component, Lazarus update only main .po</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>file, not .cs.po etc. So could Lazarus update these files too, or is</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>there any merge tool for this ? Of course, I understand, that I must</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>translate this string after, but this time, I sync this files</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>manually, which is bad.</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>Any idea ?</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>I'll answer as translator, I do not yet know how Lazarus handles this.</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>The programmer should only change the .pot files.</span><br></blockquote></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Lazarus handles all this itself. Main .po file is actually is what you</span><br></blockquote><blockquote type="cite"><span>mean by .pot (historically it has .po extension instead of .pot).</span><br></blockquote><span></span><br><span>Well, IMHO that is wrong.</span><br><span></span><br><span>The .pot file should contain all the messages without any translation,</span><br><span>it is the master file. And the .po files are the translations, one per</span><br><span>language. The .pot file is maintained by the programmers, the .po are</span><br><span>maintained by the translators.</span><br><span></span><br><span>Anyway, msgmerge can handle that situation, too.</span><br><span></span><br><span></span><br><span>-- </span><br><span>Cheers / Saludos,</span><br><span></span><br><span> Carlos E. R.</span><br><span> (from 42.3 x86_64 "Malachite" at Telcontar)</span><br><span></span><br></div></blockquote><blockquote type="cite"><div><span>-- </span><br><span>_______________________________________________</span><br><span>Lazarus mailing list</span><br><span><a href="mailto:Lazarus@lists.lazarus-ide.org">Lazarus@lists.lazarus-ide.org</a></span><br><span><a href="https://lists.lazarus-ide.org/listinfo/lazarus">https://lists.lazarus-ide.org/listinfo/lazarus</a></span><br></div></blockquote></body></html>