Important alert: (current site time 7/16/2013 3:01:31 AM EDT)
 

winzip icon

VB Language Pack Generator 1.20 *UPDATED*

Email
Submitted on: 3/5/2003 7:18:22 PM
By: Frederico Machado 
Level: Beginner
User Rating: By 60 Users
Compatibility: VB 6.0
Views: 23339
author picture
 
     VB Language Pack Generator is a Powerful and complete application for you to quickly generate language packs to your VB projects. You need to load a project, and translate your labels, menus, buttons, SSTabs, etc... It is able to translate control arrays and indexed menus too. It can load large captions or tooltips from the binary (.FRX) file of the form. The example, how to use the class module to load language packs is heavly commented. I am thinking in implement it and make it a profissional tool for VB programmers and make it shareware. Vote for me if you like it. Feel free for give me some help to implement it. Thanks!! UPDATED: http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=61578&lngWId=1

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 13 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Beginner category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments

3/5/2003 7:28:11 PMFrederico Machado

IT DOESN'T USE ANY OCX.
TO USE THIS TOOL WITH YOUR PROJECT, YOU ONLY HAVE TO ADD ONE CLASS MODULE TO YOUR APP AND NOTHING ELSE.
NO OCX AND NO DLL. JUST GREAT!!
(If this comment was disrespectful, please report it.)

 
3/5/2003 9:12:43 PMMatías Radzinski

Sunds cool !!!!!!!
(If this comment was disrespectful, please report it.)

 
3/5/2003 9:23:12 PMFrederico Machado

Thanks!!

Vote please!!
(If this comment was disrespectful, please report it.)

 
3/5/2003 10:36:00 PMAdrian Doherty

very good 5 stars :)
(If this comment was disrespectful, please report it.)

 
3/6/2003 12:30:42 AMBPeek

Here is my 5
(If this comment was disrespectful, please report it.)

 
3/6/2003 2:00:01 AMSebastian Mares

WORD!
(If this comment was disrespectful, please report it.)

 
3/6/2003 2:15:26 AMBehrooz Sangani

really improved!
(If this comment was disrespectful, please report it.)

 
3/6/2003 2:50:37 AMSteve

Nice, but unfortunately it does not work with any third party controls ... just the standard controls are supported ... However - 4 from me.
(If this comment was disrespectful, please report it.)

 
3/6/2003 4:49:31 AMFrederico Machado

I will make it works with third party
controls too. You will see.
But just in
next versions. :)
I have to figure out how I will make that. ;)

Thanks!! Keep
voting!!
(If this comment was disrespectful, please report it.)

 
3/6/2003 4:52:02 AMFrederico Machado

But You can't say it isn't a GREAT peace of code.
It is a very good automation tool to quickly translate your projects.
And it works great!!
Keep voting please!!
(If this comment was disrespectful, please report it.)

 
3/6/2003 5:39:03 AMAgung Nugroho

So you changed your photo huh? Must be a consultant now hahahaha...
(If this comment was disrespectful, please report it.)

 
3/6/2003 6:34:38 AMFrederico Machado

hahaha..
No, no!! I am a programmer.
I make corporative programs, it is fine.
http://www.secullum.com.br
I made that page. I work there. :)
(If this comment was disrespectful, please report it.)

 
3/6/2003 6:55:22 AM

Hi! U R the inventor of this!! oh nice and a very unique inventry of coding world...if u want then can mail me for any problem...i will try with my best. With a best wishes for the comming future..dont mind i m going to see ur other 11 submission
(If this comment was disrespectful, please report it.)

 
3/6/2003 7:52:44 AMTom Pydeski

The next trick will be to have it scan the code and somehow pull out the captions and text that are set programatically. (i.e. label.caption=""). My programs usually toggle captions and that would need to be addressed for the language pack to be truly comprehensive.

(If this comment was disrespectful, please report it.)

 
3/6/2003 7:55:13 AMTom Pydeski

btw...i gave you because this is exceptional work!

(If this comment was disrespectful, please report it.)

 
3/6/2003 8:45:43 AMUlli

Very good, but one little drawback :-(

A Frame without caption upsets it and it returns (in my special case) the FormatString property of an MSFlexgrid inside the Frame.
(If this comment was disrespectful, please report it.)

 
3/6/2003 9:34:07 AMAlain GUERIN

EXECELENT, GENIAL !!!
Thancks for sharing, 5 globes !
(If this comment was disrespectful, please report it.)

 
3/6/2003 11:04:26 AMDaniel W. Elkins

Very nice! I'm impressed, good job, keep up the good work. 5 *'s from me. :)
(If this comment was disrespectful, please report it.)

 
3/6/2003 2:16:42 PM

Excelente, 5 globos
Antonio
(If this comment was disrespectful, please report it.)

 
3/6/2003 10:28:26 PM

Hi Frederico Machado,
I can not send you an email personally.
Thanks a lot! I have downloaded & tested it. Somethings new and the code is well commented but the main features (as I think) is still not done yet.
That is:
1. How can I re-edit the language pack which was generated (Supported that I closed the VB Language Pack Generator after previous editing the language package).
2. The default language pack should be generated as a default so there is no need to generate file english.pak again.

Anyways, I have gave you 5 gobals in PSC.



Keep up the good work!

TuanHai

(If this comment was disrespectful, please report it.)

 
3/6/2003 10:41:10 PMFrederico Machado

Hi!

About re-editing the code, it means open existing language packs to Edit, I will implement in the next version I think.
And about making a default language pack, you can load a project, choose a file to your default language pack, such as english.lpk or default.lpk, and DO NOT translate a single control. Leave all "New caption" and "New Tooltip" blank, like default when you load a project.
Just generate the language pack and you will have your default pack.
Thanks! Keep voting please!
(If this comment was disrespectful, please report it.)

 
3/6/2003 10:44:26 PMFrederico Machado

If you leave the "New caption" or "New Tooltip" blank, than the packer uses the default one to generate the language pack.
But I will make an option just to do that default pack.
Look for new versions soon.

Best Regards,
Fredi
(If this comment was disrespectful, please report it.)

 
3/7/2003 7:03:01 PMHoward D. Hull Jr.

Very simple, straight-forward and easy to use. Extremly useful for anyone looking to implement multiple languages in a program without using resource files.

Keep it coming.
(If this comment was disrespectful, please report it.)

 
3/7/2003 10:02:14 PMRoger Gilchrist

fantastic 5*. Just wanted to know is there a reason you mix Public and Global in your declarations?
(If this comment was disrespectful, please report it.)

 
3/9/2003 7:39:15 AMChris 101

5 stars from me.
THANKS agian for the GREAT job, looking forward to the next version.
(If this comment was disrespectful, please report it.)

 
3/11/2003 4:46:05 PM

Aqui vai um elogio na tua língua :)
Bom código :) 5 xtrelas
(If this comment was disrespectful, please report it.)

 
3/13/2003 5:36:33 AM

Hi Frederico Machado,
Why I can contact you via email?
What is problem with the mail server?
(If this comment was disrespectful, please report it.)

 
3/23/2003 11:51:34 AMTom Hendriks

I can only say one thing.

This is a work of art.
(If this comment was disrespectful, please report it.)

 
3/23/2003 9:25:51 PMFrederico Machado

Thanks Tom!!
(If this comment was disrespectful, please report it.)

 
3/30/2003 9:17:29 AMThiago Santos Silva Ribeiro de Souza

Ae cara... ta da ora seu programa... e é o unico que eu achei desse tipo... muito louco...
Vou por um código aqui no planetsourcecode sobre Auto-Update sabe, para o programa se atualizar sozinho... posso usar seu language pack né? Te coloco uns créditos... naum tem problema né???

Falow...
(If this comment was disrespectful, please report it.)

 
3/30/2003 6:46:27 PMFrederico Machado

Sem problema nenhum Thiago.

Obrigado pelos elogios!

Abração!
(If this comment was disrespectful, please report it.)

 
5/14/2003 6:34:13 AMRichard Gendron

Hi there great code, I gave it 5 Globes.

Like mentioned before A reload of a language pack would be essentials to continue adding/modifying new strings would be a necessity since you are never really finished with a project.

Tks, rg

(If this comment was disrespectful, please report it.)

 
5/24/2003 1:42:02 PMCarlos Mendez

Hi, i just want to say that this idea is awesome
But i found some bugs.....!
When you have one or may controls inside a container doesnt' work for contained controls, i already tried to modify code for third party controls or VB custom controls (wich have tooltip property and caption property) and works, but in contained controls I Can't
can you check this....

Anyway , good code...!

(If this comment was disrespectful, please report it.)

 
6/10/2003 5:55:35 AMRichard Gendron

Hi again,

Any news when you can adjust the program to re-load a previously saved language pack for editing ?.

tks,rg
(If this comment was disrespectful, please report it.)

 
8/4/2003 10:55:34 AMgerry mc donnell

superb..
(If this comment was disrespectful, please report it.)

 
8/4/2003 4:27:23 PMgerry mc donnell

will you add support to translate the root nodes of a treeview? or any1 know how to do that?
(If this comment was disrespectful, please report it.)

 
10/10/2003 5:51:52 AMRana Hossain

Great, but I think I would prefer somehow so the control names are not in the lpk file. just a thought.. 5 globes from me..
(If this comment was disrespectful, please report it.)

 
9/22/2004 4:44:57 AMcyw

where to download all the lpk files?
I cannot find it on my harddisk for other languages. thank you
(If this comment was disrespectful, please report it.)

 
9/22/2004 10:03:04 AMFrederico Machado

This application helps you to CREATE a language pack to your projects, so you won't find other lpk in the zip, just the english and portuguese samples.

Maybe I will continue this project and make an auto-translate using some web translators..

Best Regards...

Frederico Machado
(If this comment was disrespectful, please report it.)

 
9/23/2004 5:55:46 AMcyw

hey i just gave it a 5 globes. I understand how it fully works. The lpk files are just like txt files whereby it will correspond accordingly.

Now the problem is, is there a shortcut to export all the forms, controls in a VB project to the lpk file?

I think it is quite tedious to go thru each single form individually assuming it is a very huge project.
u can contact me on yihwen@gmail.com
(If this comment was disrespectful, please report it.)

 
3/18/2005 8:11:29 AM

Outstanding! 5 Globes!
Looking forward to the next update!
(If this comment was disrespectful, please report it.)

 
3/21/2005 7:32:52 AMKoRnDragon

absolutly amazing. but do you think theres any chance of you making the .lpk into a .dll instead? to hide the control names from the most notepad users.
(If this comment was disrespectful, please report it.)

 
7/7/2005 1:52:23 PMFrederico Machado

Hello!

I released a new version of the VB Language Pack Generator.

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=61 578&lngWId=1

(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.