Translations:Manual:Messages API/1/en

can be used in the code through the $2 class and its associated methods.