LanguageHelper

A helper for language

getLanguages

Gets all selected languages

Parameters

project
String

Returns

Array
List of language names

setLanguages

Sets all languages

Parameters

project
String
languages
Array

Returns

Promise
Promise

getAllLocalizedPropertySets

Gets localised sets of properties for a Content object

Parameters

project
String
environment
String
content
Content

Returns

Promise
Properties

getLanguageOptions

Gets all languages

Parameters

Returns

Array
List of language names