Example Code

Below are some examples demonstrating how to use the library. Additional examples can be found in the test package.

Locale4jBundle

Extending Locale4jBundle This example demonstrates how to define a resource bundle that uses locale4j to load and manage translation data.

TMX 2.0 Format

Read a TMX File This example demonstrates how to read translation data from a file in TMX 2.0 format.
Write a TMX File This example demonstrates how to write translation data from a file in TMX 2.0 format.