set_locale


Description:

public bool set_locale (string lc_collate, Cancellable? cancellable = null) throws Error

Relocalizes any locale specific data in the specified new lc_collate locale.

The lc_collate locale setting is stored and remembered on subsequent accesses of the cache, changing the locale will store the new locale and will modify sort keys and any locale specific data in the cache.

As a side effect, it's possible that changing the locale will cause stored vCard-s to change.

Parameters:

this

An BookCache

lc_collate

The new locale for the cache

cancellable

optional Cancellable object, or null

Returns:

Whether the new locale was successfully set.