Before we get to multiple language support, let's overview editing a single language. In the Smartway administrative area, select Languages from the menu on the left. You should see a table listing of the languages that you have uploaded (English is supplied by default). All languages supported by the ISO 639 standard are supported, with the following minor deviations:
* The three-letter code for Interlingue is in2, not ine, to avoid a clash with Indo-European (Other).
* Where two three- or two-letter codes are given for a single language in the standard, only the first (in alphabetical order) is recognized. For example, Spanish has two three-letter codes: esl and spa. The webJobs™ language database contains only esl.
There is a difference between a language being present/uploaded and being enabled. If a language appears in the table, you have uploaded it to your webJobs™ installation and it is being detected successfully. If a language is enabled, it is available for your site visitors to select.
Editing Language Files over the Web
To edit a language, click Edit next to its entry in the language listing. You will then see two dropdown boxes: one listing the language files for error messages, and the other listing language files for normal text. Each file roughly corresponds to a page or form. To edit a file, select it from the appropriate dropdown box and click the Edit button underneath. You will then see a list of all of the text snippets contained in that file, along with rough descriptions of what each snippet is used for. Make changes as desired, and click Modify Language File to save those changes.
Creating a New Language Directory
To create a new language directory so that your users can view the site in that language, copy the default eng directory and all of its contents to a new directory in smartway/conf/lang (you may have to download the directory and re-upload it with a new name). The name of the new directory should be the three- or two-letter code that corresponds to the new language (for example, the code for Spanish is esl. You can then proceed to edit the language files as desired, as described in the previous section. Once you've changed the files, click Enable next to the language to make it visible and usable to the users of your site.