DF_Language |
|||||||||||||||||||||||||
| Last update 7-apr-05 |
Info2000 web site: www.info2000.biz |
||||||||||||||||||||||||
Overview to DF_Language |
|||||||||||||||||||||||||
| DF_Language is set of dlls written under Visual Basic 6.0 SP5 that allows you to create multilanguage software in an easy way. | |||||||||||||||||||||||||
Components |
|||||||||||||||||||||||||
| DF_Language is composed by following pieces: | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||
Creating Multilanguage software |
|||||||||||||||||||||||||
|
Before proceeding you have create a backup of your entire Visual
Basic project: DF_Language will modify part of your source code! Open your Visual Basic project, jump to menu "Add-Ins" and select DF_Language. If DF_Language is not visible you may activate it by clicking on Add-in Manager and double clicking on DF_Language. Once you click, an interface should appear: typically you don't need to modify default values but it's better if get a look to the options. It's pretty important the "Project Name", since this is the unique key used later on for calling translations: be sure to use a different project name for each project you're going to put into same .lan file. Please note, .lan file can contain language dictionary for more than one project so, once again, it's vital to maintain an unique ID (name) for each project; i.e.: your project can be complex and made by interfaces, user control, dlls and so on. Back to the add-in main interface, you should now type the language used for original text hardcoded into your project: that means the language you used originally for writing your software. Now you may click on "Process project" and wait all parsing ends: time required is also proportional to size of your project. Right at this time your lan file has been created and you should edit the language file for adding new languages than original included into your project: for doing that use Language Manager Once you are ready for deploying don't forget to include: DF_Language.dll and .lan file(s) Please note your source code now received automatically a new .bas file named "DF_Language_shared.bas", you have to reference your project to DF_Language.dll to and you have to add manually at least following code:
once into your software as first row to be executed a line like that: DF_Language_InitialSetup App.Path & "\" & App.EXEName & ".lan" where: App.Path & "\" & App.EXEName & ".lan" is the path of .lan file reachable at run time from your software. |
|||||||||||||||||||||||||
Objects info |
|||||||||||||||||||||||||
|
|||||||||||||||||||||||||
Distribution |
|||||||||||||||||||||||||
| DF_Language.dll is royalty free, you may include only DF_Language.dll. Lan files generated by DF_Language are your property. | |||||||||||||||||||||||||