# Glossaries

## Overview

A glossary is a collection of pairs of strings. Each pair string is composed of a source string corresponding to the base language (e.g. English) and a translation string, corresponding to the target language (e.g. French). For example:

    "Main Window" = "Fenêtre principale";
    "Choose" = "Choisir";

## Usage

iLocalize uses the glossaries for the following operations:

- Suggest translation for the selected string
- Automatically translate one or several files
- Export files from the project to a glossary for external translation

## Format

Format | Extension | Read | Write | File Scoped | Description
--- | --- | --- | --- | --- | ---
TMX | tmx | • | • | •* | Native iLocalize 4 glossary format (Translation Memory eXchange format)
XLIFF | xlf | • | • | • | XML Localization Interchange File Format
TXML | txml | • | • | •* | Wordfast XML format
Strings | strings | • | • |  | Mac OS X .strings format
AppleGlot | ad, wg | • |  | • | AppleGlot format
iLocalize 3 | ilg | • |  |  | Native format for iLocalize version 3

Notes:

- File Scoped: this column indicates if the glossary format supports file scoping. This means that the pairs of strings are grouped per file and iLocalize can use that information to translate the designated file. Formats that are not scoped by file can still be used to update a project but in this case iLocalize will try to translate all the selected files with all the glossary strings.
- *: this indicates that the format can be scoped by file only if specific custom attributes are specified in the file. Use iLocalize to export such file first so the custom file attribute is correctly written in the file.