Preface

This document is part of the Campcaster project, Copyright © 2004 Media Development Loan Fund, under the GNU GPL.

Scope

This document describes the process of adding a new language to the Campcaster Studio localization. It is written for developers.

Introduction

Campcaster Studio (a.k.a. the C++ GUI) uses IBM’s ICU library for localization. This library supports a fallback mechanism: if the locale is set to es_GT (Guatemalan Spanish), it first tries to read the es_GT table for localized strings; if there is no such table, it tries the es table; and if that is missing, too, it reads the root table.
These tables are stored as UTF-8 text files (with Unix line breaks, i.e., a single 0x0A character at the end of each line) in the products/gLiveSupport/var directory with a txt extension: e.g., es_GT.txt. Before these files can be used by the program, they need to be converted into binary resource bundle files using ICU’s genrb program (which is in usr/bin, and is called by the Makefile).

Modifying an existing language

Adding a new language