// [Modifications] - Universal languages presentation from quotation.php file.// Features.- Allows your customers to understand the quotation form in their proper language rather than remaining on a single language mixed with others (which results questionning from your customers).
// Affected files.- quotation.php
- main.php (each of them)
// Preparation of steps.- Make a backup of quotation.php file and all your included main.php files.
// Step 1.In quotation.php file,
find :
<b>Registered Name</b>
replace with :
<b>".$lang['registered_name']."</b>
Then, find :
Company</td>
replace with :
".$lang['company_name']."</td>
Then, find :
<b>Full Name</b>
replace with :
<b>".$lang['full_name']."</b>
Then, find :
Address</td>
replace with :
".$lang['address_field']."</td>
Then, find :
Telephone</td>
replace with :
".$lang['phone_number']."</td>
Then, find :
City</td>
replace with :
".$lang['iptc_city']."</td>
Then, find :
<b>Email</b>
replace with :
<b>".$lang['email']."</b>
Then, find :
State</td>
replace with :
".$lang['iptc_state']."</td>
Then, find :
Fax</td>
replace with :
".$lang['fax_number']."</td>
Then, find :
Country</td>
replace with :
".$lang['iptc_country']."</td>
Then, find :
Angebot per</td>
replace with :
".$lang['optional_fields']."</td>
Then, find :
checked> eMail
replace with :
checked> ".$lang['email']."
Then, find :
value=\"fax\"> Fax.
replace with :
value=\"fax\"> ".$lang['fax_number']."
Then, find :
value=\"post\"> Post
replace with :
value=\"post\"> ".$lang['postal_code']."
Then, find :
Telefon
replace with :
".$lang['phone_number']."
Then, find :
<b>Intended Usage</b>
replace with :
<b>".$lang['intended_usage']."</b>
Then, find :
Commercial<br>
replace with :
".$lang['commercial_order']."<br>
Then, find :
Personal<br>
replace with :
".$lang['personal_order']."<br>
Then, find :
<br>Short Description
replace with :
<br>".$lang['short_description']."
Then, find :
<b>Size Requirements</b><br>
replace with :
<b>".$lang['size_requirements']."</b><br>
Then, find :
<b>Image Placement</b>
replace with :
<b>".$lang['image_placement']."</b>
Then, find :
Editorial<br>
replace with :
".$lang['editorial_title']."<br>
Then, find :
Advertisement<br>
replace with :
".$lang['advertisement_title']."<br>
Then, find :
Other<br>
replace with :
".$lang['other_statement']."<br>
Then, find :
Composite
replace with :
".$lang['composite_title']."
Then, find :
Original
replace with :
".$lang['original_statement']."
Then, find :
<b>Media Name/Edition</b>
replace with :
<b>".$lang['media_name_edition']."</b>
Then, find :
<b>Distribution</b>
replace with :
<b>".$lang['distribution_title']."</b>
Then, find :
North America
replace with :
".$lang['country_north_america']."
Then, find :
Worldwide<br>
replace with :
".$lang['worldwide_title']."<br>
Then, find :
Specific Country
replace with :
".$lang['specific_country']."
Then, find :
<b>Usage duration</b>
replace with :
<b>".$lang['usage_duration']."</b>
Then, find :
1 Year Non-exclusive
replace with :
".$lang['year_exclusive']."
Then, find :
Unlimited
replace with :
".$lang['unlimited_statement']."
Then, find :
Other (specify below)
replace with :
".$lang['other_below']."
Then, find :
<b>Additional Comments</b>
replace with :
<b>".$lang['additional_comments']."</b>
// Step 2.Assuming you're using the english language (or simply included on the list - if not defaultly set) - then, in your lang/english/main.php file,
find :
?>
add
above :
//-------------------------------------------------------------
//--- Quotation form ------------------------------------------
//-------------------------------------------------------------
$lang['registered_name'] = "Registered name";
$lang['company_name'] = "Company name";
$lang['full_name'] = "Full name";
$lang['address_field'] = "Address";
$lang['phone_number'] = "Phone number";
$lang['fax_number'] = "Fax number";
$lang['postal_code'] = "Postal code";
$lang['optional_fields'] = "Optional fields";
$lang['intended_usage'] = "Intended usage";
$lang['commercial_order'] = "Commercial";
$lang['personal_order'] = "Personal";
$lang['short_description'] = "Short description";
$lang['size_requirements'] = "Size requirements";
$lang['image_placement'] = "Image placement";
$lang['editorial_title'] = "Editorial";
$lang['advertisement_title'] = "Advertisement";
$lang['other_statement'] = "Other";
$lang['composite_title'] = "Composite";
$lang['original_statement'] = "Original";
$lang['media_name_edition'] = "Media name / Edition";
$lang['distribution_title'] = "Distribution";
$lang['country_north_america'] = "North America";
$lang['worldwide_title'] = "Worldwide";
$lang['specific_country'] = "Specific country";
$lang['usage_duration'] = "Usage duration";
$lang['year_exclusive'] = "1 Year Non-exclusive"; // Specify the year time if the number showing is incorrect for your case.
$lang['unlimited_statement'] = "Unlimited";
$lang['other_below'] = "Other (specify below)";
$lang['additional_comments'] = "Additional comments";
// Modifications completed.- This completes the modifications of this MOD. Assuming you did backuped these two files - as mentionned on the top of these instructions - you can now test your quotation page to see if everything is in order.
// Additional notes.- If you did installed other MODs - related to additional user fields (such as :
full name, address, company name ect . . .) - make sure that you do not add these fields twice to avoid conflicts during the load up.