Removing languages from Candidate Space

Use this procedure to remove languages from the menu that will not be used by your candidates.

  1. Select candidatespace.html (src directory)
    or select welcome.html (CandidateSpace.zip).
  2. Search for this string:
    <ul id="languageMenu"
  3. Remove the <li> items for the languages you want to drop.

    For example, if Chinese is not required, remove this string:

    <li class="flagCN"><a href="#Zh"><span id="Zh">Chinese</span></a></li>
  4. In the same file search for this string:
    var hyte;
  5. Decrease the dimensions of both "hyte" settings by 18 times the number of languages you are removing.

    For example, assume you remove two languages and the current settings are

    var hyte;
    				if (window.ENVIRONMENT.enableTestingLanguage) {
    					hyte = "176";
    				} else {
    					hyte = "158";
    				}

    Decrease the new settings by 36, as follows:

    var hyte;
    				if (window.ENVIRONMENT.enableTestingLanguage) {
    					hyte = "140";
    				} else {
    					hyte = "122";
    				}