| 1 |
## Internationalization (i18n) |
| 2 |
|
| 3 |
Select2 supports multiple languages by simply including the right language JS |
| 4 |
file (`select2_locale_it.js`, `select2_locale_nl.js`, etc.) after `select2.js`. |
| 5 |
|
| 6 |
Looking for a specific language? Just check if it is already available from here: |
| 7 |
https://github.com/ericevenchick/trainstats/tree/master/web/select2-3.5.4 |
| 8 |
|
| 9 |
In case it exists, download it and copy it in this **i18n** folder. |
| 10 |
The file name must be built as `select2_locale_[LANG].js`. |
| 11 |
|
| 12 |
Missing a language? Just copy `select2_locale_en.js.template` from the parent folder, |
| 13 |
translate it and push it in this folder with the right name. |
| 14 |
|