L20n by example

5. Entity References

Sometimes it may be useful to reference one entity from another. This generally helps to keep certain translations consistent across the interface and makes maintenance easier.

It is also particularly handy for keeping branding separated from the rest of the translations, so that it can be changed easily when needed, e.g. during the build process of the application.

In l20n you can use the same { and } syntax to interpolate other entities by their identifier.

brandName = Loki installing = Installing { brandName }. menu-save = Save help-menu-save = Click "{ menu-save }" to save the file.