add i18n to examples

previously committed to master (#361), now to trunk