Open kashcode opened 9 years ago
@turbosasa yeah good point, it would be nice to be able to override the prev/next, sort controls, etc.
@josebalius for translation I locally create provider where I define all words and in config block I override defaults
.config(function (ngReactGridI18nProvider) {
angular.extend(ngReactGridI18nProvider.defaults, {
page: 'Lapa',
of: 'no',
showing: 'Attēlojam ',
records: 'ierakstiem',
show: 'Rādīt',
entries: 'ierakstus',
prev: '<',
first: '|<',
last: '>|',
next: '>',
no_records_found: 'Nav neviena ieraksta',
search: 'Meklēt...',
loading: 'Noteik datu ielāde...'
});
});
I try prepare PR for this.
This will be supported in https://github.com/josebalius/react-grid however we will have to think of a way to make the Angular adapter pass in these properties.
It will be very nice if there will be some translation options.