Internal
If constructed without an application, will use the default language. Intended for use in unit tests only.
Add translations for a string which will be displayed to the user.
Gets a list of all languages with at least one translation.
Checks if we have any translations in the specified language.
Get the translation of the specified key, replacing placeholders with the arguments specified.
Simple internationalization module which supports placeholders. See TranslatableStrings for a description of how this module works and how plugins should add translations.