Re: [Lazarus] Multilang application and syncing .po files

2018-06-20 Thread Tomáš Emresz via Lazarus
Hello, thanks. T.E. středa 20. června 2018, 16:24:50, napsal jste: > 20.06.2018 16:30, Tomáš Emresz via Lazarus пишет: >> Hello, >> >> I have checked project inspector, and add some files to it. This time, >> all is good, both files are updated as needs. > Good. >> Other question is :

Re: [Lazarus] Multilang application and syncing .po files

2018-06-20 Thread Maxim Ganetsky via Lazarus
20.06.2018 16:30, Tomáš Emresz via Lazarus пишет: > Hello, > > I have checked project inspector, and add some files to it. This time, > all is good, both files are updated as needs. Good. > Other question is : is there any possibility to describe RS for > PoEdit, like if it is caption

Re: [Lazarus] Multilang application and syncing .po files

2018-06-20 Thread Tomáš Emresz via Lazarus
Hello, I have checked project inspector, and add some files to it. This time, all is good, both files are updated as needs. Other question is : is there any possibility to describe RS for PoEdit, like if it is caption on some components ? Something like this : resourcestring //Text

Re: [Lazarus] Multilang application and syncing .po files

2018-06-19 Thread Maxim Ganetsky via Lazarus
19.06.2018 21:07, Tomáš Emresz via Lazarus пишет: Hello, úterý 19. června 2018, 16:14:01, napsal jste: 19.06.2018 16:26, Tomáš Emresz via Lazarus пишет: Hello, i was searching for, changing something and I don't understand. When I add force update po on next compile, change showed only

Re: [Lazarus] Multilang application and syncing .po files

2018-06-19 Thread Tomáš Emresz via Lazarus
Hello, úterý 19. června 2018, 16:14:01, napsal jste: > 19.06.2018 16:26, Tomáš Emresz via Lazarus пишет: >> Hello, >> >> i was searching for, changing something and I don't understand. When I >> add force update po on next compile, change showed only in .cs.po >> (main .po was not

Re: [Lazarus] Multilang application and syncing .po files

2018-06-19 Thread Maxim Ganetsky via Lazarus
19.06.2018 16:26, Tomáš Emresz via Lazarus пишет: > Hello, > > i was searching for, changing something and I don't understand. When I > add force update po on next compile, change showed only in .cs.po > (main .po was not changed). Therefore only .cs.po was outdated. > When I add

Re: [Lazarus] Multilang application and syncing .po files

2018-06-19 Thread Tomáš Emresz via Lazarus
Hello, i was searching for, changing something and I don't understand. When I add force update po on next compile, change showed only in .cs.po (main .po was not changed). When I add some resoucestrings to unit (not form), this RS is not somewhere (I also tried force update .po).

Re: [Lazarus] Multilang application and syncing .po files

2018-06-19 Thread Zbyněk Fiala via Lazarus
Hello Tomáš, I used this approach several times https://github.com/alrieckert/lazarus/tree/master/examples/translation and it worked. For example here: https://github.com/zbyna/Media-Stub-Kodi-Creator/blob/2373ec4ff24bf124cb244eab07772e3cc81bee47/unit1.pas#L22

Re: [Lazarus] Multilang application and syncing .po files

2018-06-19 Thread Carlos E. R. via Lazarus
On 2018-06-19 13:51, Maxim Ganetsky via Lazarus wrote: > > > 19.06.2018 14:37, Carlos E. R. via Lazarus пишет: >> On 2018-06-19 13:09, Tomáš Emresz via Lazarus wrote: >>> Hello, >>> >>> i have done generating .po files, could translate it through PoEdit, >>> but - when i add some RS or

Re: [Lazarus] Multilang application and syncing .po files

2018-06-19 Thread Maxim Ganetsky via Lazarus
19.06.2018 14:55, Tomáš Emresz via Lazarus пишет: > Hello, > > lazarus 1.8.5 (fixes) > Date : 2018-06-14 > FPC: 3.0.5 > SVN: 58067 > i386-win32-win32/win63 > > Running on Windows 10 CZ Pro. > > In some unit a have added LCLTranslator, setup i18n in project config > with right path, so

Re: [Lazarus] Multilang application and syncing .po files

2018-06-19 Thread Tomáš Emresz via Lazarus
Hello, lazarus 1.8.5 (fixes) Date : 2018-06-14 FPC: 3.0.5 SVN: 58067 i386-win32-win32/win63 Running on Windows 10 CZ Pro. In some unit a have added LCLTranslator, setup i18n in project config with right path, so components and resouceestrings showed in po. When I add new, there is in main

Re: [Lazarus] Multilang application and syncing .po files

2018-06-19 Thread Maxim Ganetsky via Lazarus
19.06.2018 14:37, Carlos E. R. via Lazarus пишет: > On 2018-06-19 13:09, Tomáš Emresz via Lazarus wrote: >> Hello, >> >> i have done generating .po files, could translate it through PoEdit, >> but - when i add some RS or component, Lazarus update only main .po >> file, not .cs.po etc. So

Re: [Lazarus] Multilang application and syncing .po files

2018-06-19 Thread Maxim Ganetsky via Lazarus
19.06.2018 14:09, Tomáš Emresz via Lazarus пишет: > Hello, > > i have done generating .po files, could translate it through PoEdit, > but - when i add some RS or component, Lazarus update only main .po > file, not .cs.po etc. So could Lazarus update these files too, or is > there any

Re: [Lazarus] Multilang application and syncing .po files

2018-06-19 Thread Tomáš Emresz via Lazarus
Hello, thanks for long answer, but - Lazarus generate only .po file ( and .lrs in output directory). There is no .pot file. T.E. úterý 19. června 2018, 13:37:14, napsal jste: > On 2018-06-19 13:09, Tomáš Emresz via Lazarus wrote: >> Hello, >> >> i have done generating .po files, could

[Lazarus] Multilang application and syncing .po files

2018-06-19 Thread Tomáš Emresz via Lazarus
Hello, i have done generating .po files, could translate it through PoEdit, but - when i add some RS or component, Lazarus update only main .po file, not .cs.po etc. So could Lazarus update these files too, or is there any merge tool for this ? Of course, I understand, that I must