multi language
multi language
Hello gnozal,
how can i make multilingual programs with pureFORM?
Thank you.
how can i make multilingual programs with pureFORM?
Thank you.
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: multi language
PureFORM may help you if you check 'Prepare multilanguage support' in Preferences.John(ny) wrote:Hello gnozal,
how can i make multilingual programs with pureFORM?
Thank you.
If enabled, the generated code uses a language array or procedure to prepare multilanguage support.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Re: multi language
Hello Gnozal,
thank you.
I have check it out.
At first the version with array.
All goes right, the software generate the default lang file.
All path are right (in Config an so on).
But if i edit the default .catalog file, the generatet EXE will not read the catalog.
The EXE will show the lang strings, that are inside the EXE (default values).
And an further question; can i change the default langfilename?
And how to chance the lang? Have i to save several files with several langs, and then copy it to the .catalog filename?
Thanks
thank you.
I have check it out.
At first the version with array.
All goes right, the software generate the default lang file.
All path are right (in Config an so on).
But if i edit the default .catalog file, the generatet EXE will not read the catalog.
The EXE will show the lang strings, that are inside the EXE (default values).
And an further question; can i change the default langfilename?
And how to chance the lang? Have i to save several files with several langs, and then copy it to the .catalog filename?
Thanks
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: multi language
PureFORM will not do everything for you, you still have to write some code !John(ny) wrote:... But if i edit the default .catalog file, the generatet EXE will not read the catalog.
The EXE will show the lang strings, that are inside the EXE (default values).
Use ReadLanguageFile(Catalog.s) somewhere in your code to load the language file, for example add 'ReadLanguageFile("Default.catalog")' to 'Program init' location in code infusion.
Translate the default file ("Default.catalog") to another language, rename it (like "German.catalog") and use ReadLanguageFile() to load it : ReadLanguageFile("German.catalog").John(ny) wrote:And an further question; can i change the default langfilename?
And how to chance the lang? Have i to save several files with several langs, and then copy it to the .catalog filename?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Re: multi language
Hello gnozal,
yes, that works really very fine.
Thank you / merci beaucoup.
And sorry, i have not seen the forest, because there are so many trees
yes, that works really very fine.
Thank you / merci beaucoup.
And sorry, i have not seen the forest, because there are so many trees

include Versions info
Hallo Gnozal,
i have some questions / suggestions for your very fine pureFORM.
1.) when starting the project (compile/run) with your tool, then in the purebasic (or the pureform) folder will generate the "pureform_codegeneration.exe"
o.k.
Is it possible, to generate to the same name like the projekt name? (This is not so important).
2.) In the codegeneration.exe is not any versions info, like "File Version....Produkt Version...Produkt Name...and so on".
Is ist possible to compile this inside the codegeneration.exe ? (yes, with the pureBASIC ide this is possible, i know).
And, of possible (Question 2) than perheps can define an ICON for the EXE?
Think about it.
Thank you.
i have some questions / suggestions for your very fine pureFORM.
1.) when starting the project (compile/run) with your tool, then in the purebasic (or the pureform) folder will generate the "pureform_codegeneration.exe"
o.k.
Is it possible, to generate to the same name like the projekt name? (This is not so important).
2.) In the codegeneration.exe is not any versions info, like "File Version....Produkt Version...Produkt Name...and so on".
Is ist possible to compile this inside the codegeneration.exe ? (yes, with the pureBASIC ide this is possible, i know).
And, of possible (Question 2) than perheps can define an ICON for the EXE?
Think about it.
Thank you.
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: include Versions info
Hi, why would you need these features ?John(ny) wrote:i have some questions / suggestions for your very fine pureFORM.
...
'Compile / Run' is only for testing the form in runtime condition.
No need for an icon or file info imho.
To generate the final executable, use the IDE or jaPBe.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Re: multi language
Hallo Gnozal,
thank you for your Feedback.
Yes, i know.
But i look for an possibility to use only ONE Tool to develop programs - best with pureFORM.
But there another reasons, where this is not (optimal) possible;
- no help future for the basic commands
- no way to debug, or single step, and so on...
At this time, i have work very good inside of PB (use almost your pureFORM), but i am look further for an way to develop more faster (like RAD).
Do you think i should test your Editor - use instead of the PB IDE?
Thanks
thank you for your Feedback.
Yes, i know.
But i look for an possibility to use only ONE Tool to develop programs - best with pureFORM.
But there another reasons, where this is not (optimal) possible;
- no help future for the basic commands
- no way to debug, or single step, and so on...
At this time, i have work very good inside of PB (use almost your pureFORM), but i am look further for an way to develop more faster (like RAD).
Do you think i should test your Editor - use instead of the PB IDE?
Thanks
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: multi language
PureFORM was designed to build forms, not to be a RAD.John(ny) wrote:But i look for an possibility to use only ONE Tool to develop programs - best with pureFORM.
No.John(ny) wrote:Do you think i should test your Editor - use instead of the PB IDE?
If you are happy / comfortable with the IDE, no need to change.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Re: multi language
Hello Gnozal,
i have come much further in developing my - if it will be ready in about some months - very big business programm.
I develop much time with your pureFORM, and i use your multi language (ML) support.
Actualy german, english and francaise/french.
But there are some point, that will not work well.
1.) it is not possible to edit in pureFORM your ML Code.
2.) the new language is only available after new programm start.
Is there is an easy way, to save the new variables of the new language in the array (lang array), so that the programm will show immediately the new language?
I have try to call your .....
....ReadLanguageFile(db_lang_filename) ; aktuelle Sprachdatei lesen...
....Sub, which is in "Programm init" Part, but it will not work.
I have to start the programm once again, then the Lang will show.
Thank you.
i have come much further in developing my - if it will be ready in about some months - very big business programm.
I develop much time with your pureFORM, and i use your multi language (ML) support.
Actualy german, english and francaise/french.
But there are some point, that will not work well.
1.) it is not possible to edit in pureFORM your ML Code.
2.) the new language is only available after new programm start.
Is there is an easy way, to save the new variables of the new language in the array (lang array), so that the programm will show immediately the new language?
I have try to call your .....
....ReadLanguageFile(db_lang_filename) ; aktuelle Sprachdatei lesen...
....Sub, which is in "Programm init" Part, but it will not work.
I have to start the programm once again, then the Lang will show.
Thank you.
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: multi language
Please keep in mind that PureFORM was designed to build forms, not to be a RAD. It will not handle everything for you.John(ny) wrote:i have come much further in developing my - if it will be ready in about some months - very big business programm.
I develop much time with your pureFORM, and i use your multi language (ML) support.
Actualy german, english and francaise/french.
But there are some point, that will not work well.
1.) it is not possible to edit in pureFORM your ML Code.
2.) the new language is only available after new programm start.
Indeed, the generated code doesn't take care of that.John(ny) wrote:Is there is an easy way, to save the new variables of the new language in the array (lang array), so that the programm will show immediately the new language?
After calling ReadLanguageFile(), you have to recreate all the windows / gadgets or use SetGadgetText() / SetWindowTitle() for each gadget and window actually displayed to change the gadget / window text to show the new language.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
News Problem: color
Hello Gnozal,
thank you.
New Problem;
i do not use any color librarys. I use only the PB inside tools.
Now, if i use with pureFORM an 3dFrame, the text of the frame will come in blue color.
Why???
How can i use black color (like all other gadgets), without ativating purecolor or any other?
Thanks
thank you.
New Problem;
i do not use any color librarys. I use only the PB inside tools.
Now, if i use with pureFORM an 3dFrame, the text of the frame will come in blue color.
Why???
How can i use black color (like all other gadgets), without ativating purecolor or any other?
Thanks
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: News Problem: color
?!John(ny) wrote:i do not use any color librarys. I use only the PB inside tools.
Now, if i use with pureFORM an 3dFrame, the text of the frame will come in blue color.
I don't have any text problems with Frame3D gadgets in PureFORM.
Check :
- 'Extra' tab in 'Gadget properties' for gadget text colors
- Default gadget colors in 'Preferences'
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Re: multi language
Hello Gnozal,
sometimes, words do not come easy
How can i show a picture here?
Thanks
sometimes, words do not come easy

How can i show a picture here?
Thanks
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: multi language
You may upload the picture to your web site (or a public site) and use the Img tags to display the pictures.John(ny) wrote:sometimes, words do not come easy
How can i show a picture here?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).