Page 1 of 1

SQLite and multi langage app help

Posted: Mon Jan 19, 2004 2:32 pm
by hteamspy
Hi everyone and happy new year.

I have a idea of project, under GPL, i'have done all my tech on paper and before beginning i have just 2 questions :

1 : When you use SQLite in your Pb project how do you install it when you distrib the project.

2 : Have you an easy example source of a multi langage app.

I have search on the forum but these 2 questions don't have response.

Thx for helping.

Spy

Posted: Mon Jan 19, 2004 3:21 pm
by El_Choni
1 : When you use SQLite in your Pb project how do you install it when you distrib the project.
You put sqlite.dll in the system directory or in the same directory as your executable.

Posted: Mon Jan 19, 2004 3:48 pm
by hteamspy
Ok, thx for this

And for multilangage

Posted: Tue Jan 20, 2004 9:15 am
by hteamspy
And for multilange unsing lng file how does it works ?

Does anyone have a tutorial on this ?

Thx for your help :oops:

Spy

Posted: Tue Jan 20, 2004 3:29 pm
by El_Choni
The PureBasic editor can be such example, I think (I don´t know if the source is still available). In your PureBasic installation there is a "Catalogs\" folder with the gadgets, menu text and so on in several languages. If you go to Preferences in the IDE, you can change the language, that is, the catalog file used by the editor to fill the gadget´s text. I think it´s a good example.

Posted: Tue Jan 20, 2004 9:36 pm
by Num3
Create a project using visual designer and enable the multi-language option on it...

It will create a .cat file with all the text ready for translation!

Then just copy paste it and rename, italian.cat, french.cat, etc...