# WL Locations

In order to manage the complexities of languages and locations, it's important these settings are kept up to date and assigned correctly. This section powers everything from the location links generated on the locations modal to the languages related contexts.

#### Adding a language 

Under the Waterlogic Navigation, click WL Locations item.

[![lang-cmp.png](http://websitedocs.waterlogic.com/uploads/images/gallery/2020-12/scaled-1680-/lang-cmp.png)](http://websitedocs.waterlogic.com/uploads/images/gallery/2020-12/lang-cmp.png)

*Figure 1*

Add a new language by clicking 'Add Item'

[![add-lang-item.png](http://websitedocs.waterlogic.com/uploads/images/gallery/2020-12/scaled-1680-/add-lang-item.png)](http://websitedocs.waterlogic.com/uploads/images/gallery/2020-12/add-lang-item.png)

*Figure 2*

*Table 1*

<table border="1" id="bkmrk-setting-description-" style="height: 86px;" width="803"><tbody><tr><td class="align-center" style="width: 267px;">**Option**</td><td class="align-center" style="width: 267px;">**Description**</td><td class="align-center" style="width: 268px;">**Default**</td></tr><tr><td style="width: 267px;">Language name</td><td style="width: 267px;">Name of the language</td><td style="width: 268px;"> </td></tr><tr><td style="width: 267px;">Language code</td><td style="width: 267px;">ISO lang code i.e. EN, FR, AR, ES </td><td style="width: 268px;"> </td></tr></tbody></table>

#### Add a location 

Add a Waterlogic location that relates new Waterlogic websites &amp; legacy sites

[![add-loc.png](http://websitedocs.waterlogic.com/uploads/images/gallery/2020-12/scaled-1680-/add-loc.png)](http://websitedocs.waterlogic.com/uploads/images/gallery/2020-12/add-loc.png)

*Figure 3*

[![add-loc-fields.png](http://websitedocs.waterlogic.com/uploads/images/gallery/2020-12/scaled-1680-/add-loc-fields.png)](http://websitedocs.waterlogic.com/uploads/images/gallery/2020-12/add-loc-fields.png)

*Figure 4*

*Table 2*

<table border="1" id="bkmrk-option-description-d"><tbody><tr><td class="align-center" style="width: 267px;">**Option**</td><td class="align-center" style="width: 267px;">**Description**</td><td class="align-center" style="width: 268px;">**Default**</td></tr><tr><td style="width: 267px;">Location name</td><td style="width: 267px;">Name of the location</td><td style="width: 268px;"> </td></tr><tr><td style="width: 267px;">Language</td><td style="width: 267px;">Select a language from the dropdown. Languages are selected from the languages added in the previous table</td><td style="width: 268px;"> </td></tr><tr><td style="width: 267px;">Country code</td><td style="width: 267px;">ISO country code i.e. GB, US, etc</td><td style="width: 268px;"> </td></tr><tr><td style="width: 267px;">Locale </td><td style="width: 267px;">The locale of the country language entered as lang\_COUTRY ie. en\_GB, es\_ES, fr\_BE</td><td style="width: 268px;"> </td></tr><tr><td style="width: 267px;">Context key </td><td style="width: 267px;">Select the context key of the website and relates to this Language/ Location </td><td style="width: 268px;"> </td></tr><tr><td style="width: 267px;">Site url</td><td style="width: 267px;">Full URL of the website including any subdomians </td><td style="width: 268px;"> </td></tr><tr><td style="width: 267px;">Legacy URL</td><td style="width: 267px;">If the new website has not been built you can point the language to a legacy website </td><td style="width: 268px;"> </td></tr></tbody></table>

The above settings are used to generate some of the following components:

[![loc-list-f.png](http://websitedocs.waterlogic.com/uploads/images/gallery/2020-12/scaled-1680-/loc-list-f.png)](http://websitedocs.waterlogic.com/uploads/images/gallery/2020-12/loc-list-f.png)

[![Loc-modal.png](http://websitedocs.waterlogic.com/uploads/images/gallery/2020-12/scaled-1680-/Loc-modal.png)](http://websitedocs.waterlogic.com/uploads/images/gallery/2020-12/Loc-modal.png)