jetAudio
Installation
Instruction Manual
jetAudio Tricks
Pimp my jetAudio!
jetCast Webradio
Development Area
 - Language Dev.
 - Plugin Dev.
 - Control Dev.
 - Skin Dev.
The Future
Errors & Bugs
jetAudio Links
jetAudio Developement / Building an Language Pack for jetAudio

Many users around the word are waiting for different language packs ! If you want to build an jetAudio language pack,  read this before:

- You need Visual C++ to create an new Language Pack !
- Download the jetAudio language SDK here
- After you have created and tested the language pack, please pack it with winrar
  and upload this pack to the jetAudio Upload Area



HOWTO: Create Localized Resource DLLs for JetAudio
(The following procedures are for Visual C++ users)

If you want to modify English resources directly with resource editors (such as Visual Localizer or Resource Tuner), edit *.ENU files with the editor, then change the extension of the files. (refer to LangDef.txt)

* If you have already developed language pack previously, please check Changes.txt file before you continue.

1) Unzip download
JetAudioLDK.zip to any folder (for example, c:\JetAudioLDK)
2) Run Visual C++ 6.0
3) Open
JetAudioLang.dsw from Visual C++


<Picture 1>

 
4) You can find several Projects including
JetAudio_Res, JFACDRd_Res, etc. In this guide, we will show how to localize resouces for JetAudio_Res project only.
5) Select
JetAudio_Res
project from Workspace view.
 

<Picture 2>

6) From the Project menu, click Settings
 


<Picture 3>


7) In the Project Settings dialog box, select all projects by using Ctrl/Shift key.


<Picture 4>

8) In the Resources tab (Picture 4), change the preprocessor definitions AFX_TARG_ENU to

AFX_TARG_XXX, where XXX is
the a letter specifier for the language
.
For example, FRA for French.
For more information about language letter
specifier
, please refer to LangDef.txt file

NOTE: The preprocessor definitions are comma separated with no spaces between definitions


9) In the Language combo-box (Picture 4), select the language used in the resource.

10) You should change the name of your DLLs to identify them. Use language-specific file extensions to note the locale.
For example, if your language is French, the name of your DLL should be
JetAudio.FRA
Language-specific file extension is same with language letter defined in LangDef.txt file.


<Picture 5>

11) To do this, Select the Link tab from the Project settings dialog box. (Picture 5)
In the in the Settings For combo-box, highlight the configuration for which you want to change the DLL file name.
Make sure Category is set to General and specify the output file name in the edit box under Output File Name.
12) In the
ResourceView
workspace, open each folder and, with the CTRL key pressed, select all of English the resources in the project.
For example, your selections should include VS_VERSION_INFO for the Version and IDD_ABOUTBOX for the Dialog.


<Picture 6>
13) You can safely remove resources of other languages, but this is not optional.
Even if you don’t remove resources of other languages, they will not be included in DLL.
14) Select View - Properties menu (Picture 7), and set the language to the appropriate language. (Picture 8)
You should now have a complete set of resources for anther language.
The resources, however, must be translated.
 

<Picture 7>


<Picture 8>

15) Now you can translate Dialog, Menu, String Table resources The default font name of dialog boxes is "
MS Shell Dlg". Normally, you don't need to change the font name because "MS Shell Dlg" is not a real font, and Windows chooses the appropriate font for "MS Shell Dlg" automatically when running. However, it may be needed to specify the font explicitly for some languages. You can translate Version resource also, but DON'T change version number ! f you change version number, jetAudio may not find your DLL. jetAudio checks two left-most digits of version number. for example, if version of jetAudio is 5.1.x.x, your DLL's version should be 5.1.x.

16) Select Build - Batch Build menu,
then press Build to build your DLL.



17) Now you will have localized DLLs in the “
..\Binary\Release\” folder.
18) Just copy the DLLs to the folder JetAudio installed.
19) You can check if JetAudio could find your DLL from Properties – Display – Language dialog box.
20) If you want to make installation pack, please refer to the following registry key.
[HKEY_LOCAL_MACHINE/Software/COWON/Jet-Audio]

InstallPath_Main
" = "...."

The above registry stores install path of jetAudio.
Please make your installation pack to copy your DLLs by using the above registry key/value.
   

Google