|
labels_url |
Top Previous Next |
|
Description:
labels_url defines the URL of the file that stores the customized labels information
Syntax:
string, full URL with http://
Example:
<param name="labels_url" value="http://servername/SpeedCheck_labels.php/aspx?language=xxxxxx">
xxxxxx = english, french, german or custom
Technical details: If you look at the PHP or ASPX source code, you will see the script actually takes a Query String parameter called "language": http://servername/SpeedCheck_labels.php?language=english
In our sample, you can set the query string to be: "french", "german" or "custom"
You can modify the source code to support your own language. Of course, basic PHP or ASPX skills are required. Our technical support does not support modified source code, modify source code at your own risk.
Note:
It is mandatory to define in the HTML
It is useful to use it for multilingual support. Disclaimer: Media Road Inc. DOES NOT guarantee your character set would be displayed correctly if you customize your own labels. Due to limitation of Java Applet and different types of Java Virtual Machines, we only support English, German and French with Unicode UTF-8 encoding.
When you edit SpeedCheck_labels.php or SpeedCheck_labels.aspx your text editor MUST support Unicode when saving the file. For example, using Macromedia Dreamweaver and Microsoft Visual Studio.
Labels File Format:
If you don't want dynamic content generated, you can save output as PLAIN-TEXT file such as SpeedCheck_labels.txt
<param name="labels_url" value="http://servername/SpeedCheck_labels.txt">
Labels Syntax: variable_name=[Your customized Text]
Output from script:
For example, if we access this from the web browser:
http://servername/SpeedCheck_labels.php?language=english
You will see this (VIEW SOURCE from your Internet Explorer):
label_size=Size: label_type=Type: label_iteration=Iteration: label_status=Status: button_clear=Clear button_report=Report button_start=Start Test button_stop=Stop txt_download=Download txt_upload=Upload txt_both=Both txt_ready=Ready txt_downloading=Downloading txt_uploading=Uploading txt_initializing=Initializing, please wait... txt_file_size_transferred=File size transferred txt_total_time_taken=Total time taken txt_throughput=Throughput txt_download_interrupted=Download was interrupted by user txt_upload_interrupted=Upload was interrupted by user txt_server_processing_file=Server is processing file stats_download_statistics=Download Statistics stats_upload_statistics=Upload Statistics stats_best_speed=Best Speed stats_worst_speed=Worst Speed stats_average_speed=Average speed stats_average_time_taken=Average time taken filesize_megabytes=MB filesize_bytes=bytes time_seconds=seconds time_milliseconds=milliseconds speed_kilobyte_per_second_short=KB/sec speed_megabyte_per_second_short=MB/sec speed_kilobit_per_second_short=Kbps speed_megabit_per_second_short=Mbps speed_kilobyte_per_second=Kilobyte-per-second speed_megabyte_per_second=Megabyte-per-second speed_kilobit_per_second=Kilobit-per-second speed_megabit_per_second=Megabit-per-second
|