# Localizations []({{ site.repo }}/blob/master/docs/_i18n/{{ site.lang }}/documentation/localizations.md)
---
| Name |
Parameter |
Default |
| formatLoadingMessage |
- |
'Loading, please wait…' |
| formatRecordsPerPage |
pageNumber |
'%s records per page' |
| formatShowingRows |
pageFrom, pageTo, totalRows |
'Showing %s to %s of %s rows' |
| formatSearch |
- |
'Search' |
| formatNoMatches |
- |
'No matching records found' |
| formatRefresh |
- |
'Refresh' |
| formatToggle |
- |
'Toggle' |
| formatColumns |
- |
'Columns' |
| formatAllRows |
- |
'All' |
---
**PS:**
We can import [all locale files](https://github.com/wenzhixin/bootstrap-table/tree/master/src/locale) what you need:
```html
...
```
And then use JavaScript to switch locale:
```js
$.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['en-US']);
// $.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['zh-CN']);
// ...
```
Or use data attributes to set locale for table:
```html
```
Or use JavaScript to set locale for table:
```js
$('table').bootstrapTable({locale:'en-US'});
```