PebbleOS v4.45.0-223-gf3212a729
Loading...
Searching...
No Matches
language_pack.h File Reference
#include <stdint.h>
#include <pbl/i18n/i18n.h>

Functions

void language_pack_set_resource (uint32_t resource_id)
 Select the system resource holding the translation catalog.
 
void language_pack_enable (bool enable)
 Use or stop using the selected translation catalog.
 
bool language_pack_get_info (uint8_t slot, struct pbl_i18n_catalog_info *info)
 Read the metadata of an installed pack without changing the language.
 
bool language_pack_has_fonts (uint8_t slot)
 Check whether a pack carries at least one valid font, with or without a translation.
 
bool language_pack_remove (uint8_t slot)
 Remove an installed pack, falling back to English if it was selected.
 
const char * language_pack_install_begin (const char *filename)
 Resolve the file a PutBytes file transfer writes to.
 
void language_pack_install_end (bool success)
 Finish a transfer started with language_pack_install_begin().