[ci skip] Add missing setting locale code snippet.

This is for 3 Internationalizing your Application of i18n.md.

Missing the code as metentioned in 2.3, setting locale.

Without this, the example to add config/locales/pirate.yml will not work.