Logo-small

3.4 Localisation

In this chapter we briefly explain the use of the Gettext package to translate a Pharo application in a native language. In an application you want to translate, all strings should be sent the #translated message. In Pharo Core, by default, #translated just return self (does nothing but returning the untranslated string).

To get translation effectively done, you need to install the Gettext extension package and proceed as described in the next sections.

Add a Note

Licensed under Creative Commons BY-NC-SA | Published using Pier |