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 addressbook, changing the locale will store the new locale and will modify sort keys and any locale specific data in the addressbook.

As a side effect, it's possible that changing the locale will cause stored vcards to change. Notifications for these changes can be caught with the bSqlVCardCallback provided to BookSqlite.full.

Parameters:

this

An BookSqlite

lc_collate

The new locale for the addressbook

cancellable

A Cancellable

Returns:

Whether the new locale was successfully set.