You are here: Host Yourself » Developers

Developers Guide

Incorporating the service into other web sites

The Host Yourself Network supports multiple hosts grouped into sharing hubs.

Some examples of sharing hubs:

I can provide you with everything you need to create your own sharing hub. This includes:

  1. MyDiskServer customised to match your web site (icon and loading splash screen).
  2. A CGI script which will automatically display active hosts on your hub.

If you would like to incorporate a sharing hub into your web site please email webmaster@hostyourself.net

Creating new language files

Launch MyDiskServer and notice the language option on the menu bar.

Languages can be added to this menu bar by creating properties files containing the text to be displayed.

The properties files can be found here:

%USERPROFILE%\Application Data\Sun\Java\Deployment\cache\javaws\http\Dhostyourself.net\P80\DMmydiskserver\config

The file Lang_en.properties contains all the english language text strings.

There are two parts to each text string; a key and a value separated by an equals symbol. For example:

informationTitle=Information:

To create a new language, copy the Lang_en.properties file and rename it to match your country code. Now go through the strings and modify the right hand side of each equals symbol.

If you require additional characters you must use the unicode value. For example:

To display รก you must enter \u00E To force a new line enter \n

The example string above in spanish should read:

informationTitle=Informaci\u00F3n

Depending on the language, inserting unicode escapes such as above might be time consuming.

You could try a language conversion toolkit such as the Open Language Tools.

A template file to aid translation of the MyDisk.co.uk web site is available here.

Please send new language files to newlanguage@hostyourself.net. Feel free to add your name to the aboutText item referencing you for the translation. I will unlock all the extras, including the plugins, in return for providing me with new languages.



Google
 
Web forum.hostyourself.net
hostyourself.net portforward.com