I was able to create a demo. I’ve removed the node_modules to keep it lighter. You can download the app the here https://we.tl/t-1LpxwYblEn
Generally, everything is just set up in the component.ts file. I’ve made a full set (language + culture) for de-DE
import { Component } from '@angular/core';
import Handsontable from 'handsontable';
import 'handsontable/languages/de-DE';
import numbro from "numbro";
import languages from "numbro/dist/languages.min";
numbro.registerLanguage(languages['de-DE']);
numbro.setLanguage('de-DE')
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
language = 'de-DE';
languages = Handsontable.languages.getLanguagesDictionaries();
title = 'demo';
tableSettings: {};
ngOnInit(){
this.tableSettings = {
data: [[3.90,5,5],[6,7,8]],
rowHeights: 30,
contextMenu: true,
language: 'de-DE',
columns: [{
type: 'numeric',
numericFormat: {
pattern: '0,0.00 $',
culture: 'de-DE' // use this for EUR (German),
// more cultures available on http://numbrojs.com/languages.html
}
}, {}, {}]
}
}
}