Lazarus
Using the Lazarus IDE => General => Topic started by: lainz on July 04, 2019, 04:34:21 pm
-
Hi, I work with several projects and in all of them trunk Lazarus when updates Po files it removes the translations. Seems that patching of Po files is not working.
Anyone can confirm? Thanks.
-
Same happens with Lazarus v2.0
Entries in the po files are deleted. Though they are still used by the program when running.
-
Thanks, it should be reported to bugtracker, but I need to create a test application, I don't know if they will accept LazPaint, I think they should, since is a full application that shows the problem of removed translations :)
-
Indeed it is a case study.
How would you make a test app? Create it with older Lazarus?
-
Thanks, it should be reported to bugtracker, but I need to create a test application, I don't know if they will accept LazPaint, I think they should, since is a full application that shows the problem of removed translations :)
Not likely, they'll complain LazPaint is too complex to be debugged for such a single feature error.
I think you should create a simple small sample that shows the regression between older and newer versions of Lazarus.
-
[...] I think they should, since is a full application that shows the problem of removed translations :)
Rather too full for an example, isn't it :D
-
For now I installed a version 1.8.4 of Lazarus and updated the language files by compiling.
-
Maybe this is the age old issue that the translations need a FULL rebuild first? (fpc -B , not a simple compile, but a full build)
I would not be surprised, because I get bitten by that every so often...
-
Maybe this is the age old issue that the translations need a FULL rebuild first? (fpc -B , not a simple compile, but a full build)
I would not be surprised, because I get bitten by that every so often...
I know that a full build is needed to generate all the forms and resourcestrings into the po file. But when doing a normal build hitting the play button the IDE must not remove translations from the .po file.
-
Indeed, we are talking about entries being removed from the po file. That should not happen.
-
SOLVED!
Please see here
https://forum.lazarus.freepascal.org/index.php/topic,51062.msg390081.html#msg390081