Localization (i18n) not available for inputs/buttons on the grid filtering dialog
Description
Localization (i18n) not available for inputs/buttons on the grid filtering dialog, for example "value" (null text for inputs), "AND", "OR", "RESET" and "CLOSE".
- igniteui-angular version: 6.1.4
- browser: anything
Steps to reproduce
Please see the attached image.
Result
No way to localize some text on the filter dialog.
Expected result
Text on the filter dialog can be localized.
Attachments
@gdayori we are waiting for runtime localization feature of Angular to be implemented in order to use it.
This is the issue in the angular repository, and as I see they are currently working on it (5 day comment), the runtime part is done without the the compliler part yet.
@bkulov please start working on this Issue from Monday.
I know the pipe makes the translation but how can I change the locale from "en-US" to another. the locale must be declared in the HTML as attribute?. thank you in advance
@juancarlosbaezpozos Note that this feature is still in development. Angular have some tools to provide localization but only for client applications and not for components. So we are going to implement a temporary solution for the time being.
As for the LOCALE_ID - it's Angular DI token providing the current application locale. If you provide Angular CLI localizations to your application you could provide it in the command line ng serve --configuration=fr. Or you could provide it into the providers array of ngModule, Component, etc. like this providers: [ { provide: LOCALE_ID, useValue: 'fr' } ],.
For more info take a look at the following article. Note that we will be using only the DI token and not the whole Angular localization process. Once done we will provide an extensive documentation with samples how the localization could be done. https://angular.io/guide/i18n
@bkulov do we consider this issue as completed?
@zdrawku Not yet. We're working on a separate repo containing the localized string resources for JA and JP. When it's done I'll close this issue.
This is the documentation we have for the localization: https://www.infragistics.com/products/ignite-ui-angular/angular/components/localization.html