Home > @uniformdev/canvas > LocaleClient

LocaleClient class

API client to enable managing project locales

Signature:

Extends: ApiClient

Constructors

<table><thead><tr><th>

Constructor

</th><th>

Modifiers

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

(constructor)(options)

</td><td>

</td><td>

Constructs a new instance of the LocaleClient class

</td></tr> </tbody></table>

Methods

<table><thead><tr><th>

Method

</th><th>

Modifiers

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

get(options)

</td><td>

</td><td>

Fetches all locales for a project

</td></tr> <tr><td>

remove(body)

</td><td>

</td><td>

Deletes a locale

</td></tr> <tr><td>

upsert(body)

</td><td>

</td><td>

Updates or creates (based on id) a locale

</td></tr> </tbody></table>