💡
Some of the translations are available for the PRO version
Adding i18n
ReactGrid has a few optional text labels that you could replace. All of the available translations are defined in
TextLabels interface. You can create an object, and then pass it to labels
property.
return (
	<ReactGrid
    {...props}
    labels={{
        copyLabel: 'Copy me!',
        pasteLabel: 'Paste me!',
        cutLabel: 'Cut me!',
    }}
	/>
);Locale inside cell templates
Some cell templates (NumberCell, DateCell,
TimeCell) contain inside optional format field. This field uses
Intl object of ECMAScript Internationalization API (opens in a new tab).
We suggest formatting cells content via mentioned API.