All texts internally used can be modified through an i18n object. They should be made suited to the language of your site.


Here is a list of default texts. "%s" will be replaced a slide or page number.

prevPrevious slide
nextNext slide
firstGo to first slide
lastGo to last slide
slideXGo to slide %s
pageXGo to page %s
playStart autoplay
pausePause autoplay

All texts are currently used for accessibility enhancement.

Modifying i18n

Pass a new object to options as i18n. The given object will be merged to defaults.

new Splide( '#splide', {
	i18n: {
		prev: 'Previous slide',
		next: 'Next slide',
} ).mount();
User's Guide