Closed mingodad closed 2 years ago
Hello Domingo.
Oooops + aaaargh indeed (and I dont understand why).
Many thanks to note it, I will fix it tonight.
About tools/i18n/msei18n.prj nothing was done there (by me), I will jump into it to see what is wrong.
Fre;D
Hello. All should be fixed by commit https://github.com/mse-org/mseide-msegui/commit/1d218395758959efa1c96c5a869a1d3e565a08c8
( I dont really understand why there was problems, the only fix was to add "-B" parameter for all project options.)
About the project /mseide-msegui/tools/i18n/msei18n it compiles but I did not check if all is working but it should be ok. Note that Martin did not totally terminate that msei18n project, for internalization better to use all the "Potools" projects.
Many thanks for your attention.
Fre;D
Re-hello.
Imho it is a problem with fpc. It seems that if you dont use the "-B" parameter, the compiler dont take care about the "-dmse_dynpo" parameter.
So, to resume, each time that a define is added or changed (for example "-dmse_dynpo"), you must re-compile the application with the "-B" parameter otherwise fpc will ignore it.
Fre;D
Re-hello.
apps/i18ndemo/i18ndemo.prj build but fail at runtime with: Can not load lang unit "liblangi18ndemo_[fr,de].so No such file or directory
i18ndemo needs lang-libraries that must be compiled before. The idea of Martin for mse-i18n is to use a lang-library that has all the captions of a language + custom layout for that language with other widgets if needed.
Please take a look at explanation in README.TXT:
- How to run i18ndemo
( 3 years ago I jumped into that i18ndemo but lot of things must be fixed and I never try to run it again with last fpc releases ).
Fre;D
I've been trying to follow the readme as you've pointed out but that is a lot confusing with no explanation about what is going on and why we need to do all of that voodoo magic and all my attempts failed.
How to run i18ndemo
*******************
- Start MSEide.
- 'Project'-'Open'-'yourdirectory/msegui/apps/i18ndemo/i18ndemo.prj'.
- 'Project'-'Make' to create the rsj files.
- 'Project'-'Open'-'yourdirectory/msegui/tools/i18n/msei18n.prj'.
- 'Target'-'Continue'.
In MSEi18n:
- Adjust 'Settings'-'Configure MSEi18n'-'${MSEDIR}' and ${COMPILER}.
- 'Open'-'yourdirectory/msegui/apps/i18ndemo/i18ndemo.trp'
- 'Make'.
- Close message window.
- Close MSEi18n.
- 'Project'-'Open'-'yourdirectory/msegui/apps/i18ndemo/i18ndemo.prj'.
- 'Target'-'Continue'.
Any way thank you for your great work and effort !
Hum, about "How to run i18ndemo", I agree it is absolutely not clear. Also how to create the trp-lang-libraries is "very" complicated to understand, also how to run-load it.
Imho, it is good if you want to protect the lang-data or need a "kaliedoscope" program and each 'trp" library is a plugin ...
No more noise so I close the topic.
tools/POtools/POdemo/podemo.prj
tools/POtools/MOdemo/modemo.prj
tools/i18n/msei18n.prj
apps/i18ndemo/i18ndemo.prj build but fail at runtime with: