How to use function setTitle($title,$locale)

Hi,
long time not seen,
I would to know what a value has to be $locale, if I want to set title.
I know that $title has to be the title as String but what kind of value is $locale ???
Could you give me an example?

Kind regards,
Peter

Hi @pitertennis_paco,

$locale should be a 5-character locale code of the form xx_YY – see registry/locales.xml for the list of supported locales.

Regards,
Alec Smecher
Public Knowledge Project Team