SQLite and multi langage app help

Just starting out? Need help? Post your questions and find answers here.
hteamspy
User
User
Posts: 12
Joined: Mon May 05, 2003 4:54 pm
Location: Aix en provence
Contact:

SQLite and multi langage app help

Post 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
El_Choni
TailBite Expert
TailBite Expert
Posts: 1007
Joined: Fri Apr 25, 2003 6:09 pm
Location: Spain

Post 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.
El_Choni
hteamspy
User
User
Posts: 12
Joined: Mon May 05, 2003 4:54 pm
Location: Aix en provence
Contact:

Post by hteamspy »

Ok, thx for this
hteamspy
User
User
Posts: 12
Joined: Mon May 05, 2003 4:54 pm
Location: Aix en provence
Contact:

And for multilangage

Post 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
..:: Win Xp Pro : XP 2600 + Barton, Gforce 4 Ti 4200, 1,5 Go ram, SB Live 5.1 :: Linux Debian : Athlon Xp 1600 +, 512 Mo ram + Kyro II ::..
El_Choni
TailBite Expert
TailBite Expert
Posts: 1007
Joined: Fri Apr 25, 2003 6:09 pm
Location: Spain

Post 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.
El_Choni
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post 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...
Post Reply