Page 1 of 1

multilanguage manager version 004

Posted: Thu Aug 23, 2007 9:49 pm
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

Posted: Fri Aug 24, 2007 8:18 pm
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

Posted: Fri Aug 24, 2007 11:32 pm
by Jeff74
version 2 in line, I corrected a bug to add a record or validate modifications.

@+

JF

Posted: Sat Aug 25, 2007 4:41 am
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.

Posted: Sat Aug 25, 2007 10:58 am
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

Posted: Sat Aug 25, 2007 12:35 pm
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).

Posted: Sat Aug 25, 2007 4:42 pm
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

Posted: Sat Aug 25, 2007 7:28 pm
by Jeff74
Version 4 ; Bug found to load/save parameters.

No it should be OK

Jeff

Posted: Sun Aug 26, 2007 12:51 am
by mskuma
Hi Jeff - yes I was on XP - thanks for your diligent checking. I don't see these problems now - thanks.

Posted: Sun Aug 26, 2007 1:23 am
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.

Posted: Sun Aug 26, 2007 7:17 pm
by Jeff74
Hello,

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

@+

Jeff

Posted: Sun Aug 26, 2007 8:03 pm
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