Websites of the major companies (tourist and logistics operators, air and cargo transportation, manufacturers, and distributors) are available in the languages of the countries where they run a business. One of the most visited sections in those websites are pages with interactive world maps. It clearly shows the geographical magnitude of the corporation, shows contact, statistic and any other information. It is convenient when each version of the multilingual website has a separate localized map.
If the main world map on your website is created and configured via Interactive HTML5 World Map plugin for WordPress, you can add it an unlimited amount of copies with the country names in any of the 23 languages. This is not difficult: the localization of one copy takes about 10 minutes.
In order to add an alternative language to a configured interactive map of the multilingual website, it is necessary to edit its CSV-file. This can be accomplished slowly (manually) or quickly:
The algorithm of the additional language addition to the world map consists of the following steps:
Download a ZIP-archive file of JSON file with a required language (in our example, it is Spanish). Extract the archive. Click the ‘Import’ button on the subsection ‘Maps’ of the ‘World Map’ section on the admin panel of the site. Select the JSON file from extracted ZIP-archive and press the ‘Open’ button. After the file is uploaded on the ‘Maps’ page, there will appear another map (in our case – ‘Mapa del mundo’). Let’s call it ‘Map #3’.
It is possible to the CSV file using online editor Google Sheets, OpenOffice Calc or Microsoft Excel software. We recommend using Google Sheets.
Navigate to the World Map section on the admin panel of the site. From the drop-down list ‘Select a map’ choose ‘Map #2’. Open the ‘Preview’ tab. If all the operations were accomplished successfully, then you will see the configured map of the world with the names of countries in the language you need.
Delete ‘Map #3’. To do so, navigate to the ‘Maps’ page of the ‘World Map’ sections and click ‘Delete’, which is located on the same level as the name of the map that will be deleted.
Thus, to add an additional language to the map of the world created on a multilingual site with the help of the Interactive HTML5 World Map plugin for WordPress, it is necessary to create a copy of the main map – ‘Map #2’. Then, download a ZIP archive with the JSON file with the required language and import it to the site, creating ‘Map #3’. After that, edit ‘Map #2’, by changing the contents of the column ‘name’ to the column ‘name’ from CSV ‘file Map #3’ and import the edited ‘Map #3’ file.
Via the described method, it is possible to change not only the language but also other information on the map – links, colors, images.