multilanguage manager version 004

Developed or developing a new product in PureBasic? Tell the world about it.
Jeff74
User
User
Posts: 12
Joined: Sun Jun 04, 2006 7:58 pm
Location: France

multilanguage manager version 004

Post by Jeff74 »

Hello all ! :P

By trying to learn EGRID (thanks a lot Srod for that tool !) and the database Cheetah, I code a soft to manage all the traduction of your text labels in a database.

Image

in the ZIP file you will find the database linked to my program (see it if you want but be aware of bad manipulation) and some samples.

MULTILANGUE.zip
Image

this soft will allow you to :

- Manage 5 languages in the same time for your softs
- export in TXT files (one per language)
- Add/Erase traduction to your labels.

In my soft, I use direct access to the database CHEETAH to import the traduction; so no TXT files to manage (no bad version :P)

thanks in advance for your feedback ;

So good database to all !

Jeff
Last edited by Jeff74 on Sat Aug 25, 2007 7:28 pm, edited 3 times in total.
Jeff74
User
User
Posts: 12
Joined: Sun Jun 04, 2006 7:58 pm
Location: France

Post by Jeff74 »

Version 001

- Lots of test have been implemented
- integration of parameter information( language and last database)
- addition of a parameter option.

Note : to select english language click that button.

@+

JF
Jeff74
User
User
Posts: 12
Joined: Sun Jun 04, 2006 7:58 pm
Location: France

Post by Jeff74 »

version 2 in line, I corrected a bug to add a record or validate modifications.

@+

JF
mskuma
Enthusiast
Enthusiast
Posts: 573
Joined: Sat Dec 03, 2005 1:31 am
Location: Australia

Post by mskuma »

OK I'll kick off the discussion.. thanks Jeff74 for this.. I'm personally interested in multilingual interfaces. I've only had a very quick look but so far, here are a couple of intro comments.

(1) when the app starts, you have to specify the same dbf file multiple times - this seems unnecessary and might be annoying to some people - should be fixed.

(2) clicking on the tool icon seems to bring up an language interface switcher, but it seems to not do anything. Further, the tooltips are all in French which is fine, but I was thinking a multilingual app should itself be able to switch its own language interface (I though this is what the tool button would enable, but I could be mistaken).

Thanks.
Jeff74
User
User
Posts: 12
Joined: Sun Jun 04, 2006 7:58 pm
Location: France

Post by Jeff74 »

mskuma wrote: (1) when the app starts, you have to specify the same dbf file multiple times - this seems unnecessary and might be annoying to some people - should be fixed.
Fixed since V2 ; Last Dbb is always opened when you launch the pgm.
mskuma wrote: (2) clicking on the tool icon seems to bring up an language interface switcher, but it seems to not do anything. Further, the tooltips are all in French which is fine, but I was thinking a multilingual app should itself be able to switch its own language interface (I though this is what the tool button would enable, but I could be mistaken).
Fixed since V3 ; There is now a msg you have to restart the pgm to integrate modification of language.

Thanks for feedback

Jeff
mskuma
Enthusiast
Enthusiast
Posts: 573
Joined: Sat Dec 03, 2005 1:31 am
Location: Australia

Post by mskuma »

In V2 & V3 I still get the multiple request to specify the db file upon starting the app. Also tooltips are still in french after changing the lang (and restarting the app).
Jeff74
User
User
Posts: 12
Joined: Sun Jun 04, 2006 7:58 pm
Location: France

Post by Jeff74 »

Hum...

On vista no problem ; I tried on XP and I have the same pb I will check :roll:

I will come back

Jeff
Jeff74
User
User
Posts: 12
Joined: Sun Jun 04, 2006 7:58 pm
Location: France

Post by Jeff74 »

Version 4 ; Bug found to load/save parameters.

No it should be OK

Jeff
mskuma
Enthusiast
Enthusiast
Posts: 573
Joined: Sat Dec 03, 2005 1:31 am
Location: Australia

Post by mskuma »

Hi Jeff - yes I was on XP - thanks for your diligent checking. I don't see these problems now - thanks.
mskuma
Enthusiast
Enthusiast
Posts: 573
Joined: Sat Dec 03, 2005 1:31 am
Location: Australia

Post by mskuma »

Shouldn't the language text files be unicode (particularly the asian example)? Are you completing an example of how to use this? Seems like there is no PB code in the example folder.
Jeff74
User
User
Posts: 12
Joined: Sun Jun 04, 2006 7:58 pm
Location: France

Post by Jeff74 »

Hello,

I am working on it (unicode and display chinese caracter...). I will come back ASAP with a solution and example.

@+

Jeff
Jeff74
User
User
Posts: 12
Joined: Sun Jun 04, 2006 7:58 pm
Location: France

Post by Jeff74 »

I think I found a solution "UNICODE" + policy caracter "CYBERBIT"

http://ftp.netscape.com/pub/communicato ... s/windows/

I will check now the impact on my soft... :?

@+

Jeff
Post Reply