Translating programme ! 
Author Message
 Translating programme !

I`m making a translating app in VB5.0 where the user can choose which
language he wants to use (app works against SQL),and then the form is
loaded in the app where I want to change all the controls, captions and
sofort.Anyone got an idea on how to get started ? Any help appreciated !

TIA/Wolf



Mon, 04 Sep 2000 03:00:00 GMT
 Translating programme !

I thought you are suppose to use resource files that way if you want to
change the text in the program you just load the resource with "no" impact
on performance or applicaiton size.  Someone correct me if I am wrong.

Scott.

Quote:

>I would suggest two ways, use whichever you feel is simpler.

>Write the app and then copy it to all the languages you want to use,
>and then translate the captions, then add a startup that calls the
>program which has the language that you want to use. This is easy but
>the file size become the app size times the number of languages.

>Another way is to give variable names to all the caption properties
>and then assign the variables to the language file you want to use.
>This would be, I believe the easiest solution, which I think I will
>try on something I am working on. You could also change the language
>in the middle of using the program, by running a different language
>variable file.

>Let me know how you are doing, and good luck.



>>I`m making a translating app in VB5.0 where the user can choose which
>>language he wants to use (app works against SQL),and then the form is
>>loaded in the app where I want to change all the controls, captions and
>>sofort.Anyone got an idea on how to get started ? Any help appreciated !

>>TIA/Wolf



Mon, 04 Sep 2000 03:00:00 GMT
 Translating programme !

I would suggest two ways, use whichever you feel is simpler.

Write the app and then copy it to all the languages you want to use,
and then translate the captions, then add a startup that calls the
program which has the language that you want to use. This is easy but
the file size become the app size times the number of languages.

Another way is to give variable names to all the caption properties
and then assign the variables to the language file you want to use.
This would be, I believe the easiest solution, which I think I will
try on something I am working on. You could also change the language
in the middle of using the program, by running a different language
variable file.

Let me know how you are doing, and good luck.



Quote:
>I`m making a translating app in VB5.0 where the user can choose which
>language he wants to use (app works against SQL),and then the form is
>loaded in the app where I want to change all the controls, captions and
>sofort.Anyone got an idea on how to get started ? Any help appreciated !

>TIA/Wolf



Tue, 05 Sep 2000 03:00:00 GMT
 Translating programme !

Hi! Here comes adverti{*filter*}t :-)

You must be german (and sofort).
There might be no place good for you to get startet, because:

1.) there is 1 comm. programm alredy on the market (expensive DM500!!)
2.) there will be a SW tool ready in 2 month.... (german and of cause to be
tranl.)
-> not only for translating, but for corrections, formating, etc...
You might be my first "customer".....  :-)))))
This tools will NOT give a language selection, but will translate the whole app
in "one piece" -> new copy (performance!!!).

If you want to do it by yourself: You have to interpret the code and find
the strings to be translated. Best way to store them is a database. Best way
to do corr. and trans. is to export to Textfile and read back.

To interpret you have to split the lines into words and strings.
By these words you can store different strings with different keys.
You can also find and store the comments that way.

There is a lot to implement. Just look at the code of a frm with
a grid in it. You also have to "kill" SQL - querys and Fonts.

By the way... Be sure you run the first writeback test on a copy of a
projekt...
I didnt and had to restore :-(  LOL (s. happens)

Using recource files:

I think (*) that the idea with the racource files is not good
because:
- the performance is hit by that.
-while developing you dont see the strings (ex. MsgBoxes). I did that in one
projekt and it made trouble.

(*) My personal opinion!!!! I hope nobody gets mad at me....

Michael Patron




Tue, 05 Sep 2000 03:00:00 GMT
 Translating programme !

To answer: It depends what you want to do. I was thinking that the
underlying data was in one language, as he was querying a SQL DB. In
those type of cases, you just want the user interface to change
language, and the easy way is to change all the captions (and tool tip
items) etc  etc.

If you want to work in the native language of the area, then I think
you are right, and must do something else with resource files. I'm not
sure what, as most work I do is with DB, where the underlying data is
not multi-lingual (Names, tel numbers, address, cities, etc.), and it
is just the user interface which has to change:
Example: Surname to Nom de famille



Quote:
>I thought you are suppose to use resource files that way if you want to
>change the text in the program you just load the resource with "no" impact
>on performance or applicaiton size.  Someone correct me if I am wrong.

>Scott.


>>I would suggest two ways, use whichever you feel is simpler.

>>Write the app and then copy it to all the languages you want to use,
>>and then translate the captions, then add a startup that calls the
>>program which has the language that you want to use. This is easy but
>>the file size become the app size times the number of languages.

>>Another way is to give variable names to all the caption properties
>>and then assign the variables to the language file you want to use.
>>This would be, I believe the easiest solution, which I think I will
>>try on something I am working on. You could also change the language
>>in the middle of using the program, by running a different language
>>variable file.

>>Let me know how you are doing, and good luck.



>>>I`m making a translating app in VB5.0 where the user can choose which
>>>language he wants to use (app works against SQL),and then the form is
>>>loaded in the app where I want to change all the controls, captions and
>>>sofort.Anyone got an idea on how to get started ? Any help appreciated !

>>>TIA/Wolf



Wed, 06 Sep 2000 03:00:00 GMT
 
 [ 5 post ] 

 Relevant Pages 

1. 13805-WA-Downtown Seattle - L-Delphi-Windows-C-C-Programmer

2. execute other programme from SQL Server

3. HOW DO YOU PROGRAMME TOOLBAR BUTTONS ??

4. Création de lien vers d'autre programme?

5. 23067-FL-Jacksonville-ORACLE-FOCUS-Crystal-Reports-Programmer Analyst

6. Help Desk Programme

7. Mit C++ Paket (VC++ 5.0) auch DOS Programme?

8. Installer program\Programme d'installation

9. A question about doing a programme with db-library

10. Project/Programme Managers, Telecomms industry *LONDON*

11. Sub Programme Manager, Treasury Department, Permanent

12. 7905-TX-Dallas-C-C++-Windows NT-SQL-ORACLE-Delphi-Programmer/Analyst


 
Powered by phpBB® Forum Software