New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filter: i18n #1234
Comments
@denaldhushi |
Do you have any update about that issue? |
@denaldhushi |
@denaldhushi // our internal example
const messages: OptI18nLanguage = {
en: {
// ...
filter: {
contains: 'Contains',
eq: 'Equals',
ne: 'Not equals',
start: 'Starts with',
end: 'Ends with',
after: 'After',
afterEq: 'After or Equal',
before: 'Before',
beforeEq: 'Before or Equal',
apply: 'Apply',
clear: 'Clear',
selectAll: 'Select All',
emptyValue: 'Empty Value',
},
},
} |
Hi there,
I need the filter to be in the multiple languages, not only in English, as it is right now.
I tried to add i18n in filter in this way:
file: packages/toast-ui.grid/src/i18n/index.ts
file: packages/toast-ui.grid/src/helper/filter.ts
file: packages/toast-ui.grid/types/options.d.ts
And it looks is working correct here..
but when I build it with:
lerna run build --scope tui-grid
and I add the generated
tui-grid.js
file in my project, values that I added are in file, but the filters in UI are empty.Can you see it when I am wrong or I have missing something please ?
The text was updated successfully, but these errors were encountered: