Closed gryphonmyers closed 8 years ago
There might be indeed a problem, because I've tested only scenario when default Cockpit language is Polish and additional is English.
By the way: if you add a languageCode suffix to column names in spreadsheet file, these should be auto-mapped. For example:
productNo | name | name_en | description | description_en |
---|
Okay, the problem is that additional language codes are hardcoded to 'en'
but should be locale
.
So whole block should read
localizations.push({
code : locale,
output: '',
filter: filter,
column: undefined
});
Please confirm this is solution to the issue.
Yes that fixes the issue I was seeing. Want a PR or you got it?
Fixed in a27a487030419e1cac98930d5471dde608fd78d5. Thanks for bugreport.
I haven't tested whether this is merely a display issue or if it imports into the wrong rows as well