languagePreference

A user’s preference language

class DisconnectedUserLanguagePreferenceCollection()

Language pseudo-preference-set for a disconnected user.

Extends

app.models.base.languagePreference.LanguagePreferenceModel()

class LanguagePreferenceCollection()

Language Preference set of the user; there is a privacy setting which will only show an array of user preferences that are bound to the user

Extends

app.models.base.BaseCollection()

LanguagePreferenceCollection.app.models.languagePreference.LanguagePreferenceCollection.url
Type

string

LanguagePreferenceCollection.comparator()

Comparator sorts in ascending order

LanguagePreferenceCollection.getExplicitLanguages()

Comparator sorts in ascending order

LanguagePreferenceCollection.interface_comparator()

Comparator sorts in ascending order, but explicit goes last.

class LanguagePreferenceModel()

A user’s preference on how to handle a language: should it be translated, and to what? Frontend model for assembl.models.auth.UserLanguagePreference

Extends

app.models.base.BaseModel()

LanguagePreferenceModel.isLocale()
LanguagePreferenceModel.isTranslateTo()