L20n by example

1. Hello World

This is an entity called hello. Entities are containers for information. You use entities to identify, store, and recall information to be used in the software's UI.

In its simplest form, an entity stores a value; here it's a string, Hello, World!. Most of the entities you will work with in L20n will look similar to this. Some will be more complex, have more than one value variant, or use expressions to select the right variant depending on the circumstances.

How does the information stored in an entity end up on the user's screen and in the UI? L20n operates in self-contained instances called "contexts". Each context stores information about languages available to it, downloaded resource files and all entities in these resource files. Software developers can create contexts and query them for values of specific entities.

hello = Hello, World!