---
title: Internationalization
taxonomy:
category: docs
process:
twig: true
never_cache_twig: true
---
## Multiple languages (localization)
Select2 supports displaying the messages in different languages, as well
as providing your own
custom messages
that can be displayed.
The language does not have to be defined when Select2 is being
initialized, but instead can be defined in the [lang]
attribute of any parent elements as [lang="es"]
.
dir
attribute is
set on the <select>
or any parents of it. You can also
initialize Select2 with dir: "rtl"
set.