Developer guide

Getting started

A conceptual overview and instructions on how to add angular-gettext to your application. Start here.

Next steps

Installing

Add angular-gettext to your project.

Annotating strings

Different ways to annotate strings.

Extracting strings

Extracting strings into a gettext template.

Translating

Translating your strings into different languages.

Compiling

Adding translated strings to your application.

Configuring

Setting the active language, debug mode.

Advanced topics

Annotating in JavaScript code

Making strings in your source code translatable.

Settings strings

Manually define strings in the catalog.

Lazy-loading languages

Load language strings only when they are needed.

Custom annotations

Extract translations from custom attributes.

Translate params

Separate implementation details from translations.

API Reference

angular-gettext

API reference for the client-side library.